ibmi-brunch-learn

Announcement

Collapse
No announcement yet.

print new page

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

  • print new page

    i have an externally described prtf. i print 2 record formats and then i want it to go to a new page. i thought if i turn on the OF indicator it would go to a new page then write the next record format on the new page But apparently not? i have defined OF in the f specs FSFRPT9 O E Printer UsrOpn OFLInd(OF) RPGLE

    Open SFRPT9;
    Write LETTERHEAD;
    Write COVER;
    OF = *On;

    Write HEAD1;
    Close SFRPT9;

  • #2
    The overFlow indicator informs the program of a page overflow, not the other way around.

    Try using keyword SKIPB(1) attached to your first format, or SKIPA(1) attached to your second format.

    Walt

    Comment


    • #3
      Thanks

      Comment


      • #4
        You're welcome.

        Walt

        Comment

        Working...
        X