OPALE - 10.0 - Dupliquer un format Mapping - MAPDUPFMT/en

Différence entre versions

De MappingDoc
 
Ligne 29 : Ligne 29 :
 
   
 
   
  
Note: If the destination library does not exist the MAPDUPFMT will create one.
+
Note: If the destination library does not exist the MAPDUPFMT command will create one.

Version actuelle datée du 6 juin 2019 à 11:41

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.