Natural for Mainframes Version 8.2.5 for Mainframes
 —  Parameter Reference  —

PC - Periodic Group Count

This session parameter determines the number of periodic group occurrences to be output by default if a periodic group (or a field contained within a periodic group) is specified without an index in a DISPLAY or WRITE statement.

Possible settings 0 or 1 - 191 Number of values.

Note:
If PC=0 is specified, then there is no default index range for the output of a PE field. Therefore, when a PE field is output, it is necessary to specify an explicit index or index range. Otherwise, a syntax error (NAT0281) will be raised

Default setting 1  
Specification within session yes  
Applicable statements FORMAT  

INPUT
DISPLAY
WRITE
PRINT

Parameter may be specified at statement level and/or at element level.
Applicable command none  

Note:
This session parameter may be used in reporting mode only.

Example:

FORMAT PC=5

Top of page