How to create a key field for a logical file inside RPG?
Answers were Sorted based on User's Feedback
Answer / rajesh n
In D Spec use KFLD and key field name.
Example:
KFLD Fld1.
| Is This Answer Correct ? | 5 Yes | 6 No |
how do u find whether a record is locked or not??/
We have job which is running as batch. It takes atleast 06 hours to complete tht job. But I wanna do tht job with in 3 hours?
can anyone explain aboutovrOVRDBF,OPNQRYF, OVRSCOPE and OPNSCOPE?
i)What is the command to lock a file in a program ii)2. Can you get a level check error in a CL program
how to display all the members records in a physical file without using ovrdbf?
Q:Hi all,i want accurate answer with code using in built functions.please sent me code as soon as posible. I have program nmed PGM1 which '' RETRIEVE Current production date''should correctly default the production date for the user who is issuing raw materials to the manufacturing.The production date can be different from the celendra date. However, the program does not make the correct adjustment for all manufacturing plants. there is a parameter which determines the production start time e.g. 07:00 if the system time precedes this,the program subtracts one from the celendra day.This work fine when the celendar day starts after production day as it does in England,the system should be adding one to the celendar day during the overlap. unfortunately the program was desined to assumed the celendar day always starts before the production day. Change required in the program: Change the PROGRAM PGM1 to use the new parrameter to decide whether to add or subtract 1 from the celendar day when determining the production date.
how can i retrieve the field name from display file at run time? Devendra Singh Tomar
how do I do concatenation in rpg iv, like I do in cl?
What is the difference Return and InLr?
Program to read marks of 10 students for 4 subjects and compute and display total marks and status of each student in rpg
what is *place and *auto keyword in prtf ?plz explain
how can you display specific subfile page on the screen in unequal subfile?