To use the SWAP NODE command from the batch interface:
-
Place your commands in the DGADBATC job stream as described in Sample Job Stream to Run the Batch Interface.
-
Submit the job while IBM® Connect:Direct® is running.
-
Verify your results.
For example, the following command swaps you from your current active remote node with a
user ID of JONES2 to the local node under the user ID of JONES1:
//SYSIN DD *
SIGNON USERID = (JONES1) -
NODE = CD.LOCAL
SIGNON USERID = (JONES2) -
NODE = CD.REMOTE
SWAP NODE CD.LOCAL
SELECT NETMAP WHERE(NODE=CD.LOCAL)
SIGNOFF
SIGNOFF
/*
|