Each REXX program that calls the BIND.cmd program must also call UNBIND.cmd to unbind the session when the calling program terminates. Otherwise, no other REXX programs can run in that session.
To unbind a CA Automation Point session, insert the following statement at the end of the REXX program that issued the bind request:
CALL UNBIND sessname
This statement releases the session, allowing it to process other REXX programs.
When the BIND and UNBIND REXX programs execute, they generate one of the following return codes:
Code |
Meaning |
---|---|
0 |
Successful execution |
4 |
Syntax error |
20 |
Time expired (BIND) |
Copyright © 2012 CA. All rights reserved. |
|