Previous Topic: ParametersNext Topic: IF, AND, OR


Example 1

This example syntax prints the data in vertical hex format, as shown in the following sample report.

PRINT,
  FORMAT(HEX)

Print Report DSN =CUSTOMER.FILE Rec Length = 80 Rec #1 pos ----+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8 1 Intl Widget 534 Commerce Way Denver CO C9A94E8888A444444444FFF4C99989884E8A44444444444444C89A894444CD444444444444444444 95330694753000000000534036445935061800000000000000455559000036000000000000000000 Rec #2 pos ----+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8 1 Acme Widgets 974 EZ Street Miami FL C8984E8888AA44444444FFF4CE4EA988A44444444444444444D889844444CD444444444444444444 13450694753200000000974059023955300000000000000000491490000063000000000000000000

Example 2

This example syntax prints the data in list format, as shown in the following sample report.

PRINT,
  FORMAT(LIST)

Print Report DSN =CUSTOMER.FILE Rec Length = 80 Intl Widget 534 Commerce Way Denver CO Acme Widgets 974 EZ Street Miami FL