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

Différence entre versions

De MappingDoc
(Page créée avec « * Destination library »)
(Mise à jour pour être en accord avec la nouvelle version de la source de la page)
 
(6 révisions intermédiaires par un autre utilisateur non affichées)
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.
  
Ligne 14 : Ligne 15 :
 
* Destination library
 
* Destination library
  
'''Commande MAPDUPFMT'''
+
'''MAPDUPFMT command'''
  
 
* Destination Library
 
* Destination Library
* Mapping Name : Nom du format mapping à copier
+
* Mapping Name: Name of the mapping format to copy
* Séquence : Renseigner le numéro de la séquence du format mapping à copier
+
* Sequence: Type the sequence number of the mapping format to copy
  
Autre paramètre :
+
Other parameter:
  
* Résultat : A utiliser uniquement dans un CL. Déclarer une variable d'une longueur d'un caractère alphanumérique. Le programme retourne Y (Yes) ou N (No) pour vous informer que la copie s'est bien déroulée ou non.
+
* 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 :  
+
Note:  
  
Si la bibliothèque de destination n'existe pas, elle sera créée par MAPDUPFMT.
+
If the destination library doesn't exist, it will be created by MAPDUPFMT.

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.