Who can help me with this problem? This may be a question for the RPG forum
but since its commitment control I am starting here.



- INC500 starts commitments control

- Calls INR500

- Calls INR501LRA ( this program does COMMIT or ROLLBACK)

- Calls INR664

- Calls INR651

o Updates D1P710 which fires a trigger calling D1R710T



After the COMMIT, I added a call to D1C716/D1R716. This program does not
need commitment control but the job has commitment control active



Problem:

1. The process is failing as one file D1L07302 is used once in INR651
in update and in D1R716 in read mode only.

2. D1C716 is called from various places which do not use commitment
control

4. When D1R716 executes, it gets a CPF error on D1L07302. Reading up
on the issue, the error message indicates that SHARE(*NO) is required. I
added a OVRDBF with SHARE(*NO) in D1C716 at CALLLVL. This did not resolve
the issue.

An option would be to submit the call to D1C716 to batch but if there is
an easier way in the same job, that would be the preferred solution.


TIA


Darryl Freinkel

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.