GIMGTPKG checks the required and optional DD statements that were
specified, opens the data sets, and ensures they have the correct
attributes.
The remainder of GIMGTPKG processing is much like that for the
RECEIVE FROMNETWORK command with TRANSFERONLY (see the RECEIVE Command
topic in
SMP/E for z/OS Commands).
Briefly, this processing includes the following activities:
- The SMPSRVR and SMPCLNT data sets are read and analyzed. For comparison
to the RECEIVE FROMNETWORK command, SMPSRVR is analogous to the SERVER
data set and SMPCLNT is analogous to the CLIENT data set.
- The package directory is a specific subdirectory of the SMPNTS
directory and is the destination on the local host for the GIMZIP
package files to be stored. The name of this subdirectory is the package-id
value from the SMPSRVR data set. If the package directory does not
already exist, then it is created.
- Each of the files in the GIMZIP package on the FTP or HTTP(S) server
are retrieved and stored in the package directory created in the previous
step. Each file is verified by computing an SHA-1 hash value for the
file.
- After all files have been transferred successfully, then, if any
archive files in the package have been segmented, the segments are
combined to create complete archive files.