Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
LMQUERY—give a dialog information about a data set z/OS ISPF Services Guide SC19-3626-00 |
|
The LMQUERY service returns values specified for the LMINIT service parameters that are associated with a given data ID. In this way, LMQUERY provides the dialog with selected information about a data set by showing how the LMINIT parameters were set up when the data ID of that data set was generated. The service sets the contents of the variables named with the information being requested. Blanks are returned in a given variable if no value applies. For example, if DATASET was not used in LMINIT, DATASET in LMQUERY would have blanks. Command invocation format>>-ISPEXEC--LMQUERY--DATAID(data-id)--+-------------------+-----> '-PROJECT(proj-var)-' >--+--------------------+--+--------------------+---------------> '-GROUP1(group1-var)-' '-GROUP2(group2-var)-' >--+--------------------+--+--------------------+---------------> '-GROUP3(group3-var)-' '-GROUP4(group4-var)-' >--+----------------+--+------------------+---------------------> '-TYPE(type-var)-' '-DATASET(dsn-var)-' >--+-----------------+--+--------------------+------------------> '-DDNAME(ddn-var)-' '-VOLUME(serial-var)-' >--+--------------+--+----------------+--+------------------+---> '-ENQ(enq-var)-' '-OPEN(open-var)-' '-LRECL(lrecl-var)-' >--+------------------+--+------------------+-------------------> '-RECFM(recfm-var)-' '-DSORG(dsorg-var)-' >--+------------------+--+------------------------+-------------> '-ALIAS(alias-var)-' '-PASSWORD(password-var)-' >--+----------------------+------------------------------------>< '-OVOLUME(ovolume-var)-' Call invocation format>>-CALL--ISPLINK--('LMQUERYb'--,data-id--,-+-proj-var-+---------> '-'b'------' >--,-+-group1-var-+--,-+-group2-var-+--,-+-group3-var-+---------> '-'b'--------' '-'b'--------' '-'b'--------' >--,-+-group4-var-+--,-+-type-var-+--,-+-dsn-var-+--------------> '-'b'--------' '-'b'------' '-'b'-----' >--,-+-ddn-var-+--,-+-serial-var-+--,-+-enq-var-+---------------> '-'b'-----' '-'b'--------' '-'b'-----' >--,-+-open-var-+--,-+-lrecl-var-+--,-+-recfm-var-+-------------> '-'b'------' '-'b'-------' '-'b'-------' >--,-+-dsorg-var-+--,-+-alias-var-+--,-+-password-var-+---------> '-'b'-------' '-'b'-------' '-'b'----------' >--,-+-ovolume-var-+-);---------------------------------------->< '-'b'---------' or >>-CALL--ISPEXEC--(buf-len,--buffer);-------------------------->< Parameters
Blanks are returned in any variable for which there is no applicable value. Return codesThese return codes are possible:
ExampleThis example invokes the LMQUERY service to provide information
about the ISPF library associated with the data ID in variable DDVAR.
The data ID is created by using the LMINIT service with an ISPF library
name. They use these variables:
Command invocation
Call invocation
Set the program variable BUFFER to contain:
Set the program variable BUFLEN to the length of the variable BUFFER.
Issue the command:
|
Copyright IBM Corporation 1990, 2014
|