Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
QLIBDEF—query LIBDEF definition information z/OS ISPF Services Guide SC19-3626-00 |
|
The QLIBDEF service allows an ISPF dialog to obtain the current LIBDEF definition information. This information can be saved by the dialog and used later to restore any LIBDEF definitions that may have been overlaid. For each LIBDEF lib-type, the ID parameter and the "type" of ID is returned. The absence of an active LIBDEF definition for a specific lib-type is indicated by the return code. Command invocation formatCall invocation formatParameters
Although not mandatory, it is suggested that the service interface (ISPLINK or ISPEXEC) used by the QLIBDEF be the same as that used on the LIBDEF service to restore the definition. This eliminates the need to adjust the syntax of the information returned by QLIBDEF. Return codesThese return codes are possible:
ExampleA panel library, ISPPLIB has been defined by the LIBDEF service.
Query the type of LIBDEF definition and the LIBDEF "ID" information
and return the type of LIBDEF definition in the variable, TYPEV, and
the LIBDEF "ID" information in the variable, IDV.
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
|