/sys$common/syshlp/TPUHELP.HLB  —  GET_INFO(COMMAND_LINE)
  GET_INFO(COMMAND_LINE)

  For an overview of the GET_INFO built-in, see the HELP topic GET_INFO.
  The following strings can be used for parameter2 when parameter1 is the
  keyword COMMAND_LINE:

  Parameter 2      | Return Value (Parameter 1 is keyword COMMAND_LINE)
  -----------------+---------------------------------------------------------
  "character"      | Integer  - The column number of the character
                   |            position specified by /START_POSITION.
                   |            This call is a synonym for
                   |            GET_INFO(COMMAND_LINE, "start_character").
  "character_set"  | Keyword  - A keyword indicating the character set
                   |            specified by /CHARACTER_SET.  The keywords
                   |            that can be returned are DEC_MCS (default),
                   |            GENERAL, and ISO_LATIN1.
  "command"        | (1 or 0) - Indicates whether /COMMAND was used when
                   |            invoking DECTPU; returns 1 if defaulted
                   |            to /COMMAND.
  "command_file"   | String   - File specified with /COMMAND=
  "create"         | (1 or 0) - Indicates  whether /CREATE was used when
                   |            invoking DECTPU; returns 1 if defaulted
                   |            to /CREATE.
  "display"        | (1 or 0) - Indicates whether /DISPLAY was used when
                   |            invoking DECTPU; returns 1 if defaulted
                   |            to /DISPLAY.
  "file_name"      | String   - File specification used as a parameter when
                   |            invoking DECTPU.
  "first_file_name"| String   - First file specification used as a parameter
                   |            when invoking DECTPU.
                   |  0       - No file was specified when invoking DECTPU.
  "initialization" | (1 or 0) - Indicates whether /INITIALIZATION is active.
  "init_file"      | String   - File-spec specified with /INITIALIZATION=
                   |            (this is a synonym for "initialization_file")
  "initialization_ |
   file"           | String   - File-spec specified with /INITIALIZATION=
  "journal"        | (1 or 0) - Indicates whether /JOURNAL was used when
                   |            invoking DECTPU; returns 1 if defaulted
                   |            to /JOURNAL.
  "journal_file"   | String   - File-spec specified with /JOURNAL=
  "line"           | Integer  - The record number of the line specified
                   |            by /START_POSITION.  This call is
                   |            a synonym for GET_INFO (COMMAND_LINE,
                   |            "start_record").
  "modify"         | (1 or 0) - Returns 1 if /MODIFY was used on the command
                   |            line, 0 if /NOMODIFY was used or if neither
                   |            neither qualifier was used.
  "next_file_name" | String   - Next file specification used as a parameter
                   |            when invoking DECTPU.
                   |  0       - If no file was specified when invoking DECTPU,
                   |            or when there are no more files.
  "nomodify"       | (1 or 0)   Returns 1 if /NOMODIFY was used on the command
                   |            line, 0 if /MODIFY was used or if neither
                   |            qualifier was used.
  "output"         | (1 or 0) - Indicates whether /OUTPUT was used when
                   |            invoking DECTPU; returns 1 if defaulted
                   |            to /OUTPUT.
  "output_file"    | String   - File specified with /OUTPUT=.
  "read_only"      | (1 or 0) - Indicates whether /READ_ONLY was used when
                   |            when invoking DECTPU.
  "recover"        | (1 or 0) - Indicates whether /RECOVER was used when
                   |            invoking DECTPU.
  "section"        | (1 or 0) - Indicates whether /SECTION was used when
                   |            invoking DECTPU; returns 1 if defaulted
                   |            to /SECTION.
  "section_file"   | String   - File specified with /SECTION=.
  "start_character"| Integer  - Character number specified by /START_POSITION
                   |            (default is 1).
  "start_record"   | Integer  - Record number specified by /START_POSITION
                   |            (default is 1).
  "work"           | (1 or 0) - Indicates whether /WORK was used when
                   |            invoking DECTPU; returns 1 if defaulted
                   |            to /WORK.
  "work_file"      | String   - Name of the work file specified at invocation
                   |            time using the /WORK qualifier.  If /WORK
                   |            is not specified, the returned string is
                   |            "TPU$WORK".
  "write"          | (1 or 0) - Returns 1 if /NOREAD_ONLY, /WRITE, or neither
                   |            /WRITE nor /NOWRITE were used when invoking
                   |            DECTPU; returns 0 if /READ_ONLY or /NOWRITE
                   |            were used when invoking DECTPU.
Close Help