Your Browser is not longer supported

Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...

{{viewport.spaceProperty.prod}}

EOF

&pagelevel(3)&pagelevel

Generate EOF condition for SYSDTA system input file

Component:

SYSFILE

Functional area:

Job processing
File processing

Domain:

JOB                                                                                                         
PROCEDURE
PROGRAM

Privileges:

STD-PROCESSING
SAT-FILE-EVALUATION
SAT-FILE-MANAGEMENT
SECURITY-ADMINISTRATION

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