z/OS ISPF User's Guide Vol II
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Batch processing sequence

z/OS ISPF User's Guide Vol II
SC19-3628-00

This topic describes the main sequence for batch processing.

  1. If you do not know whether the source data is in packed format, find out by editing the data set and entering the PROFILE command. If the source data is in packed format, the profile shows PACK ON.

    If the data is not packed, continue with the next step.

    If the data is packed, you should read Expanding packed data, paying close attention to information that applies to the batch processor you plan to use. When you are satisfied that the data set is ready to be processed, save the data set if you are in Edit and continue with the next step.

  2. Select a batch processor. If you bypass the Batch Selection panel, you cannot verify or change the job statement parameters, or generate multiple compilations (multiple job steps) or link-edits within the same job.
  3. Select the Source data online option to tell ISPF that the data to be processed resides on a currently mounted volume. ISPF checks the data set information that you entered on the Batch Selection panel and allows you to display a member list. If you do not select this option, ISPF assumes that the data cannot be accessed except by the batch job and does not verify the existence or validity of the specified data set.
  4. Select the Source data packed option to tell ISPF that it needs to expand the source data. This option has no effect on the member parts list option (5.12). Member parts list can read both packed and unpacked data sets, so no expansion is needed.
  5. Enter any job statement information you need. See the information about Job Statement Information in the "ISPF Libraries and Data Sets" topic of the z/OS ISPF User's Guide Vol I for more information.
  6. Press Enter. ISPF displays the data entry panel for the processor you selected.
    Note: The remainder of this processing sequence applies to all batch processors except Member Parts List. See Member parts list (option 5.12) for more information.
  7. Enter the appropriate ISPF library and concatenation sequence or data set names.

    For VS COBOL II interactive debug, enter the name of the input object module or load module. The TYPE, or last qualifier, must be either OBJ or LOAD. However, if you specify an OBJ data set as your input data set, you must include a load library or data set in the input search sequence (see step 11).

    ISPF displays a member list if you omit the member name or use a pattern. See the information about Naming ISPF Libraries and Data Sets in the "ISPF Libraries and Data Sets" topic of the z/OS ISPF User's Guide Vol I if you need help entering library or data set names, Input data sets for more information about the concatenation sequence, and the Displaying Member Lists section of the "ISPF Libraries and Data Sets" topic of the z/OS ISPF User's Guide Vol I for more information about displaying member lists.

    Note:
    1. VS FORTRAN has no LIB option. However, the concatenation sequence is still used to find the member to be compiled.
    2. Password protection is not supported from the Batch option. Therefore, if your input or output data sets are password-protected, use the Foreground option, which does support passwords.

      If you submit a job requiring a password-protected data set, the system operator will be requested to enter the required password.

  8. The List ID field tells ISPF what to name the output listing. Leave this field blank and enter a SYSOUT class to send the listing to a printer. See List data sets for more information.
  9. Enter a SYSOUT class to generate hardcopy of the listing. You can enter any valid SYSOUT parameter. If a List ID is entered, this field is ignored.
  10. The Options field, whether ASSEMBLER, COMPILER, or LINKAGE EDITOR, is remembered from one session to another. Therefore, you do not need to change these fields unless the options or parameters you need are not displayed.

    If you need information about the options available for your processor, refer to the documentation provided with the processor.

  11. Enter any additional input libraries you need. For VS COBOL II interactive debug, enter any input LOAD libraries that you need to complete the search. These libraries must be LOAD libraries only. See Input data sets if you need help.
  12. Once all the input fields have been specified, press Enter to call the batch processor. ISPF generates the appropriate JCL statements. See JCL generation—compilers and JCL generation—assemblers and linkage editor for more information.
    Note: You can leave the entry panel without generating any JCL by entering the END command instead of pressing Enter.
  13. One of these actions occurs:
    • If you used the jump function to bypass the Batch Selection panel, ISPF submits the generated JCL and returns directly to the ISPF Primary Option Menu.
      ISPF calls the TSO SUBMIT command to submit a job. The SUBMIT command displays this message:
      JOB useridA(JOB nnnnn) SUBMITTED
      ***

      When you press Enter or any other interrupt key, ISPF returns to the previous panel.

    • Otherwise, ISPF returns to the Batch Selection panel with the message Job step generated displayed in the short message area on line 1, as shown in Figure 1.
      Figure 1. Batch Selection Panel with JCL generated (ISRJPB)
         Menu  Utilities  Help
       ───────────────────────────────────────────────────────────────────────────────
                                   Batch Selection Panel           Job step generated
                                                                          More:     +
       1  Assembler              7  *Binder/Link editor    15 *ADA/370
       2  COBOL                  10 *VS COBOL II debug     16 *AD/Cycle C/370
       3  VS FORTRAN             12  Member Parts List     18  ISPDTLC
       5  PLI                    13 *C/370                 19 *OS/390 C/C++
       6  VS PASCAL              14 *REXX/370
      
          Enter "/" to select option           * No packed data support
          /  Source data online
             Source data packed
      
       Job Statement Information:
      
       ===> //LSACKV1  JOB (ACCT),CLASS=A                                           
       ===> //*                                                                     
       ===> //*                                                                     
       ===> //*                                                                     
      
       Option ===>                                                                   
        F1=Help      F2=Split     F3=Exit      F7=Backward  F8=Forward   F9=Swap
       F10=Actions  F12=Cancel
      The job statement parameters are shown for information only. They are no longer intensified, and you cannot type over them because the JOB statement has already been generated. At this point, you can:
      • Select the same or another processor to cause more JCL to be generated.
      • Go to the ISPF Primary Option Menu by:
        • Canceling the batch job by entering the CANCEL command
        • Entering the END or RETURN command to cause the generated JCL to be submitted for processing.
      • Use the jump function (=) to choose any primary option. If any JCL has been generated, it is submitted for batch processing.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014