Using allocated resources

You can use the names of allocated resources (such as cache lists, data queues, data space storage, or CICS storage) in the input fields of a MAL.

If the field contains subfields, as described in Subfields, you need enter only the resource name in the first field; the COD0 debugging transaction determines the other field types and fills them in for you. For information on allocating resources, see ALLOC (allocating a resource).

For example, you could use the ALLOC command to allocate 4K of data space storage to the resource called /workara, as shown in Figure 1.
Figure 1. Using ALLOC to allocate a resource
 COD1 CICSPlex SM Debugger
 CMD=> ALLOC /workara EPTR 4096                                   Scroll=> PAGE
 
 IN
 
Figure 2 shows the allocated resource, /workara, being used as input to a MAL.
Figure 2. Using an allocated resource in a MAL
 COD1 CICSPlex SM Debugger
 CMD=>                                                            Scroll=> PAGE
 
 IN
    *ENM FUNCTION( TEST )
     CHR DEBUG(          )
     EPT OUT_ADDR(A= /workara   O=         )
 
The COD0 debugging transaction places the ALET of the allocated storage area into the A= field; the offset is automatically entered in the O= field.


eyus1e8.html | Timestamp icon Last updated: Monday, 5 June 2017