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

Différence entre versions

De MappingDoc
(Page créée avec « Define the following parameter by typing 3 in front of the template: »)
(Page créée avec « * Destination library »)
Ligne 12 : Ligne 12 :
 
Define the following parameter by typing 3 in front of the template:
 
Define the following parameter by typing 3 in front of the template:
  
* Bibliothèque de destination
+
* Destination library
  
 
'''Commande MAPDUPFMT'''
 
'''Commande MAPDUPFMT'''

Version du 3 juin 2019 à 13:31

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

Commande MAPDUPFMT

  • Destination Library
  • Mapping Name : Nom du format mapping à copier
  • Séquence : Renseigner le numéro de la séquence du format mapping à copier

Autre paramètre :

  • 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.


Remarque :

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