Rule

The position specified by the START subcommand of the CONDITION command is in reference to the start of the data record. The first one or two bytes of an input record may contain either both a carriage-control character (CC) or a table-reference character (TRC). However, these characters are not considered part of the data record and are not to be counted when determining the START subcommand value. In the following example, the field being checked is actually the seventh character of the input record, but is the sixth character of the data record.

PPFA Commands Input Records
  • PAGEFORMAT PFMTA ;
  • PRINTLINE CHANNEL 1 ;
  • PRINTLINE ;
  • PRINTLINE ;
  • PRINTLINE ;
  • PRINTLINE ;
  • CONDITION cond1
  • START 6 LENGTH 1
  • WHEN EQ ’5‘
  • AFTER SUBPAGE
  • CURRENT NULL;
  • PRINTLINE ;
Input Records