|
hAI ALL,
IAM USING the following OVERRIDES IN MY CL PROGRAM....
pgm
dcl
dcl
/* override the input file */
OVRDBF FILE(&TRNFILE) TOFILE(NFHPGMR/&TRNFILE) +
MBR(*LAST)
/* override the Procdate file */
OVRDBF FILE(DASYSM001) TOFILE(NFHPGMR/DASYSM001) +
MBR(*LAST)
SOME CODE IN between
/* OVERRIDE THE HEADER PURGE FILE */
OVRDBF FILE(DAHDRT001) TOFILE(NFHPGMR/DAHDRT001)
MBR(*LAST) SHARE(*YES)
OPNQRYF FILE((NFHPGMR/DAHDRT001 *LAST)) +
KEYFLD((DAHDRFCD *ASCEND) (DAHDRGRF +
*ASCEND) (DAHDRHFL *ASCEND))
CALL PGM(NFHPGMR/DAD0070) PARM(&RTCODE)
CLOF OPNID(DAHDRT001)
DLTOVR FILE(*ALL)
endpgm
will one override nullify other override ,can u just suggest me whether what
i ve written for requirment if right or nt? Iam going to use &trnfile and
dasysm001 in my rpg DAD0070 along with DAHDRT001...
will this logic of overriding this many files is right
?
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.