Skip to main content

IBM Systems  >   System z  >   z/VM  >  

Description of CPHOST

Download count: 19 this month, 990 altogether.

Downloads for CPHOST:
VMARC archive: v-22K

The CP1HOST package is an improved version of CP1STLVL, the author of the original program and documentation is by Tim Greer.

Shimon Lebowitz applied some changes to the first version of Tim's package. I, Kris Buelens, reworked them to fit them in Tim's version for z/VM 5.2.
As Tim lacks time to incorporate them in his version, he agreed that we make the improved version available on the download lib.

Overview

Two main changes can attract you
  1. The response of the first level CP can be placed in a buffer at the second-level. That is, you can grab the response using PIPE, EXECIO or Rexx's DIAG(8) function.
  2. The return code of the first level CP becomes the returncode of the second-level command. Three special returncodes -in the 30000 range- are from CPHOST itself.

Changes

Modifications in 1.1 (March 2007)

The code was compiled for z/VM 5.3 too.  The surrounding execs recognize both z/VM 5.2 and z/VM 5.3.