Metasyntax
Representation | Meaning | Examples | ||||||||||||||||||||||||||||||
UPPERCASE LETTERS | Uppercase letters denote keywords (command, statement or operand names, keyword values) and constant operand values. Keyword values begin with *. | HELP-SDF SCREEN-STEPS = *NO | ||||||||||||||||||||||||||||||
UPPERCASE LETTERS in boldface | Uppercase letters printed in boldface denote guaranteed or suggested abbreviations of keywords. | GUIDANCE-MODE = *YES | ||||||||||||||||||||||||||||||
= | The equals sign connects an operand name with the associated operand values. | GUIDANCE-MODE = *NO | ||||||||||||||||||||||||||||||
< > | Angle brackets denote variables whose range of values is described by data types and suffixes (see Tables 2 and 3). | SYNTAX-FILE = <filename 1..54> | ||||||||||||||||||||||||||||||
Underscoring | Underscoring denotes the default value of an operand. | GUIDANCE-MODE = *NO | ||||||||||||||||||||||||||||||
/ | A slash serves to separate alternative operand values. | NEXT-FIELD = *NO / *YES | ||||||||||||||||||||||||||||||
(...) | Parentheses denote operand values that initiate a structure. | ,UNGUIDED-DIALOG = *Y ES (...) / *NO | ||||||||||||||||||||||||||||||
[ ] | Square brackets denote operand values which introduce a structure and are optional. The subsequent structure can be specified without the initiating operand value. | SELECT = [*BY-ATTRIBUTES](...) | ||||||||||||||||||||||||||||||
Indentation | Indentation indicates that the operand is dependent on a higherranking operand. |
| ||||||||||||||||||||||||||||||
| | | | A vertical bar identifies related operands within a structure. Its length marks the beginning and end of a structure. A structure may contain further structures. The number of vertical bars preceding an operand corresponds to the depth of the structure. |
| ||||||||||||||||||||||||||||||
, | A comma precedes further operands at the same structure level. | GUIDANCE-MODE = *NO / *YES ,SDF-COMMANDS = *NO / *YES | ||||||||||||||||||||||||||||||
list-poss(n): | The entry “list-poss” signifies that a list of operand values can be given at this point. If (n) is present, it means that the list must not have more than n elements. A list of more than one element must be enclosed in parentheses. | list-poss: *SAM / *ISAM list-poss(40): <structured-name 1..30> list-poss(256): *OMF / *SYSLST(...) / <filename 1..54> | ||||||||||||||||||||||||||||||
Alias: | The name that follows represents a guaranteed alias (abbreviation) for the command or statement name. | HELP-SDF Alias: HPSDF |
Data types
Data type | Character set | Special rules | ||||||||||
alphanum-name | A...Z | |||||||||||
cat-id | A...Z | Not more than 4 characters; | ||||||||||
command-rest | freely selectable | |||||||||||
composed-name | A...Z | Alphanumeric string that can be split into multiple substrings by means of a period or hyphen. | ||||||||||
c-string | EBCDIC character | Must be enclosed within single quotes; | ||||||||||
date | 0...9 | Input format: yyyy-mm-dd
| ||||||||||
device | A...Z | Character string, max. 8 characters in length, corresponding to a device available in the system. In guided dialog, SDF displays the valid operand values. For notes on possible devices, see the relevant operand description. | ||||||||||
fixed | +, - | Input format: [sign][digits].[digits]
must contain at least one digit, but may contain up to 10 characters (0...9, period) apart from the sign. | ||||||||||
filename | A...Z | Input format:
:cat: optional entry of the catalog identifier; $user. optional entry of the user ID; $. (special case) system default ID> file file or job variable name;
# or @ used as the first character indicates temporary files or job variables, depending on system generation. file(no) tape file name group name of a file generation group
(*abs) absolute generation number (1-9999); (+rel) relative generation number (0-99); | ||||||||||
integer | 0...9, +, - | + or -, if specified, must be the first character. | ||||||||||
name | A...Z | Must not begin with 0...9. | ||||||||||
partial-filename | A...Z | Input format: [:cat:][$user.][partname.] :cat: partname optional entry of the initial part of a name common to a number of files or file generation groups in the form: The final character of “partname” must be a period. | ||||||||||
posix-filename | A...Z | String with a length of up to 255 characters; | ||||||||||
posix-pathname | A...Z | Input format: [/]part1/.../partn | ||||||||||
product-version | A...Z |
where m, n, s and o are all digits and a is a letter. | ||||||||||
structured-name | A...Z | Alphanumeric string which may comprise a number of substrings separated by a hyphen. | ||||||||||
text | freely selectable | For the input format, see the relevant operand descriptions. | ||||||||||
time | 0...9 | Time-of-day entry:
| ||||||||||
vsn | A...Z | Input format: pvsid.sequence-no
| ||||||||||
A...Z | Max. 6 characters; | |||||||||||
x-string | Hexadecimal: | Must be enclosed in single quotes; must be prefixed by the letter X. There may be an odd number of characters. | ||||||||||
x-text | Hexadecimal: | Must not be enclosed in single quotes; the letter X must not be prefixed. |
Suffixes for data types
Suffix | Meaning | ||||||||||||||
x..y unit | With data type “integer”: interval specification
| ||||||||||||||
x..y special |
|
Table 3: Data type suffixes