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
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 |
Hi friends, Can you give the solution for the below mention simple code.and explain.what is output D CHR1 S 4A INZ('PEN') D CHR2 S 10A INZ('MYGET') D CHR3 S 8A INZ('GOOD') D CHR4 S 22A INZ C MOVEL CHR1 CHR4 C MOVE CHR2 CHR4 C EVAL CHR4=CHR3 C MOVE CHR1 CHR4
Hi,This is raju.Can any body give me the real experience answer for this question? 1.What is the significance of *MAP and *DROP in the CPY command?
What is the syntax of passing parameters to a procedure by value?
what is an online rpg?
How Commitment and Roll back control is used in as400, explain with real time senario ???
What is the difference between inner join @ outer join
how do I do concatenation in rpg iv, like I do in cl?
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.
can anybody help me that what is the procedure of debugging the service program?
Can we possible to key with the date field?
What is the RPG cycle?
There is a excel sheet having details of Old account number and new account number. I need to update these details in my AS400 files. i.e. all the records having old account number should be replaced with new account number. There can be 100 or 200 or 300 PFs...no fix files known. how can we do this?Solution should be performance oriented