File attribute file examples
The following is an example of a file attribute file for a sequential
data set containing modification control statements.
Figure 1. File attribute file (GIMFAF.XML)
example for a sequential data set
<?xml version="1.0" ?>
<FILELIST>
<FILEATTR name="SAMPLE.FMID001.SMPMCS"
description="This is the SMPMCS file for FMID001."
level="02.07.00.35"
type="SMPPTFIN"
dsorg="PS"
recfm="FB"
lrecl="80"
blksize="6160"
allocunits="RECORD"
length="6160"
avgrec="U"
primary="24000">
</FILEATTR>
</FILELIST>
The file attribute file included with the archive for file /CPACTST/DO000029/SMPMCS from
the example in Figure 1 would
look something like this:
Figure 2. File
attribute file example for a UNIX file
<FILELIST>
<FILEATTR
name="/CPACTST/DO000029/SMPMCS"
description="This is the SMPMCS file for DO000029"
level="03.03.00.00"
type="SMPPTFIN"
dsntype="FILE"
dsorg="UFS">
</FILEATTR>
</FILELIST>
The file attribute file included with the archive for VSAM cluster CPACTST.DO000029.MVS.GLOBAL.CSI from
the example in Figure 1 would
look something like this:
Figure 3. File
attribute file example for a VSAM cluster
<FILELIST>
<FILEATTR
name="CPACTST.DO000029.MVS.GLOBAL.CSI"
description="This is an example VSAM cluster for the product."
level="03.03.00.00"
dsorg="VSAM"
dsntype="KSDS"
lreclu="32760"
blksizeu="27998"
recfm="VBS"
primary="2004"
secondary="1"
allocunits="BLOCK"
length="27998">
<DEFINECLUSTER component="DATA">
<OPERAND>KEYS(24 0)</OPERAND>
<OPERAND>RECORDSIZE(24 143)</OPERAND>
<OPERAND>FREESPACE(10 5)</OPERAND>
<OPERAND>CONTROLINTERVALSIZE(8192)</OPERAND>
<OPERAND>CYLINDERS(5 2)</OPERAND>
<OPERAND>SHAREOPTIONS(2 3)</OPERAND>
</DEFINECLUSTER>
<DEFINECLUSTER component="INDEX">
<OPERAND>CONTROLINTERVALSIZE(4096)</OPERAND>
<OPERAND>TRACKS(1 1)</OPERAND>
<OPERAND>SHAREOPTIONS(2 3)</OPERAND>
</DEFINECLUSTER>
</FILEATTR>
</FILELIST>
Note: Blank lines and spaces have been added to the file attribute
file for clarity, but are not necessarily produced by the GIMZIP service
routine, nor are they required.