Hi All,
Can anyone please help me with below issue.
The is a program abend in our production system in RPGLE program and with in that following operations happening, but i found errors while running program as below.
following are the breif Sequence of operations written in RPGLE:
1. File(FMABCF)is declared as USROPN in F Spec.
2. OVRDBF FILE(FMABCF) TOFILE(FMXXXF)using QCMDEXC,please note XXX in the file name will replace with one of the program parameter on fly.
3. OPNQRYF FILE(FMXXXF)with few joing conditions.
4. Open FMABCF
5. Read FMABCF
While i am debugging the program in developement box to replacate the error, i also encountered with same issue and saw following error messgaes in Joblog after completion of above steps in program by using DSPJOB.
1. Diagnostic message - List of values not valid for parameter TOFILE, Error found on 0OVRDBF command
2. Error on opening file
3. Escape Message - I/O operation was applied to closed file FMABCF.
Could anyone please help me what could be the reason of OVRDBF is not happened correctly and other subsequent errors.
Software/Hardware used:
ASKED:
October 7, 2011 6:00 AM
UPDATED:
March 31, 2012 12:30 AM
You should post all message ID’s and the job log.
Check out the value in FMXXXF at run time.
If I issue the command
OVRDBF FILE(MYFILE) TOFILE(FM TST) with a bad char or space in the tofile neme
I get the error: “List of values not valid for parameter TOFILE.”
And my override doesn’t work.
Phil