The OPSCA7 function lets you issue CA 7 commands from within your OPS/REXX programs. The OPSCA7 function cannot be used in rules.
Note: The OPSCA7 function can be used only in OPS/REXX.
This function has the following format:
RC = OPSCA7(“[/LOGON userid;]command{;cmds}{;/LOGOFF}”)
(Optional) This argument allows CA 7 security to authorize a command based on the specified userid.
For more information about this argument, see the CA 7 Security Guide.
This argument specifies the commands to be issued to CA 7.
OPSCA7 calls the U7SVC program. By default the U7SVC program communicates with instance CA71, but you can specify the parameter CA7=CA7n to communicate with another instance.
The same CA7= parameter can be specified in the OPSCA7 function.
RC = OPSCA7("CA7=CA7n;/LOGON=userid;your CA7 command;/LOGOFF")
Note: For the most current information, see the CA7 documentation.
Example: OPSCA7 function
RC = OPSCA7(“/LOGON UID001;DEMAND,JOB=ACTJ001;/LOGOFF”)
| Copyright © 2011 CA. All rights reserved. | Tell Technical Publications how we can improve this information |