Generate EOF condition for SYSDTA system input file
Component: | SYSFILE |
Functional area: | Job processing |
Domain: | JOB |
Privileges: | STD-PROCESSING |
Function
The EOF command generates an EOF condition for the system input file SYSDTA. In interactive mode, the EOF command in conjunction with the ESCAPE function (e.g. K2 key) terminates the reading in of data at the terminal (SYSDTA = SYSCMD).
In a user program, the EOF command terminates data input (SYSDTA = input file) if the data record that has just been read is equivalent to an EOF command and a corresponding instruction is used in the program. Control then passes to the routine for end-of-file processing.
Format
EOF |
Return codes
(SC2) | SC1 | Maincode | Meaning |
---|---|---|---|
0 | CMD0001 | Command executed | |
32 | EXC0041 | System error | |
130 | CMD2282 | Command not executed because no program is loaded |