2 – Prepare Installation IMAGE from TRS File
Use this procedure to prepare an installation IMAGE from the TRS file.
2.1 – Transfer the INSTALL.TRS file using FTP Binary
-
Using FTP, upload file INSTALL.TRS from the TRS file to the target system, using BINARY format.
-
The name of the uploaded dataset must be the name set for upload dataset name in the Installation Upload and IMAGE Datasets Parameters table.
-
The uploaded dataset should be pre-allocated with LRECL=1024, BLKSIZE=6144, RECFM=FB
-
The dataset size is approximately 45 cylinders on a 3390 device.
-
-
At the command prompt, specify the following commands to upload the dataset:
FTP <mvssystem>
where
<mvssystem>
is the DNS name of your host system. -
Specify the user ID and password or phrase; specify the following commands:
Copybin
put <drive>:\TSS\Install\install.trs
'<upload_dataset_name>'
2.2 – UNCOMPRESS the TRS file
Important
Wait for the previous installation job to finish before continuing with this procedure.
-
Tailor the following TRSMAIN job. Replace
upload_dataset_name
and %xmitlib% with the values set in the Installation Upload and IMAGE Datasets Parameters table.Copy//UNTERSE JOB ,'UNTERSE',CLASS=A,MSGCLASS=X
//*
//UNTERSE EXEC PGM=TRSMAIN,PARM=UNPACK
//SYSPRINT DD SYSOUT=*
//INFILE DD DISP=SHR,DSN=<upload_dataset_name> <== Customize
//OUTFILE DD DISP=(NEW,CATLG),UNIT=SYSALLDA,
// DSN=%xmitlib%, <== Customize
// SPACE=(CYL,(120,10,10),RLSE) -
Run the job.
The job step should end with a condition code of
0
.
2.3 – Tailor the $RECEIVE Job
Important
Wait for the previous installation job to finish before continuing with this procedure.
-
Edit the $RECEIVE member in the%xmitlib% library. The job performs RECEIVE operations to convert the uncompressed files from XMIT format to the installation IMAGE format.
-
Replace %xmitlib%, %instpref%, %UNIT% and %VOLSER% with the values set in Installation Upload and IMAGE Datasets Parameters.
Note
Verify that your SMS does not impose attributes on the installation files by SMS DATACLAS or by pre-allocation.
2.4 – RECEIVE the Installation IMAGE
-
Run the $RECEIVE job.
All job steps should complete with a condition code of
0
. -
Check the job output and verify that all RECEIVE and COPY instructions ended successfully and all members were received and copied.