On enabled panels, the .NRET key retrieves the library names from the current library referral list or data set, or workstation file name from the current data set referral list. Unlike some othe dot variables, .NRET can be assigned multiple times in panel logic.
>>-.NRET--=--+-ON--+------------------------------------------->< +-OFF-+ +-DSN-+ '-LIB-'
When .NRET is used as the source for an assignment statement it always returns a null.
The user is responsible for assigning NRETRIEV to a PF key. NRETRIEV is normally inactive but can be made active by using the .NRET=ON assignment in the )INIT and )REINIT section of a panel. If it is turned on, .NRET=OFF must be executed in the )PROC section of the panel. Failure to turn off .NRET in the )PROC section of the panel can lead to errors when the NRETRIEV key is pressed on subsequent panels.
NRETRIEV sets these variables in the FUNCTION pool: