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 / indraneel

1. In wrkmbrpdm screen enter option=25, then shift + F1.
Enter the test that you want to search. Results will be
shown. If the search string needs to be searched in
particular source hit F16.

2. Enither one can use CMPPFM command or option 54.

3. Hidden field is just like any other field in subfile.
Only difference you will not be able to specifiy position
location for the field. That is why it is called hidden
field.

4. Use SFLINZ keyword. Before doing the EXFMT to control
record set on the SFLINZ controlling indicator.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How many program bind in one module....

2115


what is a rpg?

696


how does the rpg element work?

711


Set on command is used for closed all opened files , initialize var and release resource , return cmd is used for return to calling program but my req. Is dnt close opened files and resource must released while doing transactions , how can i do this...?

1457


What is file identifier where we can use?

639






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...

1306


what is the necessary keyword needed to scroll subfile records?

695


What is the purpose of record level identifier?

722


what is program status data structure?

1375


How can we know running job is batch or interactive?

647


What is the difference between iter and do?

668


what is file information data structure?

1361


Interviewer asked me write down DDS for load all subfile .can anybody write dds

1013


What are the types of identifiers?

566


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

1255