The OPEN-SYNTAX-FILE statement is used to open a syntax file for processing withSDF-A. The format of this syntax file can be defined with the DEFINE-ENVIRONMENT statement before opening the file. Each subsequent OPEN-SYNTAX-FILE statement implicitly causes SDF-A to close the previously opened syntax file.
A syntax file can be opened either with (default) or without a hierarchy. Any modification of the hierarchy between two operations may lead to errors. It is therefore advisable to edit a syntax file always in the same hierarchy.
OPEN-SYNTAX-FILE |
FILE = <filename 1..54> ,TYPE = *USER (...) / *GROUP(...) / *SYSTEM(...) *USER(...)
*GROUP(...)
*SYSTEM(...)
,MODE = *UPDATE (...) / *CREATE / *READ / *INIT(...) *UPDATE(...)
*NOCHECK(...)
<structured-name 1..15>(...)
*INIT(...)
<name 3..3>(...)
<structured-name 1..15>(...)
|
FILE = <filename 1..54>
Name of the syntax file to be opened.
TYPE =
Type of the syntax file to be opened.
TYPE = *USER(...)
A user syntax file is to be opened.
GROUP-DESCRIPTIONS =
Specifies whether SDF-A is to access the contents of a group syntax file when processing the user syntax file to be opened.
GROUP-DESCRIPTIONS = *CURRENT
SDF-A is to access the group syntax file activated for the current task.
GROUP-DESCRIPTIONS = *NO
SDF-A is not to access a group syntax file.
GROUP-DESCRIPTIONS = <filename 1..54>
Name of the group syntax file to be accessed by SDF-A.
SYSTEM-DESCRIPTIONS =
Specifies whether SDF-A is to access the contents of a system syntax file when processing the user syntax file to be opened.
SYSTEM-DESCRIPTIONS = *CURRENT
SDF-A is to access the currently activated system syntax file.
SYSTEM-DESCRIPTIONS = *NO
SDF-A is not to access a system syntax file.
SYSTEM-DESCRIPTIONS = <filename 1..54>
Name of the system syntax file to be accessed by SDF-A.
USER-CONTROL =
Specifies whether SDF-A is to check that definitions of user-defined commands or statements are not modified in ways that are not permissible. For this monitoring, SDF-A requires a user syntax file in which the definitions of the user-defined commands/statements are stored in their original versions.
USER-CONTROL = *NO
No monitoring is to take place.
USER-CONTROL = <filename 1..54>
Name of the user syntax file containing the command/statement definitions required for monitoring.
TYPE = *GROUP(...)
A group syntax file is to be opened.
SYSTEM-DESCRIPTIONS =
Specifies whether SDF-A is to access the contents of a system syntax file when processing the group syntax file to be opened.
SYSTEM-DESCRIPTIONS = *CURRENT
SDF-A is to access the currently activated system syntax file.
SYSTEM-DESCRIPTIONS = *NO
SDF-A is not to access a system syntax file.
SYSTEM-DESCRIPTIONS = <filename 1..54>
Name of the system syntax file to be accessed by SDF-A.
SYSTEM-CONTROL =
Specifies whether SDF-A is to check that definitions of commands or statements available to specific user IDs are not modified in ways that are not permissible. For this monitoring, SDF-A requires a system syntax file in which the definitions of these commands/statements are stored in their original versions.
SYSTEM-CONTROL = *NO
No monitoring is to take place.
SYSTEM-CONTROL = <filename 1..54>
Name of the system syntax file containing the command/statement definitions required for monitoring.
TYPE = *SYSTEM(...)
A system syntax file is to be opened.
SYSTEM-CONTROL =
Specifies whether SDF-A is to check that definitions of commands or statements available throughout the system are not modified in ways that are not permissible. For this check, SDF-A requires as a reference syntax file a system syntax file in which the definitions of these commands/statements are stored in their original versions.
SYSTEM-CONTROL = *NO
No monitoring is to take place.
SYSTEM-CONTROL = <filename 1..54>
Name of the system syntax file containing the command/statement definitions required for monitoring.
MODE =
Specifies whether the opened syntax file may be processed or whether it is to be created.
MODE = *UPDATE(...)
The contents of the syntax file may be both displayed and modified. The syntax file already exists. It must not have been activated.
COMPONENT-VERSION = *UNCHANGED / <integer 0..999>
This operand is reserved for Fujitsu Software Development.
SOFTWARE-VERSION = *NOCHECK(...) / <structured-name 1..15>(...)
This operand is reserved for Fujitsu Software Development.
MODE = *CREATE
The contents of the syntax file may be both displayed and modified. The file is to be newly created by SDF-A. This also means that SDF-A generates the global information. If a file with the same name already exists, SDF-A refuses to open the file and issues an error message.
MODE = *READ
The contents of the syntax file can be displayed, but not modified (read access only). The syntax file already exists. It may already have been activated.
MODE = *INIT(...)
This operand value is reserved for Fujitsu Software Development.