OPALE - 10.0 - Duplicating a Mapping format

MAPDUPFMT

De MappingDoc
Révision datée du 6 juin 2019 à 11:30 par Alestoquoi (discussion | contributions) (Page créée avec « Define the following parameter by typing 3 in front of the format: »)
Autres langues :
English • ‎français

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:

  • Bibliothèque de destination


Commande MAPDUPFMT

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


Autre paramètre :

  • Résultat : A utiliser uniquement dans un CL. Déclarez 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 la commande MAPDUPFMT.