INQUIRE PROFILE

Determine whether a transaction profile is installed.

Read syntax diagramSkip visual syntax diagramINQUIRE PROFILE
 
>>-INQUIRE PROFILE(data-value)---------------------------------><
 

Conditions: END, ILLOGIC, NOTAUTH, PROFILEIDERR

Description

The INQUIRE PROFILE command allows you to determine whether a particular PROFILE definition is installed in your CICS system. The command has no options; you get a normal response if the profile about which you inquire is installed in your CICS system, and a PROFILEIDERR exception condition if it is not.

Browsing

You can also use the INQUIRE PROFILE command in browse form (the START, NEXT, and END options) to obtain the names of all of the profiles installed in your system. See Browsing resource definitions for general information about browsing, including syntax, exception conditions, and examples.

Options

PROFILE(data-value)
specifies the 8-character name of the profile about which you are inquiring.

Conditions

END
RESP2 values:
2
There are no more resource definitions of this type.
ILLOGIC
RESP2 values:
1
You have issued a START command when a browse of this resource type is already in progress, or you have issued a NEXT or an END command when a browse of this resource type is not in progress.
NOTAUTH
RESP2 values:
100
The user associated with the issuing task is not authorized to use this command.
PROFILEIDERR
RESP2 values:
1
The profile cannot be found.
[[ Contents Previous Page | Next Page Index ]]