SESSION|KEY

Description

The SESSION or KEY parameter may be used to denote the start of a Menu panel detail definition, or to specify a IBM Session Manager command to be executed when the session detail number is entered, a selection command is issued, or a specified PF key is pressed.

These parameters are applicable to the PROFILE control statement (see PROFILE statement).

Format

SESSION DEFAULTS                  |
SESSION nnnn [selection-commands] |
KEY PFnn

Usage

The SESSION parameter can also be used to specify default values for all sessions in this PROFILE definition.

The subparameters following the SESSION or KEY parameter describe either the session number or PF key usage, and the action which IBM Session Manager takes when the session is selected or the PF key is pressed, or the default actions for all sessions in the profile.

Each defined session may be allocated a session detail number, nnnn, from 1 to 9999.

Each session may also be allocated a list of selection-commands or pseudonyms (see also SELCMDS). If a pseudonym is issued from the Menu panel then the associated session is started or the associated command is issued. Each pseudonym may also be a PA or PF key, or up to eight alphanumeric characters, and may be a IBM Session Manager keyword, provided that it is enclosed in quotes.

For example, a session could be defined as:

SESSION 1 PROD CICS APPLID CICS01

so you can enter either the session detail number 1, or either of the selection commands PROD or CICS, to access the application CICS01 from the Menu panel.

Any of the other PROFILE session parameters can be placed before any specific session definitions. When this is done, the parameter is taken as defining a default value which is used whenever a session definition does not contain that parameter. This is the only instance in which session options are merged. A session definition parameter always overrides a session default parameter.

When DEFAULTS is specified, the parameters of this SESSION definition override any default parameters which have been specified before the first SESSION or KEY definition.

Parent topic:

Related topics: