[z/OS]

Invoking the z/OS Profile Management Command Line tool

The shell script file that you run with the response file needs to conform to syntax that is outlined in this topic.

Running the shell script

The zpmt.sh shell script is located in the smpe_install_root/bin or was_home/bin directory.

Definition of shell script syntax

These three attributes need a dataset or path following to be complete.
-responseFile
Specifies the path to your response file
-profilePath
A fully qualified path name to an existing set of generated jobs. May not be used in combination with the -responsefile option.
-workspace
Specifies the Eclipse work space directory. (The Profile Management Command Line tool is an Eclipse-based tool.)
-transfer
Copy generated jobs from a UNIX System Services (USS) filesystem to a pair of partitioned data sets. (The Profile Management Command Line tool first writes the customization jobs to a USS filesystem.)
-allocate
Attempts to allocate the target datasets. Can not be used without the transfer option.

Data sets are determined by appending the values ".CNTL" and ".DATA" to the zTargetHLQ value for the profile containing the jobs that are being copied. This operation overwrites existing files of the same name in those datasets.

Sample syntax

The following examples describe typical command lines with attributes for the Profile Management Command Line tool. In these examples /xxx can be any directory that the user invoking zpmt.sh has r/w access to.

  1. zpmt.sh -workspace /xxx -transfer -allocate -responseFile /xxx/ZCellcmd.responseFile. This will:
    • Generate the customization jobs to the location specified by profilePath in the response file
    • Allocate the target CNTL and DATA datasets, using the high level qualifier specified by targetHLQ in the response file
    • Transfer the jobs from the file system to the CNTL and DATA datasets
  2. zpmt.sh -workspace /xxx -responseFile /xxx/ZAppSrvcmd.responseFile
    • This will generate the customization jobs to the location specified by profilePath in the response file.
  3. zpmt.sh -workspace /xxx -allocate -transfer -profilePath /xxx/ZAppSrvcmd This will:
    • Allocate the target CNTL and DATA datasets, using the high level qualifier specified by targetHLQ in the response file
    • Transfer the generated jobs at the location specified by profile path to those datasets
    Note: This usage assumes the jobs have already been generated with a previous invocation of zpmt.sh
  4. zmt.sh -workspace /xxx -transfer -responseFile /xxx/ZDmgrcmd.responseFile
    • This will transfer the generated jobs from location profilePath in the response file, to the generated CNTL and DATA datasets.
    Note: This usage assumes that the jobs have already been generated with a previous invocation of zpmt.sh, and that the target CNTL and DATA datasets have already been allocated



Reference topic Reference topic    

Terms and conditions for information centers | Feedback

Last updatedLast updated: Aug 31, 2013 4:28:44 AM CDT
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=pix&product=was-nd-mp&topic=rins_zpmtsh_cmdl
File name: rins_zpmtsh_cmdl.html