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 add 99 menu (page down) option in menu creation..
What Is The Difference Between Goto & Exsr?
how do you pass parameters in cl?
how can you detect overflow for a print program that prints multiple lines per cycle?
an access path may be in which sequence?
describe the difference between the dowxx and douxx operations?
In Which Specs Arrays, Tables & Constants Are Defined?
which indicator is used for read?
how can you check for a records existence without causing and i/o (chain/read)?
can error messages as a result of a comp, range or values keyword be overridden?
how can I control the way a remote browser uses its cache?
a multiple format logical file is also known as?
if we tried to move year part of *iso date into a field of length 3, what will happen ?
define a shared access path?
what is the function of cpysplf command?