Your Browser is not longer supported

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

{{viewport.spaceProperty.prod}}

Command syntax representation

&pagelevel(3)&pagelevel

The command format consists of a field with the command name. All operands with their legal values are then listed. Operand values which introduce structures and the operands dependent on these operands are listed separately. The syntax of the command representation is explained in the following three tables.

Table 1 : Notational conventions

The meanings of the special characters and the notation used to describe command and statement formats are explained in table  1.

Table 2 : Data types

Variable operand values are represented in SDF by data types. Each data type represents a specific set of values. The number of data types is limited to those described in table 2.

The description of the data types is valid for the entire set of commands/statements. Therefore only deviations (if any) from the attributes described here are explained in the relevant operand descriptions.

Table 3 : Suffixes for data types

Data type suffixes define additional rules for data type input. They contain a length or interval specification.

The description of the data type suffixes is valid for the entire set of commands/statements. Therefore only deviations (if any) from table 3 are explained in the relevant operand descriptions.

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 higher-ranking
operand.

,GUIDED-DIALOG = *Y ES(...)

*Y ES(...)

SCREEN-STEPS = *NO /

*YES


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.

SUPPORT = *TAPE(...)

*TAPE(...)

VOLUME = *ANY (...)

*ANY (...)

...

,

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
0...9
$, #, @


c-string

EBCDIC character

Must be enclosed within single quotes;
the letter C may be prefixed; in the case of file
names in z/OS it must be prefixed; any single
quotes occurring within the string must be
entered twice.

composed-name

A...Z
0...9
$, #, @
Hyphen
Period

Alphanumerical string that can be subdivided
into multiple substrings by periods or hyphens.

date

0...9
Structure identifier:
hyphen

Input format: yyyy-mm-dd

yyyy: year; optionally 2 or 4 digits
mm: month
dd: day

Only date specifications between 1.1.2000 and
19.1.2038 are possible. If the year is specified in
2-digit form, 2000 is added to the number

filename

A...Z
0...9
$, #, @
hyphen
period
Colon
Single quote

Input format fully qualified:

':<prefix>:<first-qual>.<filename>'

Input format partially qualified:

:<prefix>:<filename>

:<prefix>:

Optional specification of file organization;
enclosed in colons; can assume the
following values:
:S: for PS
:O: for PO
:E: for PDSE
:L: for PO or PDSE
:V: for VSAM

<first-qual>

"first level qualifier"
User ID (max. 7 characters, character range
A...Z, 0...9, $, #, @; may not begin with a
digit) or alias (max. 8 characters)

<filename>

partially qualified file name;
the syntax of z/OS file names depends on
the file organization; refer to the overview in
section “Transferring z/OS files”

filename-prefix

A...Z
0...9
$, #, @
hyphen
period
Colon
Single quote

Input format fully qualified:

':<prefix>:<first-qual>.<partname>.'
or
':<prefix>:<first-qual>.<partname>/'

Input format partially qualified:

:<prefix>:<partname>.
or
:<prefix>:<partname>/

<prefix> see filename
<first-qual> see filename

partname

Specifies the common first part of the
partially qualified name of files.
partname must be followed by a period
or a slash.

integer

0...9, +, -

+ or -, if specified, must be the first character.

name

A...Z
0...9
$, #, @

Must not begin with 0...9.

number

0...9
A...F

Message number/return code

partial-filename

A...Z
0...9
$, #, @
hyphen
period

Input format fully qualified:

':<prefix>:<first-qual>.<partname>.'

Input format partially qualified:

:<prefix>:<partname>.

<prefix>
<first-qual>

partname

see filename
see filename

Specifies the common first part of the
partially qualified name of files.
partname must be followed by a period.

text

freely selectable

For the input format, see the relevant operand
descriptions.

time

0...9
structure identifier:
colon

Time-of-day entry:
Input format: { hh:mm:ss | hh:mm | hh }

hh: hours
mm: minutes
ss: sewconds

where leading zeros may be omitted

