On 04/03/2008, at 6:33 AM, Jeff Young wrote:

Are there any special issues with using a DSPF in a service program procedure?
I will be creating the program for V5R3.
I know that all I/O and file definitions are Globle in the module, but is there a downside to including it in an existing service program or should I create a separate service program?

If the new function is "related" to the existing functions then put it in the same service program otherwise use a new one.

The display file will need to be USROPN so you can run in batch without the compiler opening the file automatically (and thus breaking every other function in the service program). You''l also need to check, or at least catch the exception, for opening in batch should someone attempt that.

You may need to experiment with RSTDSP settings to avoid peculiar screen handling effects.

Regards,
Simon Coulter.
--------------------------------------------------------------------
FlyByNight Software OS/400, i5/OS Technical Specialists

http://www.flybynight.com.au/
Phone: +61 2 6657 8251 Mobile: +61 0411 091 400 /"\
Fax: +61 2 6657 8251 \ /
X
ASCII Ribbon campaign against HTML E-Mail / \
--------------------------------------------------------------------




This thread ...

Replies:

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

This mailing list archive is Copyright 1997-2019 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].