OPALE - 10.0 - Dupliquer un format Mapping - MAPDUPFMT/en
Différence entre versions
De MappingDoc
(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. ») |
|||
(2 révisions intermédiaires par le même utilisateur non affichées) | |||
Ligne 26 : | Ligne 26 : | ||
Other parameter: | 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. | + | * 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. |
Version actuelle datée du 6 juin 2019 à 11:41
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.