Suppose a GIMZIP package is to be created containing the following
data sets, files, and directories:
- /SAMPLE/ORDER123/readme.html - A README file.
- /SAMPLE/ORDER123/SMPMCS - an SMP/E MCS file
- SAMPLE.IBM.FMID001.F1 - An SMP/E PDS relative file
- SAMPLE.IBM.FMID001.F2 - An SMP/E PDSE relative file
- SAMPLE.ORDER123.DOCLIB - A PDS containing documents
- SAMPLE.ORDER123.RIMLIB - A PDS containing related installation
materials
- SAMPLE.ORDER123.MVS.GLOBAL.CSI - A VSAM cluster
- /SAMPLE/ORDER123/RootHFS/ - the root directory
The following job stream can be used to create such a GIMZIP package:
Figure 1. GIMZIP example
//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>
/*
Note: Blank lines and spaces have been added to the package control
tags for clarity, but are not required.