Some complete programs for processing sequential data sets (files)
All programs perform the same function, which is to read one sequential file and write to another.
The READ and WRITE macros available in Assembler relate to the Basic Sequential Access Method (BSAM) which returns an
entire block of data to the program on READ operations and WRITEs an entire block on output. The programmer has to handle
any short blocks encountered.
QSAM MOVE Mode Examples |
VSAM ESDS Mode Examples |
See Assembler example See Assembler LE example See COBOL example See PLI Example |
See Assembler example See Assembler LE example See COBOL example See PLI Example |
VSAM (Virtual Storage Access Method) processing uses a combination of ACB, RPL and EXLST control blocks rather than DCB/DTF.