Previous Topic: Extract the Listing

Next Topic: Register CA Ideal Programs

Register the Program

Once the job has finished successfully, you can register the program by using the TSO client, as follows:

  1. Select one of the following menu options:

    The Program Listing Registration panel displays.

    CA MAT ----------------- Program Listing Registration ----------- OPTION ===> A ASM - Assembler listings C COBOL - ANS and COBOL II listings P PL/I - IBM optimizing PL/I listings F Fortran - VS Fortran listings N Natural - Software AG Natural listings C1 IBM C/C++ - IBM C/C++ with Language Environment C2 SAS C/C++ - SAS C/C++ listings C3 AD/Cycle - AD/Cycle C listings I IDEAL - IDEAL listings Listing manager ===> PDS (PDs, DDio, ENdevor, PRotSym, PAnvalet, LIbrarian, CHangeman, or IDeal) Enter an option or press END to exit

  2. Specify PDS for the Listing Manager.

    When PDS is specified, the input data set can be either a partitioned or a sequential data set.

  3. Select option N for Natural.

    The Registered Listings: Natural pane displays.

    CA MAT ----- Registered Listings: Natural ----- Row 1 to 1 of 1 COMMAND ===> SCROLL ===> CSR Primary commands: ADD, REBuild, DELete, ADDHelp Line commands: B - Browse R - Register D - Delete LC Csect Dataset name Type ________ ______________________________________________ ______ >----------------------------------------------------------------- __ AQMTEST USRJEQ1.NAT.LST(AQMTEST) NAT *************************** End of Table *************************

  4. Issue the ADD primary command.

    The NATURAL Map Resolution panel displays.

    CA MAT ------------ NATURAL Map Resolution ------------------- COMMAND ===> Specify listing dataset below: Project ===> Group ===> ===> ===> ===> Type ===> Member ===> Other partitioned or sequential dataset: Dataset name ===> Volume serial ===> (If not cataloged) Press ENTER to select members Enter END to cancel

  5. Under the section Other partitioned or sequential dataset:, next to Dataset name ===>, enter the same data set name that you used on the CMPRINT DD statement in the batch job used earlier.

    If the listing data set is a PDS, you can specify the member name in parenthesis, or you can omit it to obtain a list from which you can select the correct member.

    If the data set name does not begin with the high-level qualifier that matches the user ID or TSO prefix of the TSO user who is logged on, then you must enclose the data set name in single quotes ('').

  6. Press Enter to register the listing.

    A message indicates whether the listing has been registered successfully.

  7. Press PF3 to return to the Registered Listings: Natural panel.

    You should see the Natural program name appearing in the Csect column, the name of the listing data set in the Dataset Name column, and NAT in the Type column.