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



Write the subfile logic program for the given concept. Load the data to the subfile depends ..

Answer / preethi

Read the file and add a IF condition for the designation. If
true, then write the record in subfile.

Is This Answer Correct ?    2 Yes 0 No

Write the subfile logic program for the given concept. Load the data to the subfile depends ..

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

Post New Answer

More RPG400 Interview Questions

The RP program is displaying records 11 times .But there are 10 records in a pf.(ie last record is displayed twice).How to display records only 10 times?

5 Answers  


how do I do concatenation in rpg iv, like I do in cl?

1 Answers   IBM,


In ProgramB there is a SBMJOB, which is a call to program C .There is also a CALL to program D from B. How would you check the program C has been executed in D?

4 Answers  


how do I declare a table or array in rpg iv?

0 Answers   IBM,


what are the parameters of jobd?give in detail.&what are the parameters of subsystem...????

1 Answers   CTS,


Why we cannot call a service program? If I add a PEP can i call the service program?

1 Answers   DELL,


What is I90(Insure 90)?

1 Answers  


In case if I want to know whether a record exists in a file, which one do you prefer CHAIN or a SETLL and why ?

1 Answers  


1.CA(command Atention key)& CF(command Function key) difference with example?Please can any body tell me in real time exp? 2.Can any body tell me some mandatery function keys using while creating any screen with use of SDA-FUNCTION kEYS?

5 Answers   HCL,


How do I link an existing logical file to it's Physical File without recompiling?

2 Answers  


what is post opcode do

1 Answers   CTS,


what is the use of sflnxtchg?

0 Answers   IBM,


Categories