PAGEDEF Command

PAGEDEF name [COMMENT ' qstring'…] 
[WIDTH {8.3 IN | n [unit]}] 
[HEIGHT {10.8 IN | n [unit]}]
[LINEONE x-pos y-pos] 
[DIRECTION {ACROSS | DOWN | BACK | UP}] 
[REPLACE {NO | YES}] 
[PELSPERINCH n] 
[TOPMARGIN n [IN | MM | CM | POINTS | PELS]] 
[BOTMARGIN n [IN | MM | CM | POINTS | PELS]] 
[LEFTMARGIN n [IN | MM | CM | POINTS | PELS]]
[RIGHTMARGIN n [IN | MM | CM | POINTS | PELS]]
[SOSIFONTS sbcs-font , dbcs-font] 
[UDType {EBCDIC | ASCII | UTF8 | UTF16}] 
[RECIDLEN 10 | n] ;
    Note:
  1. The LINEONE subcommand is valid only for traditional page definitions.
  2. The TOPMARGIN, BOTMARGIN, LEFTMARGIN, and RIGHTMARGIN subcommands are valid only for record format and XML page definitions.
  3. If UDType is not specified:
    • For traditional and record format page definitions, there is no default value. This means that no data type information is added to the page definition.
    • For XML page definitions, the default value depends on the platform: EBCDIC for z/OS or ASCII for Windows.
  4. The RECIDLEN subcommand is valid only for record format page definitions.

A page definition is a resource used to define how data is formatted on a logical page. When generated by PPFA, a page definition is stored as a resource in the page-definition library. This command's subcommands allow you to use the page definition with the Record Format line data.

This command must be specified when you define a page definition. All PAGEDEF subcommands are optional; defaults are assumed.

For traditional page definitions only: Values assigned within the subcommands or the default values become the values for any PAGEFORMAT subcommand not specified. REPLACE is not a PAGEFORMAT subcommand, so its default is not carried forward.

PAGEDEF
Identifies the page definition to be used with the print job.
name
Defines an alphanumeric name of 1 to 6 characters for the page definition. When page definitions are generated, PPFA assigns the prefix ‘P1’ to this name as the external resource name.