Indicates whether the user is authorized for NEWS reset (delete) functions.
An NCL procedure might want to determine whether the user who invoked it is authorized to reset (or delete) information held on a database.
&NEWSRSET is set to NO if the user ID of the user does not include NEWS reset authorization, and YES if it does. The meaning of NEWS reset is determined by the NCL procedure itself, but would normally determine whether the user is allowed to delete records from a database.
Example: &NEWSRSE
&IF &NEWSRSET = YES &THEN + &GOTO .OK &ELSE + &GOTO .REJECT
Note: For more information, see the examples in the distribution library.
| Copyright © 2009 CA. All rights reserved. |
|