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


Generating and submitting JCL

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

Follow these steps to generate and submit JCL for your print jobs:

  1. Choose one of the options listed at the top of the panel and type its code, 1 (for PK) or 2 (for PD), in the Option field.
  2. Specify a fully qualified data set name and member name.

    This is a required field. If you are entering a fully qualified TSO data set name, you must enclose the name in quotes. If you omit the quotes, the data set prefix from your TSO user profile is automatically added to the beginning of the data set name.

  3. If the data set is not cataloged, specify the volume serial.
  4. If your data set is password protected, type the password in the Data Set Password field. For more information on data set passwords, see the "ISPF Libraries and Data Sets" topic of the z/OS ISPF User's Guide Vol I.
  5. Specify either BATCH or LOCAL in the Print Mode field.
  6. Specify one of these:
    • If you chose BATCH in the previous step, type a Batch SYSOUT class and any job statement information you need.
    • If you chose LOCAL in the previous step, type the name of a local printer or writer name in the Local Printer ID field. Job statement information is ignored.
  7. Press Enter.

    What happens next depends on your choice in step 5. If you chose BATCH, see step 7.a. If you chose LOCAL, see step 7.b.

    1. If you chose BATCH, ISPF generates the JCL and displays the panel shown in Figure 1, with the message JCL generated in the upper-right corner.
      Figure 1. Hardcopy Utility panel - after JCL generation (ISRUHCJP)
         Menu  RefList  Utilities  Help
       ───────────────────────────────────────────────────────────────────────────────
                                      Hardcopy Utility                  JCL generated
                                                                          More:     +
       Process option  1  1. Print and keep data set or member
                          2. Print and delete sequential data sets
                          3. Exit without submitting job
      
       Enter End command to submit job.
      
         Data Set Name  . . 'MYPROJ.DEV.SOURCE(TESTA)'                              
         Volume Serial  . . . .              (If not cataloged)
         Data Set Password  . .              (If password protected)
      
       Batch Sysout class . . . A            
       Print Mode . . . . . . : BATCH        (Batch or Local)
       Local printer ID or
       writer-name  . . . . . :
       Local Sysout class . . :
      
       Job statement information:
       Command ===>                                                                 
        F1=HELP      F2=          F3=END       F4=DATASETS  F5=FIND      F6=CHANGE
        F9=SWAP     F10=LEFT     F11=RIGHT    F12=SUBMIT
      At this point you can either:
      • Cancel the job by typing the CANCEL command in the Option field and pressing Enter.
      • Submit the job by typing the END command and pressing Enter. ISPF displays this message at the bottom of the panel:
        IKJ56250I JOB useridA(JOBnnnnn) SUBMITTED
        ***

        Press Enter. For more information about BATCH printing, see Additional batch printing information.

      • Specify another data set name for printing.
    2. If you chose LOCAL, ISPF calls the PRINTDS TSO command processor to print the data set on the specified local printer.
      A message is displayed in the short message area to show that PRINTDS has accepted the request. At this point, you can:
      • Specify another option and press Enter
      • Enter the END command
      • Enter the CANCEL command
  8. If you entered CANCEL or END, ISPF determines the next panel you see as follows:
    • If you entered the Hardcopy utility from the ISPF Primary Option Menu or through the jump function (=), ISPF displays the ISPF Primary Option Menu.
    • If you entered the Hardcopy utility from the Utility Selection Panel, ISPF returns you to that panel.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014