× 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.



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

You can write to the same printer file from multiple RPG modules. The
printer file must be opened with the Share(*YES) attribute.

Pete Hall
pbhall@xxxxxxxxxxxxx
http://pbhall.us


eftimios pantzopoulos wrote:
We have a large monolithic program which is used to print insurance notices.
The program is large because of the many different report lines which may or
may not be generated to the report.

We need to make this program much more modular and create separate processes
for various parts of the program.

In the past there was a version of the program which achieved this by
writing individual lines to a DB file with a 1 character field denoting the
'carriage control' (skip 0, 1, n line, page throw etc) and then used another
program to write to the print file.

I've never tried this but am now wondering if a print file can be shared
amongst different programs?

Is there something in ILE and an activation group that might let us have
separate source files that reference the same printer file (module or
program) to enable maintenance to be more managable? Different sections of
the insurance policy notice are generated by self-contained groups of code.

Thanks.


Mike Pantzopoulos

_________________________________________________________________
Advertisement: Shrek the Third, Only at the Movies from June 7.
http://direct.ninemsn.com.au/adclick/CID=02fd853b0000000000000000

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGXBtbpcZsDl8OX6kRAuHHAKC+zBuvy/6cz9TwnewYiG9Jsu7HGwCfbtXd
p5NTOuT5xzxZ9X9i05GyLqc=
=XscX
-----END PGP SIGNATURE-----

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.