The OPEN statement is used to specify and open the files to be evaluated. The necessary auxiliary files are created at the same time.
OPEN may be specified with a complete file name, with the three-digit number of a specific session (together, if applicable, with the sequence number of the file), or without operands. ELFE then locates and opens the appropriate file. If, necessary, this file must be stored under the user’s own user ID.
If another file or session is currently being processed, OPEN terminates this processing and initiates processing of the specified file or session.
Format
Operation | Operands |
O(PEN) | [ { sss[,nn][,STD-NAME=NEW/OLD] |
Operands
sss | Three-digit decimal number of the session. |
nn | Two-digit decimal consecutive number of a SERSLOG file within a session. |
STD-NAME= NEW | The date in the file name is specified as yyyy-mm-dd. |
filename | Name of the SERSLOG file to be evaluated. |
If, before calling the ELFE utility routine, the user enters a file with the link name SERSLOG in the task file table (TFT) by means of an ADD-FILE-LINK command, the operands of the OPEN statement may be omitted. ELFE then opens the file linked with the link name SERSLOG.
Continuation of the screen output
If the amount of data to be output exceeds the number of screen lines, the contents of one screen are output and the user then controls whether the current option is continued or canceled.
Entering “+” or null input ( only) continues output.
Input options and effects:
S/END: | Cancels the current statement, processing of the session or the file and the ELFE run. |
O/C: | Cancels the current statement and processing of the session. Starts with the specified session. |
P/D: | Cancels the current statement and starts processing the specified statement. |
H/L | Interrupts the current statement relating to processing this request. |
+ | Continues the current statement. |
Parallel calls
If ELFE is called in parallel, the DMS error 05B1 can occur as a result of auxiliary files having the same names. The problem can be circumvented by specifying the number of the session in the OPEN statement (OPEN 003,STD-NAME=NEW).