Microsoft KB Archive/48736

From BetaArchive Wiki
< Microsoft KB Archive
Revision as of 19:24, 12 August 2020 by X010 (talk | contribs) (X010 moved page Microsoft KB Archive/Q48736 to Microsoft KB Archive/48736 without leaving a redirect: Text replacement - "Microsoft KB Archive/Q" to "Microsoft KB Archive/")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

ANIMATOR’s END Directive Inputs COMMAND-LINE Parameters

PSS ID Number: Q48736 Article last modified on 06-21-1990

3.00 3.00a | 3.00 3.00a MS-DOS | OS/2

Summary: The ANIMATOR (ANIMATE.EXE for MS-DOS and PANIMATE.EXE for OS/2), supplied with Microsoft COBOL Compiler versions 3.00 and 3.00a, lets you pass a COBOL program’s command-line invocation parameters (if any) after the ANIMATOR’s END directive. If you mistakenly pass a COBOL program’s command-line parameters without first specifying the ANIMATOR’s END directive, the ANIMATOR considers the command-line parameters to be extra parameters for itself instead of for the COBOL program.

More Information: END indicates the end of the ANIMATOR directives. This directive can be followed by text for use in ACCEPT data-name FROM function-name statements, where function-name is defined in the SPECIAL-NAMES paragraph with the clause COMMAND-LINE IS function-name. The COMMAND-LINE function-name returns the command line with which the COBOL program was invoked. The ANIMATOR’s END directive is documented on Page 3-4 of the “Microsoft COBOL Compiler 3.0: Operating Guide”.

Copyright Microsoft Corporation 1990.