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?

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

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

1507


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

965


Please tell me how to read the records from a file with load an array of size with error conditions(The logic answer for this question is ARR is array of 99 elements Z-ADD 0 IDX *LOVAL SETLL FILE READ FILE 99 *IN99 DOWEQ *OFF IDX ANDLT 99 ADD 1 IDX MOVE FIELD ARR,IDX READ FILE 99 ENDDO).So,Please give me the complete of this code.

2264


how do I declare a minor?

889


how do I play {insert rpg system here}?

781


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?

1672


Hi Viewers can any body explain me how to update and ahange the already existed data in physical file using subfile ? please explain me with the code if possible?

4744


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

2173


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.

5906


is this a rpg channel?

887


explain sflclr, sflend, sfldlt, and sflcsrrrn?

1079


What is the diff bw PF/LF Name and their Record format name? what is restriction in record format then file name?

2721


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

757


what is the procedure and explain about real time scenario.

1688


how can you display specific subfile page on the screen in unequal subfile?

897