z/OS ISPF Edit and Edit Macros
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


SESSION—Query Session Type

z/OS ISPF Edit and Edit Macros
SC19-3621-00

The SESSION assignment statement identifies the type of session in which the macro is running, Edit, View, EDIF, or VIIF. It also identifies if SCLM is active or not.

Syntax

Read syntax diagramSkip visual syntax diagram
Assignment statement syntax

>>-ISREDIT--(var1,var2)-- = --SESSION--------------------------><

var1
This variable contains either EDIF, EDIT, VIEW, or VIIF to identify the type of session.
var2
This variable contains SCLM if the SCLM edit environment is active, or four asterisks (****) if not. Until SCLM edit is initialized and is active, edit commands such as SAVE will not update SCLM correctly.
Note: SCLM edit is not available during execution of the site-wide initial edit macro.

Return codes

0
Normal completion
20
Severe error

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014