OPALE - 10.0 - Duplicating a Mapping format
MAPDUPFMT
De MappingDoc
Révision datée du 6 juin 2019 à 11:35 par Alestoquoi (discussion | contributions) (Page créée avec « * 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 if the copy was successful or not. »)
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 if the copy was successful or not.
Remarque : Si la bibliothèque de destination n'existe pas, elle sera créée par la commande MAPDUPFMT.