OPALE - 10.0 - Duplicating a Mapping format

MAPDUPFMT

De MappingDoc
Cette page est une version traduite de la page OPALE:10.0:Dupliquer un format Mapping: MAPDUPFMT et la traduction est complétée à 100 %.

Autres langues :
English • ‎français

This command duplicates a Mapping format in another library, this is useful to populate test and production environments.

If you need to copy a format onto another IBM i, you will need to:

  • Copy the format in a Library, use it only to transfer files
  • Transfer the library onto another IBM i
  • Place the restored library in line and at the top of the list by typing ADDLIBLE LIB(TRANSFER) POSITION(*FIRST)
  • Copy the format in the production library


Interactive mode: Option 3 Managing Mapping formats

Define the following parameter by typing 3 in front of the format:

  • Destination library


MAPDUPFMT command

  • Destination Library
  • Mapping Name: Name of the mapping format to duplicate
  • Sequence: Enter the number of the mapping format sequence to duplicate


Other parameter:

  • Result: Only to be used in a CL. Type a variable of one alphanumeric character. The program will send back Y (Yes) or N (No) to tell you if the copy was successful or not.


Note: If the destination library does not exist the MAPDUPFMT command will create one.