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 / yogesh
We can lock the pf using
ALCOBJ OBJ((CUSMASFL *FILE *EXCL))
To ensure the object is locked :
WRKOBJLCK OBJ(CUSMASFL) OBJTYPE(*FILE)
To release the lock: Deallocate Object command
DLCOBJ OBJ((CUSMASFL *FILE *EXCL))
| Is This Answer Correct ? | 14 Yes | 0 No |
Post New Answer View All Answers
how to read database records without locking them?
how does union file maintains record formats?
WHAT IS AS/400 SYNORIO?
what is xfoot opcode ?
what is logical file?
Explain this error: "all record formats for externally-described file abcd ignored or dropped due to error; file ignored."?
which are control break logic indicators?
different type of cursor?
what is the clp command to access a query/400?
Write a CL program which will run a batch job at 1 am every night
which are the member types which seu supports?
what is the sequence when using cursor?
what are dds required for subfile?
what are members?
How to Define a Procedure in RPG?