How to: |
A procedure uses -REMOTE BEGIN and -REMOTE END to delimit commands that are sent from an originating server and executed on a target server.
-REMOTE BEGIN
commands
-REMOTE END
where:
Are a set of command lines to be processed by Dialogue Manager and then sent to the target server for execution.
Note: The following conditions apply when using the -REMOTE commands:
-REMOTE BEGIN EXEC SPNAME &PARM1,&PARM2 -REMOTE END
The second command line above is processed by Dialogue Manager (which substitutes real parameters for the amper variables), and sent to the target server. Therefore, the Dialogue Manager procedure (SPNAME) must exist on the target server.
iWay Software |