OPALE - 10.0 - KB - 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. »)
(Page créée avec « Note: »)
Ligne 25 : Ligne 25 :
 
   
 
   
  
Remarque :  
+
Note:  
  
 
Si la bibliothèque de destination n'existe pas, elle sera créée par MAPDUPFMT.
 
Si la bibliothèque de destination n'existe pas, elle sera créée par MAPDUPFMT.

Version du 3 juin 2019 à 13:35

This allows you to copy all the files of a Mapping template to another library, for instance, when working with a test environment and a production one.

To copy a format into another IBM i:

  • Copy the format into a library only used for transferring files
  • Transfer the library to the other IBM i
  • Put the restored library on line and at the top of the list by typing ADDLIBLE LIB(TRANSFERT) POSITION(*FIRST)
  • Copy the format into the production library

Interactive mode: in option 3 Managing Mapping Formats

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

  • Destination library

MAPDUPFMT command

  • Destination Library
  • Mapping Name: Name of the mapping format to copy
  • Sequence: Type the sequence number of the mapping format to copy

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.


Note:

Si la bibliothèque de destination n'existe pas, elle sera créée par MAPDUPFMT.