SMP/E for z/OS User's Guide
Previous topic | Next topic | Contents | Index | Contact z/OS | Library | PDF


Example

SMP/E for z/OS User's Guide
SA23-2277-01

After you complete the necessary steps to configure your system to enable the SMP/E RECEIVE ORDER command, you can run an SMP/E RECEIVE ORDER job like the following:
   //jobname JOB ...,REGION=0M
   //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 BDY(GLOBAL).
     RECEIVE SYSMODS HOLDDATA
             ORDER(ORDERSERVER(ORDSRVR)
             CLIENT(MYCLIENT)
             CONTENT(RECOMMENDED))
             DELETEPKG.
   /*
   //ORDSRVR DD *
     <ORDERSERVER
       url="https://eccgw01.boulder.ibm.com/services/projects/ecc/ws/"
       keyring="keyringname"
       certificate="SMPE Client Certificate">
      </ORDERSERVER>
   /*
   //MYCLIENT DD *
      <CLIENT
       javahome="/usr/lpp/java/J1.4"
       classpath="/usr/lpp/smp/classes"
       javadebugoptions="-Dcom.ibm.smp.debug=severe -showversion">
       <HTTPPROXY host=”local.httpproxy.com”>
       <FTPOPTIONS>-v -f "//'USER1.FTP.DATA'"</FTPOPTIONS>
       </HTTPPROXY>
       <FIREWALL>
         <SERVER host=”local.ftpproxy.com”> </SERVER>
         <FIRECMD>&REMOTE_USER;@&REMOTE_HOST;</FIRECMD>
         <FIRECMD>&REMOTE_PW;</FIRECMD>
       <FIREWALL>
     </CLIENT>
   /*
Note: An alternative URL for the IBM Automated Delivery Request server is https://eccgw02.rochester.ibm.com/services/projects/ecc/ws/.

This sample job instructs SMP/E to order and then download all recommended (RSU) PTFs that are applicable to the target zones defined in your global zone. See the RECEIVE topic in SMP/E for z/OS Commands for details of the RECEIVE ORDER command.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014