ContentsIndexPreviousNext

6.3.5 COMMENT Directive

The COMMENT directive allows you to include comments in an XFD file. Because the information is embedded in a comment, it does not interfere with processing by AcuODBC. Each comment entered with this directive appears in the XFD file with the symbol "#" in column 1.

Syntax

$XFD COMMENT text

or

*(( XFD COMMENT text ))

For example, the following FD includes a comment:

       FILE SECTION.
       FD  qa-file.
      $XFD COMMENT  This is a sample file demonstrating directives.
       01  qa-record.
           03  animal-info.
               05  patient-id                  pic x(5).
               05  atype                       pic x.
               05  ctype redefines atype       pic x.
               05  dtype redefines atype       pic x.
               05  otype redefines atype       pic x.
           03  owner-info.
               05  phone                       pic x(8).
      *(( XFD COMMENT ACUODBC READ-ONLY ))
               05  owner                       pic x(30).
           03  financial.
               05  acct_no.
                   10  year                    pic x(2).
                   10  seq_no                  pic x(4).
               05  last_visit.
                   10  mm                      pic 9(2).
                   10  dd                      pic 9(2).
                   10  yyyy                    pic 9(4).
      $XFD COMMENT ACUODBC HIDDEN
               05  fee                         pic s9(5)v99.
               05  date_paid                   pic 9(8).

The following line appears in the "animals.xfd" file:

#  This is a sample file demonstrating directives.