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



Hi everyone
Before I forget, we are on V5r4.
I am writing a trigger program and placing the before/after data of the file record like the following code:-

d data_Ordhdrp e ds extname(ORDHDRP)
d based(dataPtr)
d qualified

The problem that I am having is that when the program is promoted to QA, the compile is using the record layout of the file that resides in a different library (which is a different layout (of course) than the file I must use.
This is due to the library list (which I have been told I CANNOT change)

My question is:-
Is there a way for the COMPILE to pick up the correct file
I know that this is available for files in the f-spec by using the following
f EXTFILE(*EXTDESC)
f EXTDESC('MYLIB/MYFILE5')

I realize that I will probably need to provide an OVRDBF for the compile in the promotion, but that would mean adding comments to the program and hoping that the next person reads those comments

As always, any and all suggestions ALWAYS welcome

Alan Shore
Programmer/Analyst, Direct Response
E:AShore@xxxxxxxx
P:(631) 200-5019
C:(631) 880-8640
"If you're going through Hell, keep going" - Winston Churchill


Disclaimer: This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. Any views or opinions presented are solely those of the author and do not necessarily represent those of the company.

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.