Once Teradata TPump executes the RUN FILE command, further commands and DML statements are read from the specified source until a LOGOFF command or end-of-file condition is encountered, whichever occurs first. An end-of-file condition automatically causes Teradata TPump to resume reading its commands and DML statements from the previously active source (or the previous RUN source when RUNs are nested), either SYSIN for z/OS, or stdin (normal or redirected) in the UNIX OS. After SYSIN/stdin processes any user-provided invocation parameter, it remains the active input source.
If an end-of-file condition occurs on fileid, SYSIN/stdin is read because there are no more commands or statements in the PARM string.
The command source specified by a RUN FILE command may contain nested RUN FILE commands to 16 levels.
- Keyboard in interactive mode
or
- Standard input device in batch mode