Your Browser is not longer supported

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

{{viewport.spaceProperty.prod}}

OPEN Assign and open file to be evaluated

&pagelevel(4)&pagelevel

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] 
    | filename } ]

Operands

sss

Three-digit decimal number of the session.
All files with the standard name “SYS.SERSLOG.yyyy.mm.dd.sss.nn” which exist under the caller’s user ID are included for evaluation, where “sss” is the specified session number and “yyyy.mm.dd” and “nn” may have any value.
The date specification in the standard name uses the new format by default (see the STD-NAME operand).

nn
STDNNAMEE

Two-digit decimal consecutive number of a SERSLOG file within a session.
If both “sss” and “nn” are specified, the file under the caller’s user ID with the standard name SYS.SERSLOG.yyyy.mm.dd.sss.nn is evaluated, where “sss” is the specified session number, “nn” is the specified consecutive number of the file within the specified session, and “yyyy.mm.dd” may have any value. The date specification in the standard name uses the new format by default (see the STD-NAME operand).

STD-NAME=

NEW
OLD


The date in the file name is specified as yyyy-mm-dd.
The date in the file name is specified as yy.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:
SSEND:

Cancels the current statement and starts processing the specified statement.
If a command was entered and accepted during the process of opening a session, the session is considered open. Evaluation is performed on the files open up to that point.

H/L

Interrupts the current statement relating to processing this request.
The original statement is then edited further.

+

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).