The Tape Preferencing and Control Facility (TPCF) of CA MIA Tape Sharing provides an API. This API is available in an ADDRESS environment as ADDRESS TPCF.
Using this ADDRESS instruction, you can pass a single device address and receive a stack record describing the status for that device.
The returned data contains bit‑level flags and binary fields. To enhance the availability of ADDRESS TPCF, CA‑GSS provides a service routine called $SRV_TPCF. You can call this service routine as an external subroutine from an IMOD. The invoking argument consists of a device address, several device addresses (separated by commas), a range of device addresses (separated by hyphens), or a combination of the preceding. The results are returned on the stack, one device per line, with all fields converted to standard REXX‑type display and computational values.
Note: For a complete description of $SRV_TPCF, see the Reference Guide.
| Copyright © 2011 CA. All rights reserved. | Tell Technical Publications how we can improve this information |