Browses information about the programs, mapsets, and tables that you are authorized to access.
Sintaxe:
INQUIRE PROGRAM (browse)
>>-INQUIRE PROGRAM START---------------------------------------><
Condição: ILLOGIC
INQUIRE PROGRAM (browse)
>>-INQUIRE--PROGRAM(data-area)--NEXT---------------------------><
Condição: END, ILLOGIC
- Note:
- Other options same as for INQUIRE PROGRAM.
INQUIRE PROGRAM (browse)
>>-INQUIRE PROGRAM END-----------------------------------------><
Condição: ILLOGIC
|
Descrição:
These commands allow you to browse through the runtime Program Definitions (PD) that you are authorized to access.
The sequence of browsing is strictly undefined, but continued browsing does guarantee to return all the
definitions that you are authorized to access, assuming that no new PD entries
are installed while this browse is occurring.
Only one PROGRAM browse operation is allowed at any one time in a given task.
See Browsing resource definitions for more information.
Opções:
END
- Terminates the browsing operation and frees any held resources.
NEXT
- Retrieves the name and any requested attributes of the next (that is, first or subsequent) PD entry that is accessed.
PROGRAM(data-area)
- Returns an eight-character string that represents the name of the program for which information is retrieved on
an INQUIRE PROGRAM NEXT command.
START
- Initializes the scan of the PD in preparation for a series of INQUIRE PROGRAM NEXT commands.
- Note that no information about programs is retrieved until an INQUIRE PROGRAM NEXT command is executed.
Condições:
END
- Occurs on an INQUIRE PROGRAM NEXT command if all authorized PD entries have been accessed.
- Default action: Terminates the task abnormally.
ILLOGIC
- Occurs for the following conditions:
- An INQUIRE PROGRAM START command is issued when a browse of the Program Definitions (PD) is already in progress.
- An INQUIRE PROGRAM NEXT or INQUIRE PROGRAM END command is issued, but an INQUIRE PROGRAM START command has not
been successfully issued.
- Ação pré-definida: Terminates the task abnormally.
Informações relacionadas:
© Copyright IBM Corp.