15.10 - Margins - Preprocessor2 for Embedded SQL

Teradata Preprocessor2 for Embedded SQL Programmer Guide

prodname
Preprocessor2 for Embedded SQL
vrm_release
15.10
category
Programming Reference
featnum
B035-2446-035K

The default precompiler margins are 8 and 72. This is standard ANSI formatted COBOL, which provides that:

  • Columns 1-6 are available for sequence numbering
  • Column 7 is used to indicate:
  • Comments (*)
  • String continuation  (-)
  • Debug statements (D)
  • Page eject lines (/)
  • Margin A begins in column 8
  • Margin B begins in column 12
  • The EXEC SQL prefix must start in or after column 12
  • SQL statements are coded in columns 12 through 72
  • Specifying margins beginning in column 1 is also an option.

    This specification selects terminal formatting, a less-restrictive form available in the network-attached environment. The format used with the network depends on the compiler installed; check the installation preferences for the proper format.