ibmi-brunch-learn

Announcement

Collapse
No announcement yet.

AFPDS - changing string to bold in COBOL program.

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • AFPDS - changing string to bold in COBOL program.

    Hi,

    I am trying to bold specific strings of data within a COBOL program. The prtf is AFPDS because the document is converted to PDF. Basically, there is static data intertwined with user entered data that is strung together and then parsed back out to create a document. I want to bold the words insured and decline. I can't use PCL hexidecimal literals (or atleast the ones I'm trying) for AFPDS. Any suggestions?

    Ex.

    working storage-

    01 WS-CA304-PRIMARY-NON-CONTRIB.
    05 FILLER PIC X(36) VALUE
    "This insurance is primary. The insured, ".
    05 INSURED-NAME PIC X(30).
    05 FILLER PIC X(24) VALUE
    " can choose to decline this option.".
Working...
X