The MIMAPI1 module returns information to an output data area that you previously defined. Define the data area as follows:
Task mode, key 8, AMODE 31 or AMODE 24, RMODE 24 or RMODE ANY.
The entry environment is preserved and restored upon return.
Contains the address of the parameter list, in the following format:
Address of the local or global unit name of the device for which you wish to obtain information. If PARMRLSE=PARMR41 (X'040100') or higher, then PARML1 must point to a right-justified 4-character field. For example, to request a match on device 380, PARML1 points to C' 380', where a blank space precedes 380.
Contains the address of the receiving area. The INFOAREA DSECT in the API1CPY1 member defines the format for this area.
This contains additional processing instructions. You can specify the following values here:
80 PARMLATM–This runs the MIMAPI1 module in protected mode. Use of this option involves an amount of additional overhead on each request.
40 PARMLARC–When running in the protected mode, this records abend information in the SYS1.LOGREC data set.
20 PARMR20–The format of the returned data has changed for CA MIA Release 4.0. The API does not support requests for data format for releases prior to 4.0. You must convert your API calls to use the new parameter lists.
10 PARMMULT–This is a multiple device request that tells MIMAPI1 to obtain the number of devices to return as specified in the PARMNREQ field.
08 PARMRLSF–The release number is in PARMRLSE.
0F PARMLARS–Reserved flags.
Reserved.
This is where you specify how many devices should be returned.
This field indicates how many devices actually were returned.
This field shows the release number format (right justified).
40 PARMR40–Release 4.0 format.
040100 PARMR41–Release 4.1 format.
040200 PARMR420–Current format.
Contains the address of the 18-word save area.
Contains the return address of the invoking program.
Contains the address of the interface module.
All other registers are undefined.
Contains the four-byte global name of the device.
Contains the local UCB name (right-justified) from the UCB on this z/OS system.
Contains the volser of the volume mounted on the device.
Contains the preference value assigned to the device in EBCDIC. Valid values are C'0001' through C'0255'. If PREF=NONE, the value is C' '. The default value is C' '.
Contains the TPCF preferencing status assigned to the device. One or more of these values is shown:
The device is dedicated to the local system.
The device is dedicated to an external system.
The device has not-available status on the local system.
The device has overgenned status on the local system.
Contains the device types for this system:
Indicates that the device type is 3420.
Indicates that the device type is 3480.
Indicates that the device has Automatic Cartridge Loader (ACL) installed.
Indicates that the device has ACL installed and activated.
Indicates that the device type is 3480/3490 with IDRC.
Indicates that the device type is 3490.
Indicates that the device type is 3495.
Indicates that the device type is 3590.
Contains the job name or jobmask, if the device is reserved. If it is not reserved, then the value is CL8' '.
Contains the machine length of the job name or jobmask (0-7).
This identifies the systems on which the device is reserved. If it is reserved on all systems, then the value is CL8'ALL'. If it is not reserved, then the value is CL8' '.
If this device is allocated, then this contains the job name the device is allocated to. If the device is not allocated, then this field contains the value CL8' '.
This contains 8 bytes of user data information or nulls.
Contains the length of the user data returned in the previous field.
Contains the index of the local system in the table of systems that is returned in the field at +50. The index is 0-based. The value ranges from 0-31.
Reserved.
Contains the mask of known systems.
Contains the mask of freed systems.
Contains the Autopath host name of the device (right justified), or null if not Autopath-managed.
Reserved.
System name and flag bytes from each system. These contain the eight-byte system name and two-byte device status for each system. This information is shown once per system. When you are running fewer than 32 systems, nulls are inserted for the entries for undefined systems. The flag byte definitions for the two-byte device status are shown next.
CL8' ',XL2'00'
CL8' ',XL2'00'
CL8' ',XL2'00'
CL8' ',XL2'00'
CL8' ',XL2'00'
CL8' ',XL2'00'
CL8' ',XL2'00'
CL8' ',XL2'00'
CL8' ',XL2'00'
CL8' ',XL2'00'
CL8' ',XL2'00'
CL8' ',XL2'00'
CL8' ',XL2'00'
CL8' ',XL2'00'
CL8' ',XL2'00'
CL8' ',XL2'00'
CL8' ',XL2'00'
CL8' ',XL2'00'
CL8' ',XL2'00'
CL8' ',XL2'00'
CL8' ',XL2'00'
CL8' ',XL2'00'
CL8' ',XL2'00'
CL8' ',XL2'00'
CL8' ',XL2'00'
CL8' ',XL2'00'
CL8' ',XL2'00'
CL8' ',XL2'00'
CL8' ',XL2'00'
CL8' ',XL2'00'
CL8' ',XL2'00'
CL8' ', XL2'00'
First flag byte:
The device is dedicated to this system.
The device is dedicated to another system.
The device has not-available status on this system.
The device has overgenned status on this system.
The device is allocated on this system.
The device is online to this system.
The device has a mount pending on this system.
The device is reserved for a job or group of jobs on this system.
Second flag byte:
The device is pending offline on this system.
Reserved flags.
This indicates that the MIMAPI1 module has placed device information in the specified data area.
This indicates that CA MIA is not managing the device.
This indicates that the data format you requested is incompatible with the release of CA MIA that you are running. The MIM1API1 module returns as much data to the user as is possible.
This indicates that CA MIA is not running or is not synchronized.
This indicates that the MIMAPI1 module cannot obtain the GETMAIN storage needed to create the ESTAE exit parameter list.
Note: This return code appears only in test mode.
This indicates that the MIMAPI1 module cannot establish an ESTAE exit.
Note: This return code appears only in test mode.
This indicates that the MIMAPI1 module encountered an abend, probably due to receiving a system abend 0C4 when moving data to the specified data area.
Note: This return code appears only in test mode.
Note: ALL registers (except 0, 1, and 15) are restored upon return.
| Copyright © 2011 CA. All rights reserved. | Tell Technical Publications how we can improve this information |