Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
PQUERY—obtain panel information z/OS ISPF Services Guide SC19-3626-00 |
|
The PQUERY service returns information for a specified area on a specific panel. The type, DYNAMIC or GRAPHIC, size, and position characteristics associated with the area are returned in variables. Command invocation format>>-ISPEXEC--PQUERY--PANEL(panel-name)--AREANAME(area-name)------> >--+--------------------------+--+------------------------+-----> '-AREATYPE(area-type-name)-' '-WIDTH(area-width-name)-' >--+------------------------+--+----------------------+---------> '-DEPTH(area-depth-name)-' '-ROW(row-number-name)-' >--+----------------------------+------------------------------>< '-COLUMN(column-number-name)-' Call invocation format>>-CALL--ISPEXEC--(buf-len,--buffer);-------------------------->< or >>-CALL--ISPLINK--('PQUERYbb'--,--panel-name,--area-name--------> >--,-+-area-type-name-+--,-+-area-width-name-+------------------> '-'b'------------' '-'b'-------------' >--,-+-area-depth-name-+--,-+-row-number-name-+-----------------> '-'b'-------------' '-'b'-------------' >--,-+-column-number-name-+-);--------------------------------->< '-'b'----------------' Parameters
If the panel uses a variable for the WIDTH keyword value on the BODY header, such as )BODY WIDTH(&WID), that variable must be set before invoking the PQUERY service. Return codesThese return codes are possible:
ExampleFor the area named AREA1 on panel XYZ, return the number of columns
in variable PQCOLS and the area type in variable ATYPE.
Set the program variable
BUFFER to contain:
Set
program variable BUFLEN to the length of the variable BUFFER. Issue
the command:
or alternately
|
Copyright IBM Corporation 1990, 2014
|