Re: New "base document" available




"Roger While" <simrw@xxxxxxxxxxxx> wrote in message
news:eujplg$e11$02$1@xxxxxxxxxxxxxxxxxxxx
ARGUMENT-NAME/NUMBER are MF inventions.
Question remains.

It's ARGUMENT-NUMBER and ARGUMENT-VALUE
and these are the terms used in "X/Open CAE Specification
COBOL Language" (c) December 1991, X/Open Company
Limited. [This document is available in PDF from
< www.opengroup.org >; but requires registration.]

Page 166, "8.6 ACCESS TO COMMAND LINE
ARGUMENTS AND ENVIRONMENT VARIABLES
Function
The following formats of the ACCEPT statement retrieve
the number of arguments on the command line and the value
of a command line argument or an environment variable.
The following formats of the DISPLAY statement specify
the position of an argument within the command line, the
name of an environment variable and store a value in the
specified environment variable."

[Four pages of text (formats, rules, and examples)
not reproduced here.]

Micro Focus appears to deviate from the specification
by allowing the names to be used, directly, in ACCEPT
and DISPLAY statements, rather than only in the
SPECIAL-NAMES paragraph.



.



Relevant Pages

  • Re: New "base document" available
    ... per X/Open/MF/ACU or whatvever. ... "8.6 ACCESS TO COMMAND LINE ... ARGUMENTS AND ENVIRONMENT VARIABLES ... The following formats of the DISPLAY statement specify ...
    (comp.lang.cobol)
  • Re: New "base document" available
    ... those implementations that ... How do I compatibitly retrieve command parameters. ... ARGUMENTS AND ENVIRONMENT VARIABLES ... The following formats of the DISPLAY statement specify ...
    (comp.lang.cobol)
  • Re: New "base document" available
    ... How do I compatibitly retrieve command parameters. ... ARGUMENTS AND ENVIRONMENT VARIABLES ... The following formats of the DISPLAY statement specify ...
    (comp.lang.cobol)
  • Re: A more structured approach
    ... I still find Gas fairly cryptic, but I haven't spent much time with it. ... If we started with no command line parameters, this would point at an environment variable, If we started with one or more command line parameters, this might point to one of them, or to the zero that separates command line args from environment variables. ... I suspect what you tried that *didn't* work was a memory to memory compare "cmpb, ...
    (alt.lang.asm)
  • Re: Failed running .bat file from WinXP Explorer
    ... If you use>> anything to the right will be echoed in the command prompt. ... typed in a Command or Run window. ... What does PATHEXT show? ... System environment variables are in the following Registry key: ...
    (microsoft.public.windowsxp.general)