ANSI Skipping Consideration

The PRINTLINE command is not processed if a skip-to-channel-n character in the carriage control field causes the given PRINTLINE command not to be processed.

If a data record contains a character ‘1’ (for example) in the carriage control field, and a PRINTLINE command has been specified with CHANNEL 1 subcommand, the data record is processed under the newPRINTLINE command (the one that specified CHANNEL 1). Any CONDITION associated with the oldPRINTLINE command is ignored (never even checked). See the following diagram for an example of this.

The character 1 in the carriage-control field of the fifth input record causes a page end before condition cond1 is ever checked. Thus, the fifth input record is processed using the first PRINTLINE command of the current page format.

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;
Input Records