All of these questions are answered in the IEFSSI QUERY description in the MVS 
Programming: Assembler Services Reference, Volume 2 (IAR-XC manual:

WORKAREA=workarea
A required parameter that specifies a name (or register containing the address) 
of a pointer output
field that contains the address of the subsystem information returned by the 
QUERY request.
The output area is mapped by the IEFJSQRY macro. The JQRYLEN field contains the 
length of the
output area.
,WORKASP=workasp
An optional parameter that specifies a name (or register containing the 
address) of a one-byte input
field that specifies the subpool that the SSI uses to obtain a work area for 
the returned subsystem
information. The caller is responsible for freeing this work area.
IBM recommends that you use a job-related or task-related subpool. This allows 
the system to free
the associated storage when the job or task ends, if the caller does not free 
the returned area.
If WORKASP is not specified, the caller's subpool zero is used. Storage for the 
query information is
obtained above 16 megabytes. AMODE 24 callers must switch into AMODE 31 to 
address this storage.
Unauthorized callers may request storage only in the following unauthorized 
subpools:
• 0-127
• 131
• 132


Bonnie Ordonez

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to