The TOKEN argument performs all ARM functions for an abstract element after the REGISTER call, such as READY and DEREGISTER. This value is of no practical automation use for the job or started task elements since all ARM requests must be issued in the original registered address space.
The REGISTER request creates and returns the TOKEN value in the REXX output variable OPSRMTOKEN. This requests requires that you specify the TERMTYPE parameter CURSYS. The OPSRMTOKEN variable and the TOKEN argument values are 32-character hexadecimal numbers.
Example: ARM abstract element REGISTER and READY call
arc = opsarm('REGISTER',armjob,,'CURSYS')
If arc < 8 Then Do
arc = opsarm('READY',opsrmtoken)
…
End
| Copyright © 2012 CA. All rights reserved. | Tell Technical Publications how we can improve this information |