Valid entries are between 00:00:00 and
23:59:59.

x-string

Hexadecimal:
00...FF

Must be enclosed in single quotes; must be
prefixed by the letter X. There may be an odd
number of characters.

Suffixes for data types

Suffix

Meaning

x..y

With data type "integer": interval specification

x       minimum value permitted for "integer".

x is an (optionally signed) integer.

y       maximum value permitted for "integer".

y is an (optionally signed) integer.

x..y

With the other data types: length specification
For data types date and time the length specification is not displayed.

x       minimum length for the operand value; x is an integer.

y       maximum length for the operand value; y is an integer.

x=y     the length of the operand value must be precisely x.

Table 3: Suffixes for data types

Meaning of operands

After the format of each command there is a detailed description of all the operands, the possible value assignments and their functions.

Otherwise the same metasyntax is used in describing operands as in the representation of the command formats (see above).

The following characters are regarded as constants in describing the operands: "." (period), "(" (open bracket), ")" (close bracket), " ' " (single quote), "$" (dollar sign), and also the character combinations ":V:", ":L:", ":S:", ":O:" and ":E:" i.e. they must be specified when the command is entered. Where this occurs the syntactical components of the operand value must follow one after another without any gaps.
"±" has the usual meaning "+" or "-".

Example

Possible entries for the local operand FILE are as follows:

ABC                    'USER1.ABC',                     (1)
GROUP1.G1234V01        'USER1.GROUP1.G1234V01'          (2)

GROUP2(+27)            'USER1.GROUP2(+27)'              (3)

GROUP3(0)              'USER1.GROUP3(0)'                (4)
:V:VSDAT               ':V:USER1.VSDAT'                 (5)

PDS1(DEF)              'USER1.PDS1(DEF)',               (6)

:L:PODS2               ':L:USER1.PODS2'                 (7)
./directory5/abcd      /u/user002/directory5/abcd       (8)


Key

(1)

Name of a PS data set

(2)

Name of an absolute generation data set (PS data set) (this has the same syntax as the name of a normal PS data set, with the exception of the last partial name, which must have a special format)

(3)

Name of a relative generation data set (PS data set)

(4)

Name of a relative generation data set (PS data set), special case "current generation" (may only be a send file)

(5)

Name of a VSAM file of the type "entry sequenced"

(6)

Name of a PO or PDSE member

(7)

Name of an entire PO or PDSE data set

(8)

Pathname of an openEdition file (absolute and relative)

More details on the syntax rules for file names, passwords, user IDs and account numbers in openFT can be found in the respective sections.

Variable %UNIQUE

If a file name ends with %unique or %UNIQUE, this string will be replaced by another string, which varies with each new call.

f the receiving system is a Unix or Windows system, a suffix may follow %unique or %UNIQUE separated by a dot, e.g. "file1%unique.txt". This suffix must not contain any dot.

Only the already converted file name is displayed in both the log and the messages.

In z/OS, openFT converts %UNIQUE into a string of the form xxxxxxxx.D<inst>, where xxxxxxxx stands for a randomly generated string, D for a letter and <inst> for the name of the openFT instance that is currently set.

%UNIQUE must be a separate part of the file name (separated by .) for the records of the normal z/OS file system. This can be followed by a maximum of one further name component.

%UNIQUE can also be specified for a member name of a PO or PDSE dataset. However, in this case only the name part to the left of the period (xxxxxxxx) is replaced.

In the case of openEdition files, %UNIQUE is expanded if:

  • it is at the end of the file name.

  • it is followed by a string which contains neither a percentage sign nor a period (unless the period immediately follows %UNIQUE).

%UNIQUE is recognized and correctly converted to:

  • receive file names, on initiation from the remote system with WRITE-MODE = *REPLACE-FILE or *NEW-FILE

  • receive file names of the NCOPY command withWRITE-MODE = *REPLACE-FILE or *NEW-FILE

  • file names in FTCREPRF or FTMODPRF to preset the receive file name in FTAC profiles