Batch, environment and performance

Arguments and environment variables, then a batch job pattern with a run header, a control total and a restart point. A lesson places JCL, CICS and Db2 on z/OS and says what is not run here. The part closes on measuring, on tuning tables and file access, and on what modern COBOL added since 1985.

120 ACCEPT FROM ARGUMENT-VALUE the command line, a usage message, a bad argument, and a calculator that uses them Open 121 ACCEPT FROM ENVIRONMENT and RETURN-CODE ACCEPT FROM ENVIRONMENT, a default when it is missing, and the status the shell reads Open 122 Batch job patterns a run header, a control total, a restart point, and a job that reports what it did Open 123 JCL, CICS and Db2 what runs on z/OS, what a JCL step is, where CICS and Db2 sit, and what is not run here Open 124 Measuring performance time, a loop that does real work, a measurement repeated, and the compiler that built it Open 125 Tuning tables and file access SEARCH against SEARCH ALL, a file read per record against one pass, and the numbers measured here Open 126 Modern COBOL since 1985 1985, 2002 and 2014, what 3.2 implements, and what it does not Open

Lessons