NEW PAGE command: Difference between revisions

From m204wiki
Jump to navigation Jump to search
m (Automatically generated page update)
 
m (→‎Usage notes: add link)
 
(One intermediate revision by one other user not shown)
Line 17: Line 17:
</p>
</p>
==Usage notes==
==Usage notes==
The NEW PAGE command directs <var class="product">Model&nbsp;204</var> to start a new output page. The remainder of the current page is skipped, and a system-generated header is displayed at the top of the new page. The header has the format:  
The <var>NEW PAGE</var> command directs <var class="product">Model&nbsp;204</var> to start a new output page. The remainder of the current page is skipped, and a system-generated header is displayed at the top of the new page. The header has the format:  
<p class="code">date time pagenumber
<p class="syntax"><span class="term">date time pagenumber</span>
</p>
</p>
   
   
<b>Where:</b>
Where:
<table>  
<table>  
<tr>
<tr>
<th>date</th>
<th>date</th>
<td> is the Julian date, consisting of the year, followed by the month and day of the year. </td>
<td>The Julian date, consisting of the year, followed by the month and day of the year. </td>
</tr>
</tr>
   
   
<tr>
<tr>
<th>time</th>
<th>time</th>
<td> is in hours, minutes, and seconds, based on a 24-hour clock. </td>
<td>The value is in hours, minutes, and seconds, based on a 24-hour clock. </td>
</tr>
</tr>
   
   
<tr>
<tr>
<th>pagenumber</th>
<th>pagenumber</th>
<td> is the page number, which is incremented automatically as new pages are produced. </td>
<td>The page number, which is incremented automatically as new pages are produced. </td>
</tr>
</tr>
</table>
</table>
<p>The page header, which is known as header 0, is not printed if the setting of the HDRCTL (header control) user parameter includes the 1 option, or if the OUTLPP (lines per page) parameter is set to zero. However, if OUTLPP is set to -1, page counting is suppressed, but headers and trailers still are displayed.</p>
<p>
The page header, which is known as header 0, is not printed if the setting of the <var>HDRCTL</var> (header control) user parameter includes the 1 option, or if the <var>OUTLPP</var> (lines per page) parameter is set to zero. However, if <var>OUTLPP</var> is set to -1, page counting is suppressed, but headers and trailers still are displayed.</p>
<p>
For more information about report headers and trailers, see [[Report generation#Formatting page headers and trailers|Formatting page headers and trailers]]. </p>
 
   
   
[[Category: General user commands]]
[[Category: User commands]]
[[Category:Commands]]
[[Category:Commands]]

Latest revision as of 17:23, 5 June 2017

Summary

Privileges
Any user
Function
Requests that Model 204 start a new output page

Syntax

NEWPAGE

Syntax notes

Both N and NP are valid abbreviations for NEW PAGE.

Example

NEW PAGE N NP

Usage notes

The NEW PAGE command directs Model 204 to start a new output page. The remainder of the current page is skipped, and a system-generated header is displayed at the top of the new page. The header has the format:

date time pagenumber

Where:

date The Julian date, consisting of the year, followed by the month and day of the year.
time The value is in hours, minutes, and seconds, based on a 24-hour clock.
pagenumber The page number, which is incremented automatically as new pages are produced.

The page header, which is known as header 0, is not printed if the setting of the HDRCTL (header control) user parameter includes the 1 option, or if the OUTLPP (lines per page) parameter is set to zero. However, if OUTLPP is set to -1, page counting is suppressed, but headers and trailers still are displayed.

For more information about report headers and trailers, see Formatting page headers and trailers.