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 is the disadvantage of using global variable?
what is full form for dds?
What are the mandatory keywords of sub file?
what is the purpose of data structure?
what is the use of data structures?
can a indexed file be accessed in arrival sequence in rpg program?
what does vldcmdkey means?
The content of Physical file is as below: hfcftp wruquief SENDPASV 0 CDUP ASCII GET 01100901.CSV ramndk/ECP505.EC0110090 (REPLACE QUIT Thw above commands will get executed when we call STRTCPFTP from CL program.... Now if I want to use SFTP what can be the solution? plz reply in detail....Thank you for ny help... I m using RPG/ILERPG to download...
If i change any file through application after entering data , how to check which file is updated through applications . For call stack we takes esc 3 then we chose 11..But What is answer of below qtn..?
what would be the effect on the field where reverse image, underline and highlight display attributes were active?
how would you design the process for a nightly, high volume check producing process that needs to select only records that are flagged to be processed?
Difference Between Source Physical File & Physical File?
What is the use of jdftval in as400?
how to get the cursor position?
What is the difference between physical file and logical file?