| Oakwood Computing Ltd 1 Dornton Road South Croydon Surrey CR2 7DR UK Tel: +44 (0) 20 8686 7266 courses@oakwoodcomputing.co.uk |
| Updated 11 November, 2003 |
Contents: Top
Objectives
SELCOPY Overview
How SELCOPY handles records; control statement syntax; coding comments, comments
in summary; continuation symbol; input and output files, JCL requirements;
error messages; sample jobs and output; OPTION parameters; READ, WRITE, CAT.
Printing datasets
Printing records; REPORT; HEAD, changing the heading; DATE; LINE; SPACE.
Processing records
IF statement; THEN, ELSE, THENIF, ELSEIF; POS, variable position data, column
ranges, DIFF; using multiple @ pointers; compound conditions, AND/OR; overwriting
bytes, MOD; defining and using workareas; extracting records from datasets;
creating long records; STOPAFT, INCOUNT, EOF.
Arithmetic
Numeric data: packed, binary, character; ADD, SUB, MULT, DIV; using literals;
packing and unpacking data; converting data, CVxx statements; using floating
point values.
Programming with SELCOPY
Subroutines; GOTO; updating VSAM files, POS FT, POS RETVSAM, BWD, FWD; processing
the date; passing parameters, PARM; dynamically allocated datasets; calling
programs; setting return codes; Boolean statements, OR, XOR, AND, and their
uses; EQU; random data generation; TRAN options.
Using databases
Accessing IMS databases; using the PSB; issuing DL/1 calls, obtaining feedback
information; accessing DB2; reading, deleting, updating, inserting rows.