MAINPR - Override Default Output Report Number

This Natural profile parameter is used to override the default output report number for all Natural reports. It must be set to a valid printer number (0 - 31).

Possible settings 0 - 31 Valid printer number.
Default setting 0  
Dynamic specification yes  
Specification within session no  
Application programming interface USR6002N See SYSEXT - Natural Application Programming Interfaces in the Utilities documentation.


  1. Specifying a MAINPR setting is the same as changing all of the DISPLAY, PRINT, WRITE or INPUT statements' printer references from the default setting (0) to the desired printer number.
  2. A physical printer corresponding to the report number specified must be defined to Natural as described in the Configuration Utility documentation, section Device/Report Assignments.