How do you find whether a record is locked or not?
Answers were Sorted based on User's Feedback
Answer / naga srinivas.kattula
using WRKOBJLCK we can check which workstation and pgm
locking the file
| Is This Answer Correct ? | 3 Yes | 1 No |
Anybody know the difference of primary file and full procedural file
Can we create 300 logical files based on a single physical file using the CRTLF command only once?.
What is journalling and commitment control?
1. If there are two programs using same file and 2 users are using the file at the same time and what can be done to allow them both to access? 2. How can remove lock from the file for accessing it by both users?
can any one help in hawkeye and turnover or any change management system plzzzzz or send the documents to my mail id :gvsp.as4@gmail.com
How to write record if no field or the field are different in physical file in rpgle ?
How to index LF by relative record no (RRN)
What is I90(Insure 90)?
3. Given the DOS Specification below and the following information: • Indicator 50 is off • No records have been written to the subfile What will be the result if the EXFMT operation code is performed on the record format CTLR? A R SUBFL A DESCRIP 101 6 1ODSPATR(UL) A DFT(’NOT FOUND’) A R CTLR SFLCTL(SUBFL) A N50 SFLDSP A SFLDSPCTL A SFLINZ A 67 SFIJEND A SFLSIZ(13) A SFLPAG(12) A ACCOUNTNO 100 S 10 a.) Only AccountNo will display b.) SUBFL will be initialized with 13 blank records c.) An I/O exception error will occur d.) The screen will display 12 records with ‘NOT FOUND’
What are different ways to pass data between programs and which one is the efficient way?
How can we call CL program to RPG? How many number of parameter we can pass
1.Suppose my file has 10 fields and I want to make the 2nd field Zeros in all records. And assume I have millions of records and I dont want to read each record and update the desired field with 0. Any other way to do this in one step operation? 2. Assume my file has 100 records and I want to see only first 10 records. Is this possible through LF? 3.I have 3 jobs A B and C. I want to submit B after successful completion of A and want to submit C after successful completion of B. Without using job scheduler or job queue, how can i do that through CL program? 4.What is difference between Bind by copy and bind by reference?