Loading...
Select Version
Dummy files can be used for test purposes, particularly for testing error routines in user programs. These dummy files are defined by *DUMMY in the FILE macro and ADD-FILE-LINK command. No actual I/O operations are executed when these files are processed. Any attempt to read such a file causes control to be passed to an error routine and write attempts are ignored, i.e. in each case a no-op (i.e. no operation) is executed.
The following table shows which events occur for the various ISAM read operations.
Read operation | Macro | Event | EXLST exit | Message |
---|---|---|---|---|
Sequential read | GET/GETR | End of file | EOFADDR | DMS0AAE |
Read with key | GETKY | Key not found | NOFIND | DMS0AA8 |
Read with flags | GETFL | Key not found | NOFIND | DMS0AA8 |