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
what are the different opcodes available in rpg for database access ?
What Is Default Data Type (if You Define Decimals '0') In Physical File?
which are the member types which seu supports?
what is a spool file?
how can I give more performance to some selected pages?
What are the types of data structure in as400?
what is full form for dds?
what is scan and xlate?
when are the unique constraints executed?
can you specify a display file to be used in the following modes input,output, or combined modes ?
how can I predict the performance of my cgis?
what is arrival sequence?
what is elastic and non elastic subrile?
what are dds required for subfile?
how can you detect and handle a record lock situation?