Once you have defined the necessary entities, you are ready to use the ARZOS DDL Manager to generate a PSBGEN statement for the PSB.
The first step is to access the Edit window for the PSB entity type and select the entity defining the PSB that you want to create. If you are using the horizontal mode, multiple entities can be selected to generate multiple PSBGEN statements. Once the entity has been selected (displayed in the vertical mode or tagged in the horizontal mode), the OPTIONS.DDLIMS command string will access the DDL Generation window as shown in the following illustration:
SIZE-----------ARZOS DDL MANAGER FOR IMS - 1 ENTITY SELECTED----------------MIN MAINTAIN UTILS PROFILE HELP ENTER PSB SPECIFICS: SAVE OUTPUT? ===> Y (Y OR N) SUBMIT BATCH? ===> N (Y OR N) EDIT OUTPUT? ===> Y (Y OR N) EDIT JCL? ===> Y (Y OR N) SUBMIT GEN? ===> N (Y OR N) DDL USAGE? ===> IMS DDL COMMENTS? ===> Y (Y OR N) DBDS? ===> N (Y OR N) INCLUDE ACBGEN?===> Y (Y OR N) SEQUENTIAL OR PARTIONED OUTPUT DATASET: DATASET NAME ===> GENERATE (TEST) DISPOSITION ===> SHR (MOD OR SHR) LOAD LIB ===>
The DDL Generation window is used to generate a PSBGEN statement for a PSB using the information from the selected PSB entity and any associated/related entities.
The input fields and switches of the ARZOS DDL Generation window for PSBs are described in the following table:
|
Field |
Enter |
|---|---|
|
Save Output |
Y-If you want to save the generated syntax N-If you do not want to save the generated syntax Note: If the statement is to be saved, a data set name must be specified. |
|
Submit Batch |
Y-If you want to generate the PSBGEN syntax in batch or online N-If you do not want to generate the PSBGEN syntax in batch or online |
|
Edit Output |
Y-To edit the generated PSBGEN syntax N-If you do not want to edit the PSBGEN syntax Note: If set to Y, the generated syntax will be displayed in an ISPF edit session. |
|
Edit JCL |
Y-If you want to edit the JCL that is used to generate the syntax in batch N-If you do not want to edit the JCL that is used to generate the syntax in batch Note: If set to Y, the DDL-generation JCL will be displayed in an ISPF edit session. The job can be submitted after editing by typing SUBMIT on the command line. |
|
Submit GEN |
Y-If you want job steps added to the JCL that will generate and link PSB control blocks (batch mode only) N-If you do not want job steps added to the JCL that will generate and link PSB control blocks (batch mode only) |
|
DDL Usage |
IMS |
|
DDL Comments |
Y-If you want a comment block containing the PSB's key attributes, a brief description, the user ID and the current date and time included in the generated syntax N-If you do not want a comment block containing the PSB's key attributes, a brief description, the user ID and the current date and time included in the generated syntax |
|
DBDs |
Y-If you want to generate DBDGEN statements for any DBD definitions that are related to the selected PCB(s) N-If you do not want to generate DBDGEN statements for any DBD definitions that are related to the selected PCB(s) Note: If a Y is specified, the DBDGEN statements will be added to (and executed with) the PSBGEN statements. |
|
Include ACBGEN |
Y-If you want to include a step to execute the ACB maintenance facility N-If you do not want to include a step to execute the ACB maintenance facility Note: This option is available only in batch and only when the SUBMIT GEN is set to Y. |
|
Dataset Name |
The name of the data set in which the PSBGEN syntax is to be stored Note: Either a sequential data set or a partitioned data set and member can be specified. If left blank, the data set specified in the Source Dataset attribute of the PSB is used to save the generated syntax. |
|
Disposition |
SHR-To have the create statement replace the current contents of the previous data set MOD-To append the generated syntax to the end of the data set |
|
Load Lib |
The name of the load library into which the PSB will be link-edited (batch only) |
| Copyright © 2009 CA. All rights reserved. | Email CA about this topic |