[z/OS]

Configuring z/OS application-serving environments with the zpmt command

You can configure WebSphere® Application Server for z/OS® application-serving environments for your z/OS target systems using the zpmt command. The zpmt command creates the same batch jobs and data files as the workstation-based Profile Management Tool, but the command runs under z/OS rather than on a workstation.

Before you begin

About this task

The zpmt command is an alternative to the workstation-based Profile Management Tool, which is launched from the WebSphere Customization Toolbox. You can use this command if you do not have a Windows or Linux workstation available to run the WebSphere Customization Toolbox or if you need to automate the generation of the WebSphere for z/OS customization jobs. You launch this command on the z/OS system that you need to configure using a shell script.

Configuring a WebSphere Application Server for z/OS application serving environment consists of setting up the WebSphere Application Server for z/OS configuration directory for the environment, making any required changes to the z/OS target system that pertain to the particular application serving environment, and starting the new environment to verify the configuration. Configuring these application serving environments after product installation requires a fair amount of planning and coordination. If you have not previously configured WebSphere Application Server for z/OS, you should configure a practice standalone application server using the sample response file. Then proceed to configure the actual product configuration that you want. See the sample files below for more information.

WebSphere Application Server for z/OS application serving environment nodes are created using batch jobs that are build with the Profile Management Tool or the zpmt command. After the node is configured and running, make further changes using the administrative console or scripting tool.

After you have installed the WebSphere Application Server for z/OS product, prepared your z/OS target systems, and planned your WebSphere Application Server for z/OS environment, perform the tasks in this section to configure needed response files.

Procedure

  1. Follow the directions for the type of response file that you want to configure. If you have already prepared a response file, proceed to the next step.
  2. On your target z/OS system, run the zpmt.sh shell script using your prepared response file. This tool will create the .CNTL and .DATA files needed to run the required jobs. The response file needs to be located in the UNIX (USS) file system. For command syntax, refer to the zpmt.sh shell script file: zpmt command.
  3. Follow the instructions in the xxxxxINS member of the .CNTL data to create the application serving environment.

What to do next

When your application serving environment is running, you can install and test your applications. You might also want to configure your web servers to interact with WebSphere Application Server for z/OS.
Tip: If you configured WebSphere Application Server for z/OS using the English zpmt command and want to allow the display of Japanese characters correctly in your environment, you need to modify some script files.
  1. Edit the setupCmdLine.sh file

    from: CONSOLE_ENCODING="-Dws.input.encoding=cp1047 -Dws.output.encoding=cp1047"

    to: CONSOLE_ENCODING="-Dws.input.encoding=cp1399 -Dws.output.encoding=cp1399"

  2. Edit the wsadmin.sh file

    from: EXTRA_D_ARGS="-Dfile.encoding=ISO8859-1

    to: EXTRA_D_ARGS="-Dfile.encoding=IBM-932

Making these two changes will enable you to see the Japanese messages correctly.
Task topic    

Terms and conditions for information centers | Feedback

Last updated: April 20, 2014 09:59 PM CDT
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=phil&product=was-nd-zos&topic=tins_confpmt_cmdl
File name: tins_confpmt_cmdl.html