how do u find whether a record is locked or not??/
Answers were Sorted based on User's Feedback
Answer / syam
DSPRCDLCK cammand will give locked record details
| Is This Answer Correct ? | 16 Yes | 0 No |
Answer / madanmohan
If you know the RRN number of the record for which lock is
checked then in that case you can use DSPRCDLCK cmd.
To know the RRN number of specific record, use SQL statement
select RRN(A), A.* from FILE A where condition of the key
value.
| Is This Answer Correct ? | 10 Yes | 0 No |
Answer / rajgoaj
Additional information:
Use WRKLCK to see whether the file is locked.
| Is This Answer Correct ? | 1 Yes | 16 No |
are there any useful c runtime apis that I can call from rpg iv?
1.String operatio such as moving the characters to the variables? 2.what are the building functions for check file longs? 3.which of the following methods will make externally describe file fields available to a program? A: A/copy statement that specifies the library file and member of the field reference file source code B: A data structure definition specification that names the file on the EXTNAME keyword C: A data structure definition specification that names the file on the IMPORT keyword? D: A Definition specification for each desired field with the REFFLD keyword
list down and describe the sub systems vailable
parameters cannot be passed in which one??
i 'm new to as/400.in an interview i was asked this question.give a practical example for passing information or data through local data area. I know only that data area is an object used to store tiny bits of data or it can store one value at a time and it is used to store frequently changing values or datas.thats all i know about data area can any one tell me how local data area and user defined data area are used to pass data between jobs with a example or coding.thanks in advance.
What is the syntax of passing parameters to a procedure by value?
what is difference between DSPFD and DSPFFD?please give me real senario with good example?
Hi, can any one tell me :IN CASE OF SINGLE PAGE FILE HOW WILL I LOAD THE PREVIOUS PAGE WITHOUT THE USE OF SFLCLR INDICATOR ?
1.Load an runtime array of length 99 from the pf and you want to handle all the possible errors?
how to change the length of the field in a physicalfile?
1.I Have a physical file , i want to read the data from the each and every member of the File in the CL Program.How do you achieve this. 2.How do you do the same in RPG?. do think is it possible to read data from all the members in the RPG?
Anybody can explain the difference between SFLCLR & SFLINZ?