I am encountering an invalid end of file detected message when running a batch CL program. It does a DSPFD to an...
*OUTFILE and then RCVF and processing. 1st time through it is OK. After the delay it processes DSPFD again and according to the joblog it adds another record to the file. But on the RCVF and end of file message is sent. Any help is appreciated.
After the DSPFD, try to run a POSDBF asking for the first record before doing the next RCVF.
MORE INFORMATION ON THIS TOPIC
The Best Web Links: tips, tutorials and more.
Ask your programming questions--or help out your peers by answering them--in our live discussion forums.
Ask the Experts yourself: Our application development gurus are waiting to answer your programming questions.
Dig Deeper on iSeries ILE programming
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.