Example of using GIMZIP

Suppose a GIMZIP package is to be created containing the following data sets, files, and directories:
The following job stream can be used to create such a GIMZIP package:
Figure 1. GIMZIP exampleStart of change
//JOBx     JOB …
//STEP1    EXEC PGM=GIMZIP,PARM='SEGMENT=12M'
//SMPDIR   DD PATH='/u/smpe/GIMZIP/ORDER123/',PATHDISP=KEEP
//SMPCPATH DD PATH='/usr/lpp/smp/classes/',PATHDISP=KEEP
//SMPJHOME DD PATH='/usr/lpp/java/J6.0/',PATHDISP=KEEP
//SMPOUT   DD SYSOUT=*
//SYSPRINT DD SYSOUT=*
//SYSUT2   DD UNIT=SYSALLDA,SPACE=(CYL,(200,20))
//SYSUT3   DD UNIT=SYSALLDA,SPACE=(CYL,(50,10))
//SYSUT4   DD UNIT=SYSALLDA,SPACE=(CYL,(25,5))
//SYSIN    DD *
<GIMZIP description="This is a sample software package.">

   <!-- This sample package contains the files shown later. -->  
   <FILEDEF name="/SAMPLE/ORDER123/readme.html"
           archid="readme.html"
           description="This is the README file for the package."
           subdir="README"
           type="README">
  </FILEDEF>

<FILEDEF name="/SAMPLE/ORDER123/SMPMCS"
           description="This is the SMPMCS file for ORDER123."
           archid="SMPMCS"
           type="SMPPTFIN">
  </FILEDEF>

  <FILEDEF name="SAMPLE.IBM.FMID001.F1"
           archid="FMID001.F1"
           description="This is SMP/E RELFILE 1 for FMID001."
           type="SMPRELF">
  </FILEDEF>

  <FILEDEF name="SAMPLE.IBM.FMID001.F2"
           archid="FMID001.F2"
           description="This is SMP/E RELFILE 2 for FMID001."
           type="SMPRELF">
  </FILEDEF>

  <FILEDEF name="SAMPLE.ORDER123.DOCLIB"
           subdir="DOCLIB"
           description="This is the Document Library for the package.">
  </FILEDEF>

  <FILEDEF name="SAMPLE.ORDER123.RIMLIB"
           subdir="RIMLIB"
           description="This is the Related Installation Materials
                        Library for the package.">
  </FILEDEF>

  <FILEDEF name="SAMPLE.ORDER123.MVS.GLOBAL.CSI"
           archid="GLOBAL"
           description="This is a sample VSAM cluster.">
  </FILEDEF>

  <FILEDEF name="/SAMPLE/ORDER123/RootHFS/"
           description="This is the entire root directory.">
  </FILEDEF>

  </GIMZIP>
/*
End of change
Note: Blank lines and spaces have been added to the package control tags for clarity, but are not required.