Write the subfile logic program for the given concept. Load
the data to the subfile
depends upon the designation where designation is not a
key field?
Answers were Sorted based on User's Feedback
Answer / shalini
we can also use scan wilth if logic :
designation name scan subfile record formatname var1
if var1=1
eval in01=*on
write pf record format name
| Is This Answer Correct ? | 0 Yes | 1 No |
Can we found a record existance in a file w/o reading the file?
6 Answers Traitsys Technologies,
How to sort an array in descending in RPG
Interviewer asked me write down DDS for load all subfile .can anybody write dds
Can anybody tell me in which scenario we have to use SQLRPG .(Embeded SQL)....?
1.I have a Physical file with 100 records, No duplicates exists, all are Unique,But while i am running Runqry utility i am getting only 80 records..What could be the reason?
How do you find whether a record is locked or not?
program to find the number of objects used in a given program through a display.
can we perform CHAIN operation on Subfile record format....?
How can we know running job is batch or interactive?
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 to print Superscript / Subscript from RPG400
Program to read marks of 10 students for 4 subjects and compute and display total marks and status of each student in rpg