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 are the different commands used in rlu ?
what is the necessary keyword for non-join logical file?
what are the three line types in rlu ?
Explain The Keywords Edtcde & Edtwrd?
why is as/400 called object oriented machine?
how do you use exceptional write in c specs?
what is *inzsr used for?
can error messages as a result of a comp, range or values keyword be overridden?
what is the command to know key fields of file?
define the purpose of the *bcat function?
Hi,Can any body give the code for the below mentioned quetion.?Im trying to get coding in with easily inderstanding.Plese give me the coding for this? 1.How would you achieve this requirement with out using RPG/RPGLE pgm,but by using only CL?Read a database file and display file contents on the screen when enter key pressed the next record should be displayed on screen.When the last record is reached or when F3 key is pressed the program should exit if the file is empty,a message should be displayed indicate that there are no records to display. Database file Name=EMPDBF Fields in EMPDBF to be displayed on screen Employee Number- EMPNUM(5,0) Employee Name- EMPNAM(30,A) Employee Address-EMP ADDR(50 A)
records can be read/update/deleted with which file?
What is access path in as400?
define the purpose/use for sflrna?
What is data structure in as400? What is the use of data structure?