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

Différence entre versions

De MappingDoc
(Page créée avec « If the destination library doesn't exist, it will be created by MAPDUPFMT. »)
(Mise à jour pour être en accord avec la nouvelle version de la source de la page)
 
Ligne 1 : Ligne 1 :
 +
<languages/>
 
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.
 
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.
  

Version actuelle datée du 14 juin 2019 à 14:38

Autres langues :
English • ‎français

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:

If the destination library doesn't exist, it will be created by MAPDUPFMT.