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

we can display a subfile without records. but we have to
handle it in program,

If RRN >0
set on display and control indicators
else
Seton control and set off display indicator
Endif

Exfmt Screen

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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

1470


what is program status data structure?

1402


How do u design a physical file, when you have 2 Unique fields like for eg in A student file student ID and student examination no both are unique

557


how do I play {insert rpg system here}?

595


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

696






what happens when sflsiz = sflpag? What are the advantages and disadvantages?

718


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.

762


how do you use commitment control in rpg?

766


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

1324


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.

1767


How to handle duplicate error handling in RPG?

1698


When it is desirable to describe files Internally?

1200


What is file identifier where we can use?

656


what is the difference between do while and do until?

720


how can I tell when to replace the array?

710