× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Booth,

>Can you explain more about the PrtCtrlDS and how it controls spacing and
>skipping?

It is a DS with subfields for the values normally coded as constants in the O
specs for skip before / after line numbers and space before / after counts.  By
populating the DS subfields, you dynamically alter the vertical positioning
during output using variables instead of compile-time constants.

One example where I use it is certain types of financial statements.  I allow
the user to define "report control files" which drive the formatting of the
statements.  Using PrtCtlDS is a much nicer solution than how I had to do it
under RPG II, which used indicators to select various combinations.

See also
http://publib.boulder.ibm.com/cgi-bin/bookmgr/BOOKS/QB3AGZ03/3.3.2.20?DT=19990323173815

for the V4R5 explanation.

Doug


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.