(ZOS) copyZOS.sh script file
The copyZOS.sh script is used to copy selected WebSphere Application Server product files from the product file system into MVS™ partitioned data sets.
We must install WAS for z/OS v9.0 before we can use the copyZOS.sh script file.
The copyZOS.sh script copies the specified group of files into a partitioned data set. If this data set does not exist, the copyZOS.sh script creates the data set with the correct specifications on SMS managed volumes. To see the data set specifications for each output data set, run the copyZOS.sh script file with no arguments.
The copyZOS.sh script file is located in the product file system bin directory, for example: /usr/lpp/WebSphere/AppServer/V9R0/bin, and in each node's WAS_HOME/bin directory.
Syntax
copyZOS.sh file_type dsname
Parameters
file_type
The files to copy. The files are as follows:
- EXEC
Populates a partitioned data set with the WAS sample CLIST scripts and REXX execs. The output data set should have variable length records with LRECL=255.
- JCL
Populates a data set with the WAS sample jobs and parmlib members. The output data set should have fixed-length records with LRECL=80.
- NLS
Populates a data set with the WAS NLS message files. The output data set should have variable length records with LRECL=255.
- OLAMODS
Populates a data set with the load modules required for our client program to use WAS optimized local adapters. The output data set should be a load module PDS-E.
- OLASAMPS
Populates a data set with the sample jobs and input files for the WAS optimized local adapters. The output data set should have fixed-length records with LRECL=80.
dsname
Partitioned data set to which the files are copied. If the data set does not exist, the data set is created during the execution of the job.
Example
# cd /usr/lpp/WebSphere/AppServer/V9R0/bin # copyZOS.sh EXEC WAS.V9R0.EXEC
Planning to use optimized local adapters for z/OS Enable the server environment to use optimized local adapters