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 / amuthavalli
Its better to keep all the designations in Compile time
array.And then compare the Physical file datas with the
array(designation).Then write it into a subfile.
read file1
Dow not %eof
Move designation arr(i)
add 1 to i
read file1
enddo
dow j<=i
Read file2
dow not %eof
If arr(j=designation
write subfile
endif
Read file2
enddo
Add 1 to j
Enddo
This logic will work.Try it out.
Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
what does defn do?
what key word is used when screen is re-display?
how can you check for a records existence without causing and i/o (chain/read)?
what are the basic features of seu?
what is message file?
define what a data area is along with a brief example of what it may be used for?
where can you specify an indicator in lokup operation?
Write a logic program for knowing the repeated number of a vowels in a given program?
can a indexed file be accessed in arrival sequence in rpg program?
what are all the contents of subfile?
what is the difference between seton lr and retrn?
What is %CHECK?
In AS/400 projects in Companies whats the meaning of production support team.what production support involves.also what work does development,maintenance involve what are the other teams or processes that are available for as400 project.
What is access path in as400?
Write a CL program which will run a batch job at 1 am every night