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

1) How to declare a file? 2) How to define a display file? 3) How to monitor error messages in RPG? 4) How to find the attributes for subfiles? and what is the DDS for subfiles?

2 Answers   TCS,


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

0 Answers   IBM,


How many program bind in one module....

0 Answers  


I have to change a program. This program is calling a subroutine mor than 100times within it. so will it have any performance issue? if yes than what changes i can make. Thanx for ur valuable answer.

2 Answers  


What is difference between bind by copy and bind by reference?

0 Answers  






Difference between RESET and CLEAR

1 Answers   TCS,


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

0 Answers  


You have a *USE authority on a Library and *All authority on a file in that Library.Can you change the data in that file?

1 Answers  


Write a program to display prime numbers between 1 to 100 using RPGLE.

1 Answers  


Need a sql query: retrieve all duplicate records in table?

1 Answers  


what is the procedure and explain about real time scenario.

0 Answers   Adhoc Technologies, Hanuman Automation, HSBC, IBM,


am 2010 passed out . can any one tell me which course is good to put 2+fake .guide me

1 Answers  


Categories