To bind from JCL

  1. In your JCL, code a DSN statement followed by appropriate BIND statements.
    //SYSTSIN  DD *
      DSN SYSTEM(XAResourceName) 
      BIND bindArguments
      [BIND...]
      END

    For example:

    //SYSTSIN  DD *
      DSN SYSTEM(HCODemo) 
      BIND PLAN(TWOPACKAGESET) ACTION(REPLACE) LIBRARY(DBRMLIB) -
      MEMBER(TWOPACKAGESET) QUALIFIER(PROD) 
      END
  2. Save your JCL.
Note: For a listing of DSN commands supported by HCOSS, see the topic Bind Script Commands.