Previous Topic: Writing Automation REXX Programs

Next Topic: Calling AS400SLR


Calling AS400JMP

Call the AS400JMP program as follows:

CALL AS400JMP sysname
sysname

The AS/400 system name or tag name.

On return, the special REXX variable RESULT contains the automation session name for the current AS/400 system name specified, and the session is bound. When your procedure is finished, it must call UNBIND. If AS400JMP is unable to locate the specified system, it returns the name ERROR instead of a session name. You do not need to call UNBIND in this case.