Problem solve Get help with specific problems with your technologies, process and projects.

Receiving an invalid end of file detected message

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.


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.

This was last published in August 2001

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.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.