Natural for Windows Version 8.3.7 for Windows
 —  Parameter Reference  —

SM - Programming in Structured Mode

This Natural profile and session parameter specifies whether or not structured mode must be used.

Possible settings ON Forces the use of structured mode syntax.
OFF Programming can be done in either structured mode or reporting mode.
Default setting OFF  
Dynamic specification yes  
Specification within session yes  
Applicable statements none  
Applicable command GLOBALS  
Application programming interface USR1005N See SYSEXT - Natural Application Programming Interfaces in the Utilities documentation.

Notes:

  1. If structured mode (SM=ON) is specified by profile parameter SM, an attempt to change this setting with system command GLOBALS and session parameter SM will be rejected (Reporting mode not permitted).
  2. Within a Natural session, the profile parameter setting SM=OFF can be overridden by the session parameter SM=ON.
  3. Under Natural Security, the setting of the mode option in the library's security profile determines whether the SM profile parameter can be used; see also Programming mode in the Natural Security documentation.
  4. Under Natural Security, this parameter may be disabled by Natural Security to the effect that structured mode is invariably in effect for a given library.

Top of page