DATA STRUCTURE
Data structure and its types.
By using the DS,
we can split a field into sub fields without using move or movel.
We can make
non-contiguous data into contiguous data.
Its types are General DS, Data
area DS, Program Status DS, File Information DS.
PSDS,
DADS and FIDS.
Program Status
Data Structure - is identified by S in position 18 of the data
structure statement, provides program exception / error information to the
program. The keywords are
*ROUTINE
*STATUS
*PARM
*PROGRAM
File Information
Data Structure - is identified by BLANKS in 7-52 position, which provides file exception / error
information to that fie.
The keywords are
*FILE
*RECORD
*STATUS
*ROUTINE
*OPCODE
Data Area Data
Structure - is identified by U in
position 18 IN D spec. By using *NAMVAR DEFN we can rename the D.A.D.S
No comments