Indicates if the issuing procedure has access to a real window.
Indicates whether the executing NCL process is directly associated with a real window, and therefore can issue an &PANEL statement. Any NCL procedure executing in an NCL processing environment that is associated with a real terminal window finds that &FSM returns a value of YES.
Any NCL procedure executing in an NCL processing environment which does not have an associated real terminal window (for example, the system background environments or ROF sessions) finds that &FSM returns a value of NO.
Example: &FSM
&IF &FSM = YES &THEN +
&DO
&PANEL MSGDISPLAY
&END
&DOEND
&WRITE DATA=&MSG1
&WRITE DATA=&MSG2
.
.
.
| Copyright © 2009 CA. All rights reserved. |
|