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



I've got two RPG IV programs. RPGPGM1 executes an ovrprtf on file PRT1 and then opens it and writes data to it. This executes fine and no errors are generated. RPGPGM1 then calls RPGPGM2. This program closes PRT1 and then executes a DLTOVR on PRT1. No errors are generated, but when I check the overrides the override from RPGPGM1 still exists. After the DLTOVR RPGPGM2 executes its own OVRPRTF to PRT1. This executes fine, and I can see the second override (at a different level) to PRT1. However, when RPGPGM2 writes to PRT1, it keeps the attributes defined in the OVRPRTF in RPGPGM1.
If anyone can tell me what I'm missing, I'd appreciate it.
BTW both programs are called with activation group(*CALLER). Don't know if that makes a difference or not in this case, but we've had issues in the past with activation groups and ovrdbf and opnqryf.

Thanks

Emily Smith


CONFIDENTIALITY NOTICE: This email message is private,
confidential property of the sender, and the materials
may be privileged communications intended solely for
the receipt, use, benefit, and information of the intended
recipient indicated above. If you are not the intended
recipient, you are hereby notified that any review,
disclosure,distribution, copying or taking of any
other action in reference to the contents of this message
is strictly prohibited, and may result in legal liability
on your part. If you have received this message in error,
please notify the sender immediately and delete this
message from your system. We believe that this email
and any attachments are free of any virus or other defect
that might affect any computer system that it is received
and opened in, however, it is the responsibility of the
recipient to ensure that it is virus free and the sender
accepts no responsibility for any loss or damage.

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.