Rational Developer for System z, Version 7.6

Création d'une instance

Vous créez une instance depuis la vue Explorateur de designs de la perspective Design de votre plan de travail.

  1. Dans la vue Explorateur de designs, sélectionnez un référentiel ouvert (icône référentiel ouvert).
  2. Faites un clic droit sur la ligne du référentiel, sur une ligne d'entité ou d'instance et sélectionnez. dans le menu contextuel, le choix Nouveau, puis l'entité dont vous souhaitez créer une instance (ex : Rubrique Pac ou Programme Pac). Ce choix ouvre un assistant de création.
  3. Remplissez les zones de cet assistant.
  4. In the Program, Screen, Data Structure and Dialog creation wizard, a Derive check box is also displayed. It enables you to create a derived instance which will not contain any design but only a link to a referenced instance you specify in the <Entity to derive> field. From this derived instance, you will be able to generate the referenced instance without duplicating its design. You must select one of the two derivation types:
    • Library substitution, available on Programs, Screens, Data Structures (for the generation of the Copybooks) and Dialogs (for the generation of the error messages). In the derived instance, you will then be able to generate the code of the referenced instance from a different library, without duplicating the instance's design.
    • Source inheritance, which enables you to generate the referenced Program or Screen which includes specific code ; the Cobol source (i.e. the generated code and the specific code) of the referenced instance becomes the generated code in the derived instance. You can then add specific code to it. In turn, the derived instance can become the referenced instance for a new derived instance and the same process applies.
  5. Si vous sélectionnez la case à cocher Ouvrir l'éditeur après la création, l'éditeur de l'instance s'ouvrira automatiquement, après la création, sur l'onglet Vue d'ensemble. De là, vous pourrez accéder à tous les autres onglets de l'éditeur et spécifier toutes les caractéristiques de l'instance.
  6. Cliquez sur Terminer.
Résultats
La nouvelle instance s'affiche alors sous la branche de l'entité correspondante dans le référentiel, rangée alphabétiquement parmi les instances déjà présentes.

Conditions d'utilisation | Commentaires en retour

Ce centre de documentation utilise la technologie Eclipse. (http://www.eclipse.org)