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 / swetha p rao

1. TO find the field name in list of programs of a source
physical file then we give 25 option and Shift + F1 which
selects all the program sources and there we can specifiy
the name of the field.

2. we take an option 54 and give the other program name for
comparision.

3. Subfile hidden is not visible on the subfile but can be
used in the cases like storing the RRN number for that
particular record.we can update the value evrytime with RRn
value.so that it can be used in program.

4. If the subfile doesnt have any records we set on the
Control Format indicator and set off the Display indicator

Is This Answer Correct ?    9 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is file information data structure?

1743


what are the key words you must use when using a subfile?

882


How to select highest score of each subject or how to select highest income of every month?

1496


Suppose we have one database file and it is used by 5 programs and in 3 program we have to add some records in datbase file s what is the impact on other program?

1670


What is the purpose of record level identifier?

891


How to call one program from another program in RPG? please help me with the code

1467


give an eg of ACQ-(ACQUIRE),BIT OFF,BIT ON,DEALLOC,DUMP,FEOD,FORCE,MHHZO,MHLZO,MHLLZO,MLHZO,REL,RESET,TESTZ,TESTB,TESTN----GIVE SMALL EXAMPLE TO THE OPCODES...TO UNDERSTAND FUNCTIONING...........

3547


which program rpg or cl is efficent to update a transaction onto a database file and why ?

961


how do I declare a minor?

884


1. What is bound-by-call and bound-by-reference? 2. Where and why is *Nomain used? 3. What are the difficulties faced by programmers when using service programs? 4. Explain the different ways of parsing and compiling XML in iSeries.

5892


what is the use of sflnxtchg?

1009


what is data area and how it is used in rpg program ?

994


If my rpg program has a date field, what extra care I have to take while compiling that rpg program? If the file is keyed and I have declared the file as well as key list properly in my program. Still am getting an error message like "chain/reade operation is not allowed" what may be the case?

823


How to create a login screen using a command instead of display file.... intention is to get a password field on a command..... how do you achieve this...

1494


how can I tell when to replace the array?

887