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

Why are these RPG programs crashing?

We have several cases of RPG programs crashing with CPF4128 (file locked) when plenty of other jobs, use the same files, that are often running the same program at the same time. We do not have special allocations (such as EXCLRD, EXCL or SHRNUP) and are very puzzled as to why the RPG would not open the file.


I've seen a similar problem when someone is trying to do an OPNQRYF on a file that was already opened by a previous OPNQRYF. Without any more details about the problem, that would be my best suggestion at this point.

==================================
MORE INFORMATION ON THIS TOPIC
==================================

The Best Web Links: tips, tutorials and more.

Ask your OS/400 questions--or help out your peers by answering them--in our live OS/400 discussion forums.


Dig Deeper on Documentation

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.

-ADS BY GOOGLE

SearchDataCenter

Close