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 do you specify the number of records to roll in a subfile ?
how to pick up the changed records every time in a subfile after the first change made ?
Difference Between Call & Sbmjob?
any one have give AS400 study material? pls pass it to gopalsai789@gmail.com
what would be the effect on the field where reverse image, underline and highlight display attributes were active?
Apart from opening of a file do we have any other use of USROPN?
What is the draw back of Procedures? why we are going to Modules?
what is xfoot opcode ?
maximum number of subfiles that can be active for a single file is?
can you specify a display file to be used in the following modes input,output, or combined modes ?
define a output queue?
what keyword must be used with protect keyword ?
Can you summarize the steps I have to go through in writing my first cgi?
How to reverse a string using RPG?
what is service program?