Using SWAP NODE through the Batch Interface

To use the SWAP NODE command from the batch interface:

Procedure

  1. Place your commands in the DGADBATC job stream as described in Sample Job Stream to Run the Batch Interface.
  2. Submit the job while IBM® Connect:Direct® is running.
  3. 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
    /*