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



<Greg>
1. I cannot use commitment control with all of the files in the program -
some are legacy ERP database files, none are journaled.
</Greg>
commit is only used in modules, created with COMMIT(*CHG), all other could
stay untouched.
Journaling tables doesn't change anything in existing programms. My
recommendation is to journal all tables (if you have sufficient DASD) it
will help in all cases analyzing error situations in unknown programms.
<Greg>
2. The specific files in question are used by other programs - so unsure
what effect changing these files will have (maybe none?)
</Greg>
othe programms won't see this and work as before.
<Greg>
3. I'm using other service programs that may not use *CALLER
</Greg>
As long as such SRVPGMs are not envolved in the transaction, this could be
as it is.

<Greg>
So if I was writing something from scratch - not reusing existing (working)
code and database files, this might be easy. But it adds a level complexity
and development time, which is why I've hesitated in the past. I feel like
I'm stuck in-between legacy and modern coding.
</Greg>

In your case (inserting order positions), I would recommend to move this to
a new SRVPGM, do the commit there and call it from your existing application
and it's done.

D*B



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

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.