SMP/E for z/OS Commands
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Example 9: Downloading a pending order

SMP/E for z/OS Commands
SA23-2275-01

The following is an example RECEIVE command to download the package for an order that is in a pending state.
//jobname  JOB ...
//RECEIVE  EXEC PGM=GIMSMP
//SMPCSI   DD DSN=SMPE.GLOBAL.CSI,DISP=SHR
//SMPNTS   DD PATH='/u/smpe/smpnts/',PATHDISP=KEEP
//SMPOUT   DD SYSOUT=*
//SMPRPT   DD SYSOUT=*
//SYSPRINT DD SYSOUT=*
//SMPCNTL  DD *
  SET      BOUNDARY(GLOBAL).
  RECEIVE  SYSMODS HOLDDATA
           ORDER(
           PENDING(ORD00035) /* Get the specified pending order  */
           CLIENT(MYCLIENT)
                ).
//MYCLIENT DD*
  <CLIENT
    javahome="/usr/lpp/java/J1.4"
    classpath="/usr/lpp/smp/classes">
  </CLIENT>
/*

In this example, SMP/E determines if the HOLDDATA or PTF order associated with the specified ORDER entry is ready for downloading and, if so, downloads the ORDER package.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014