Your Browser is not longer supported

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

{{viewport.spaceProperty.prod}}

SDF expert mode

SDF expert mode is preset as the default mode following the LOGON command. In this mode the user starts the compilation run as follows:


/START-COBOL2000-COMPILER options

guaranteed abbreviation: START-COBOL2-COMP options


The compilation is started immediately after input of the command.

If no options are specified, the compiler will read the compilation unit from SYSDTA, so the file or library element containing the compilation unit (see section "Assigning the compilation unit with the ASSIGN-SYSDTA command") must be assigned to SYSDTA before the compiler is called.

The following general rules apply when entering options in expert mode:

  • All options, parameters and operand values must be separated from one another by commas.

  • If there is not enough room to enter all the options in one line

    • continuation lines can be generated by entering a hyphen (“-”) after the last character in a line,

    • or all the options can be written continuously (i.e. without regard for the end of the line).

Options may be specified as keyword operands or as positional operands.

  • Keyword operands

    The keywords must be specified in the correct format; they can, however, be abbreviated as desired provided they remain unique within their respective SDF environment. Illegal abbreviations and typing errors are reported as syntax errors and can be corrected immediately.

    It is generally advisable to avoid using abbreviations (especially in procedures), since the possible abbreviations could change in future SDF versions.
  • Positional operands

    The operand keywords (i.e. the keywords to the left of the equal sign in the format) and the equal sign itself can be omitted provided the predetermined order of the operands, and their values, are strictly adhered to. All operands that are not specified because their default value is to be used must be indicated by the comma separator “,”. If there are further possible options after the last option to be specified explicitly, their position does not have to be indicated by separators.

    Options should not be specified as positional operands in procedures.