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
Difference Between Interactive & Batch Job?
what are different types of substems?
What is difference between rename and prefix?
some special characters I key in my html source members show different on my web pages. Why? How can I solve this?
What is file information data structure(infds) in as400?
In RPG How to read a records from a file without using read opcodes?
how many files, printer files you can describe in a rpg?
explain the use of dftwrt display keyword?
what is sflpag and sflsiz ?
how to define global parameter in ile ?
What Is The Difference Between Goto & Exsr?
what are the various types of device files?
what is the necessary keyword for non-join logical file?
what is the purpose of overrides?
Can any one explain the basic things about RLU and Printer Files and their Definitions for both and why are they used,i'm a newbee so please help me out