Q

Placing a record lock on a file

Will a copy file (CPYF) command place a record lock on the file, which is in the FROM FILE parameter (I know it

will on the file in the TO FILE parameter)?


Yes, CPYF will put a Shared Read lock on the from file.


This was first published in March 2001

Dig deeper on RPG iSeries 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.

0 comments

Oldest 

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

SearchEnterpriseLinux

SearchDataCenter

Close