Building Unattended Statements and JCL (VTAM)


  1. Select option 2 Generate 3270 unattended statements for each member in the script data set on the Generate 3270 Unattended Statements screen to build unattended statements. The following screen appears.
    Unattended Statement Build screen

       -------------------------- Unattended Statement Build -------------------------
       Command ===>

         Please supply the name of the dataset containing the scripts, and the name of
         the dataset and the member which will contain the generated statements.

       Script Dataset:
          Project . . .
          Group . . . .
          Type  . . . .
       Other Partitioned Dataset:
          Dataset Name. . . . 'PMIJSS0.JMS.SCRIPTS'
          Enter a "/" above to define more than one Script Dataset

       Unattended Statement Dataset Name:
          Project . . .
          Group . . . .
          Type  . . . .
          Member. . . .
       Other Partitioned Dataset:
          Dataset Name. . . . 'PMIJSS0.JMS.SCRIPTS(STATEMEN)'

        Press ENTER to generate Unattended Playback statements END to exit.

    Use this screen to define the data set containing the scripts for which you want to generate unattended statements.

  2. Type the data set information in the Script Dataset fields or the Other Partitioned Dataset field. You can define up to seven data sets by typing a slash (/) in the Script Dataset - Other Partitioned Dataset field. Performance Test for VTAM processes any additional data sets after the data set defined on this screen. Enter at least one data set on this screen.
    Performance Test examines each member in the selected data set and determines its sender/receiver or domain destination. Script members with either a Sender or Receiver are flagged as APPC scripts and excluded from 3270-type requests.
  3. Use the Unattended Statement Dataset Name fields or the Other Partitioned Dataset field to store the data set and member name of generated statements. If the member exists, Performance Test overwrites it unless you select the Append option on the initial Generate Unattended Statements screen.
    When you press Enter without entering a command, Performance Test validates the screen entries, generates unattended statements in the defined data set member, then shows that member on the ISPF EDIT screen.
    ISPF EDIT screen showing Generated Statements

    File  Edit  Confirm  Menu  Utilities  Compilers  Test  Help
    -------------------------------------------------------------------------------
    EDIT       ACMJET0.UNATTND.CONTROL(CICSTEST) - 01.00       Columns 00001 00072
    Command ===>                                                  Scroll ===> PAGE
    ****** ***************************** Top of Data ******************************
    000001     CONTROL                                            -
    000002         BIND(1500)                                     -
    000003         KEYU(4500)                                     -
    000004         KEY2(2500)                                     -
    000005         PREFIX(EHPR)                                   -
    000006         SUFFIX(4)                                      -
    000007         SWAIT(25)                                      -
    000008         USDATE(YES)
    000009     GROUP CICSTEST                                     -
    000010         LOGD(3)                                        -
    000011         REPEAT(1)                                      -
    000012         TERM(1)                                        -
    000013         THOPT(1)
    000014       SCRIPT(V531045)                                  -
    000015         REPEAT(1)
    000016     GROUP CICSTEST                                     -
    000017         LOGD(3)                                        -
    000018         REPEAT(1)                                      -
    000019         TERM(1)   
  4. After you have made any desired edits, use END to exit. The Unattended JCL Build screen appears.

Building JCL

The Unattended JCL Build screen generates the JCL for running the unattended statements generated on the previous screens.

Unattended JCL Build screen

   ----------------------------- Unattended JCL Build ----------------------------
   Command ===>

     Please supply the dataset and member into which the
     batch JCL will be written.

   JCL Dataset Name:
      Project . . .
      Group . . . .
      Type  . . . .
      Member. . . .

   Other Partitioned Dataset:
      Dataset Name. . . . 'PMIJSS0.JMS.JCL2(NEWBATCH)'

   Job Statement Information:
   //BATCHPLY JOB  ('OVPBAS17.02.00DEV','4W-6909'),'STANTS',
   //             CLASS=E,MSGCLASS=R,NOTIFY=PMIJSS0
   /*JOBPARM SYSAFF=CW06

   ENTER to generate the Unattended Playback JCL END key to terminate.
  1. Define the data set and member where you want to write the generated JCL by using either the JCL Dataset Name fields or the Other Partitioned Dataset field.
  2. Enter your standard job statements in the Job Statement Information area.
  3. When you press Enter without entering a command, Performance Test:

    • validates screen entries
    • generates JCL in the defined data set member
    • shows the generated JCL on the ISPF EDIT screen

    ISPF EDIT Screen Showing Generated JCL

    File  Edit  Confirm  Menu  Utilities  Compilers  Test  Help
    -------------------------------------------------------------------------------
    EDIT       ACMJET0.UNATTND.CONTROL(CICSTEST) - 01.00       Columns 00001 00072
    Command ===>                                                  Scroll ===> PAGE
    ****** ***************************** Top of Data ******************************
    000001     CONTROL                                            -
    000002         BIND(1500)                                     -
    000003         KEYU(4500)                                     -
    000004         KEY2(2500)                                     -
    000005         PREFIX(EHPR)                                   -
    000006         SUFFIX(4)                                      -
    000007         SWAIT(25)                                      -
    000008         USDATE(YES)
    000009     GROUP CICSTEST                                     -
    000010         LOGD(3)                                        -
    000011         REPEAT(1)                                      -
    000012         TERM(1)                                        -
    000013         THOPT(1)
    000014       SCRIPT(V531045)                                  -
    000015         REPEAT(1)
    000016     GROUP CICSTEST                                     -
    000017         LOGD(3)                                        -
    000018         REPEAT(1)                                      -
    000019         TERM(1)   
  4. After you make any desired edits, either save the JCL for later use or enter the SUBMIT command to run the unattended playback job immediately.


 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*