You can use the OCFX statement to execute statements contained in modules with the language OCF. The following are the two methods for execution:
This section describes both methods and provides a table that lists and describes OCFX status codes.
To execute OCF-language modules at the system prompt, you enter the OCFX statement after the prompt.
Example:
ENTER NEXT TASK CODE: OCFX ddlmod01 version 3 Enter
Syntax
OCFX statement
►►─── OCFX module-name ──┬──────────────────────────┬─┬──────────┬───────────►◄ └─ Version version-number ─┘ ├─ Echo ◄──┤ └─ Noecho ─┘
Parameters
Executes the statements in a command facility source module, produces output, and returns control to the system (the ENTER NEXT TASK CODE prompt returns).
Specifies a specific command facility source module which contains statements you want to execute. The module must have a LANGUAGE attribute of OCF.
Note: For more information about the LANGUAGE parameter of the MODULE statement, see the CA IDMS IDD DDDL Reference Guide.
Specifies a specific version for a load module to be used in an input session. The default version number is 1.
Specifies that the input statements are to be displayed on the screen before the output is displayed.
Specifies that the named module's input statements are not to be displayed. If you use this parameter and also use SET OPTIONS STATUS OFF (see Using SET OPTIONS to Select Options) as the first statement in the module's source code, then the screen displays only non-zero status messages.
Usage
OCFX produces output and then returns control to the system. If output appears on more than one screen, a message in the following format appears at the bottom of each screen:
PAGE nnn— NEXT PAGE:
Nnn is a variable representing the number of the current screen. You can page forward and backward through the screens as follows:
To execute OCF-language modules as part of a system command list (CLIST), you need to do the following:
Note: For more information about CLIST processing, see the CA IDMS System Tasks and Operator Commands Guide.
|
Copyright © 2014 CA.
All rights reserved.
|
|