Run the program in batch

To modify and run the setup file so that the program runs in batch, do the following steps:

  1. In panel EQA@PRIM, select 0. Press Enter.
  2. In panel EQAPDEF, review the job card information. If there are any changes that need to be made, make them. Press PF3 (Exit).
  3. In panel EQA@PRIM, select 2. Press Enter.
  4. In panel EQAPFOR, select one of the following choices, depending on which language you selected in step 2 in topic Compiling or assembling your program by using IBM z/OS Debugger Utilities:
    • For the COBOL program, use the following values for each field: Project = prefix, Group = SAMPLE, Type = DTSF, Member =WSU1
    • For the PL/I program, use the following values for each field: Project = prefix, Group = SAMPLE, Type = DTSF, Member =WSU3
    • For the C program, use the following values for each field: Project = prefix, Group = SAMPLE, Type = DTSF, Member = WSU4
    • For the assembler program, use the following values for each field: Project = prefix, Group = SAMPLE, Type = DTSF, Member = WSU5
    Press Enter.
  5. If you ran the steps beginning in step 1 of topic Run the program in foreground you can skip this step. In panel EQAPFORS, do the following steps:
    1. Replace &LOADDS. with the name of the load data set from step 5 in topic Compiling or assembling your program by using IBM z/OS Debugger Utilities.
    2. Replace &EQAPRFX. with the prefix your EQAW (z/OS® Debugger) library.
    3. Replace &CEEPRFX. with the prefix your CEE (Language Environment®) library.
  6. Enter "e" in the Cmd field next to CMDS DD name. If there is not 'QUIT ;' statement at the end of the data set, then add the statement. Press PF3 (Exit).
  7. Type submit in command line. Press Enter.
  8. In panel ISREDDE2, type submit in the command line. Press Enter. Make a note of the job number that is displayed.
  9. In panel ISREDDE2, press PF3 (Exit).
  10. In panel EQAPFORS, press PF3 (Exit). The changes you made to the setup file are saved.
  11. In panel EQAPFOR, press PF3 (Exit) to return to EQA@PRIM panel. locate the job output using the job number recorded. Check for zero return code and the command log output at the end of the job output.