MEMBER—Query the Current Member Name

The MEMBER assignment statement retrieves the name of the library member currently being edited, and places it in a variable. If a sequential data set is being edited, the variable is set to blanks.

Syntax

Read syntax diagramSkip visual syntax diagramISREDIT ( varname)  = MEMBER
varname
The name of a variable to contain the name of the library member currently being edited.

Return codes

0
Normal completion
12
Invalid command format
20
Severe error

Examples

To determine if you are editing a library member with a prefix of MIN:
ISREDIT (MEMNAME) = MEMBER
IF &SUBSTR(1:3,&MEMNAME  ) = MIN THEN -
   ...