This syntax description is based on SDF Version 4.7. The syntax of the SDF command/statement language is explained in the following three tables.
Table 4 : Metasyntax
Certain characters and representations are used in the statement formats; their meaning is explained in table 4.
Table 5 : Data types
Variable operand values are represented in SDF by data types. Each data type represents a specific value set. The number of data types is limited to those described in table 5.
The description of the data types is valid for all commands and statements. Therefore only deviations from table 5 are explained in the relevant operand descriptions.
Table 6 : Data type suffixes
The description of the “integer” data type in table 6 also contains a number of items in italics. The italics are not part of the syntax, but are used merely to make the table easier to read.
The description of the data type suffixes is valid for all commands and statements. Therefore only deviations from table 6 are explained in the relevant operand descriptions.
Representation | Meaning | Examples | ||||||||||||||||||||||||||||||||||||||||||
UPPERCASE LETTERS | Uppercase letters denote keywords. Some keywords begin with *. | OPEN DATABASE
| ||||||||||||||||||||||||||||||||||||||||||
= | The equal sign connects an operand name with the associated operand values. | CONFIGURATION-NAME = <name 1..8> | ||||||||||||||||||||||||||||||||||||||||||
< > | Angle brackets denote variables whose range of values is described by data types and their suffixes (Tables 5 and 6). | DATABASE = <dbname> | ||||||||||||||||||||||||||||||||||||||||||
Underscoring | Underscoring denotes the default value of an operand. | SCHEMA-NAME = *STD | ||||||||||||||||||||||||||||||||||||||||||
/ | A slash separates alternative operand values. | CMD = *ALL / <dal-cmd> | ||||||||||||||||||||||||||||||||||||||||||
(...) | Parentheses denote operand values that initiate a structure. | *KSET-FORMAT(...) | ||||||||||||||||||||||||||||||||||||||||||
Indentation | Indentation indicates that the operand is dependent on a higher-ranking operand. |
| ||||||||||||||||||||||||||||||||||||||||||
| A vertical bar identifies related operands within structure. Its length marks the beginning and end of a structure. A structure may contain further structures. The number of vertical preceding an operand corresponds to the depth of the structure. |
| ||||||||||||||||||||||||||||||||||||||||||
, | A comma precedes further operands at the same structure level. | ,SPACE = STD | ||||||||||||||||||||||||||||||||||||||||||
list-poss(n): |
| NAME = list-poss(30): <subschema-name> |
Table 4: Metasyntax
Data type | Character set | Special rules |
alog-seq-no | 0..9 | 1..9 characters |
appl | A..Z Structure identifier: | 1..8 characters |
catid | A..Z | 1..4 characters |
copyname | A..Z | 1..7 characters, starting with A..Z |
c-string | EBCDIC characters | 1..4 characters |
csv-filename | A..Z | 1..30 characters |
dal-cmd | A..Z | 1..64 characters |
date | 0..9 Structure identifier: | Date specification |
dbname | A..Z | 1..17 characters, starting with A..Z |
device | A..Z Structure identifier: | 5..8 characters, starting with A..Z or 0..9 |
host | A..Z Structure identifier: | 1..8 characters |
integer | 0..9,+,- | + or - may only be the first character. |
kset | A..Z Structure identifier: | 1..8 characters |
name | A..Z | 1..8 characters |
realm-name | A..Z Structure identifier: | 1..30 characters |
realmref | 0..9 | 1..3 characters |
record-name | A..Z Structure identifier: | 1..30 characters |
recordref | 0..9 | 1..3 characters |
schema-name | A..Z Structure identifier: | 1..30 characters |
set-name | A..Z Structure identifier: | 1..30 characters |
structured-name | A...Z | Alphanumeric string which may comprise a number of substrings separated by a hyphen. First character: A...Z or $, #, @ |
subschema-name | A..Z Structure identifier: | 1..30 characters |
time | 0..9 Structure identifier: | Time-of-day specification
hh, mm, ss: |
userid | A..Z 0..9 | 1..8 characters, beginning with A..Z or $,#,@ |
volume | A..Z | 1..6 characters starting with A..Z or 0..9 |
x-string | Hexadecimal: | 1..8 characters |
Table 5: Data types
Suffix | Meaning | ||||||
x..y unit | For the “integer” data type: range specification.
|
Table 6: Data type suffixes