how we lock a pf???? what are the parameters used in this
command.how we understand whether an object is locked or not??
using command .....we have to use *PSSR? and trough
*status..how??.if we give an eg to me???pls answer me anyone..

Answer Posted / sasikumar

Specify 'U' in file type of F-Specification. Then Chain or
Read a record. The record will be locked.WRKOBJLCK
OBJ(File_Name) OBJTYPE(*FILE) or by using Shift+Esc and type
3 in the line. Then type option 12(Display locks, if active)
to view the locked records.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how to declare a constant variable in the freeformat?

957


what is full form for dds?

734


What is diff between EVAL & MOVE?

968


define the purpose of the %sst function?

925


Write a logic program for knowing the repeated number of a vowels in a given program?

3305






can anybody give the interview questions list of RLU. plz mail me: dinesh_sati07@yahoo.com

2232


what is the maximum number of files allowed in rpg?

933


how many files can be defined in f specs?

1372


what are indicators?

634


What is the as400 called now?

535


In RPG How to read a records from a file without using read opcodes?

954


what is a program described file in rpg?

1044


records can be read/update/deleted with which file?

629


what is the command to know key fields of file?

619


what is the purpose of ovrdta (override data) keyword?

1062