Good News Everybody!
The new search engine is LIVE!
Please report any problems to david (at) midrange.com.
|
Please help me understand this :
<<SNIP first query>>
OVRDBF FILE(FMT01A) TOFILE(FMT01) SHARE(*YES)
OPNQRYF FILE((FMT01A) (QTEMP/T040)) +
FORMAT(FMT01 FMT1F1) KEYFLD(*FILE) +
JFLD((1/AID 2/IID *EQ)) OPNID(FMT01A)
CALL PGM(myRPG)
MyRPG :
FFMT01A IP E K DISK
<<SNIP>>
Does the the second QRYF, FMT01A, have all the fields of FMT01 +
QTEMP/T040?
The RPG is compiled on file FMT01 by running a OVRDBF
FILE(FMT01A) TOFILE(FMT01) before the compile command. So it can't
know anything about the fields in the file QTEMP/T040.
Does OVRDBF FILE(FMT01A) TOFILE(FMT01) SHARE(*YES) mean that MyRPG
will only "see" the fields in the QRYF FMT01A that are in the file
FMT01?
This mailing list archive is Copyright 1997-2026 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.