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 / samul
how we lock a pf????
Ans :Using cmd ALCOBJ
how we understand whether an object is locked or not??
Ans : Using cmd DSPOBJLCK
we have to use *PSSR? and trough
*status..how??.if we give an eg to me???
Ans : To handle to record lock in pgm (RPG)
need to handle wiht status code 01218 in *PSSR subroutine.
Cheers...
| Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
What is a query can be displayed without saving it?
how to get the cursor position?
What is RETURN CURSER LOCATION in subfile?
how to pick up the changed records every time in a subfile after the first change made ?
Difference Between Interactive & Batch Job?
how to define global parameter in ile ?
WHAT IS AS/400 SYNORIO?
Which command is used to replace CDUP command in FTP IF i WANT TO USE SFTP?
What Is The Object Type Of Pf, Lf, Printer File & Display File?
in which specification the report layout can be defined?
how can you detect and handle a record lock situation?
Apart from opening of a file do we have any other use of USROPN?
why is the declare cursor statement is used for?
what are the limitations of cl (compare to rpg) ?
what is the maximum number of files allowed in rpg?