1.How can you search an entire source file for a particular
field name?
2.How can you find the differences between two versions of
the source for the same program?
3.What is a hidden field as it relates to a sub file?
4.How do you display a sub file that has no records in the
sub file?
Answer Posted / ugandhar
3. Sub file hidden is not visible on the subfile but can be
used in the case like storing the RRN number for that
perticular record. This is as per one of our friend answer
and also we can use this hidden variables in subfile in
different senarios like if have more than one subfile
screen in single subfile and all screens are related to a
single file or firm. If you want to read the values from
all the screens at a time this subfile hidden variables are
very helpfull. Only thing is you need to declare the
variables as hidden which are available in second or
third..and not available in first with same name and
attributes. If you perform readc on single sflfrmt you can
get all values from all screens.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What is the purpose of record level identifier?
during execution, an rpg/400 program automatically follows a sequence of operations for each record that is processed. The built-in program cycle includes the following logical steps.
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 ?
What is ment by record level identifier?
What is the difference between iter and do?
explain sflclr, sflend, sfldlt, and sflcsrrrn?
Interviewer asked me write down DDS for load all subfile .can anybody write dds
are there any useful c runtime apis that I can call from rpg iv?
how does the rpg element work?
how do I declare a table or array in rpg iv?
How would display prime numbers using CL program?
what was the robotech rpg?
what is a rpg?
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.