What are different ways to pass data between programs and
which one is the efficient way?
Answers were Sorted based on User's Feedback
Answer / surendra y mudliar
Different ways for passing parameters are
1) Data Area
2) Data Queue
Data Queue is the efficient one.
| Is This Answer Correct ? | 3 Yes | 0 No |
Answer / kcsyam
Parameter(PARM) Data Area, Data Queue, MQSeries Message
Queue
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / pankaj
Different ways for passing parameters are
1) Data Area
2) Data Queue
3) store a data in a field get the pointer of that field
and send it across the program.
Data Queue is the efficient one.
| Is This Answer Correct ? | 0 Yes | 0 No |
I have a PF(ABC)with no key fields. PF(ABC)have 2 fields (cusno and cusname). Please let me know how can i read the cusno = 1150 directly from PF in CL and RPG program(Without creating the LF and without reading the complete file and then compare 1150)
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?
How to handle duplicate error handling in RPG?
What will be the value of STRING after line 0106 is executed in the code below? 0101 E* Fromfiletofile..tabnameprnentlenpdatabnamlenpda 0102 E ARR 8 1 0103 ISTRING DS 0104 I 1 8 ARR 0105 C MOVE *BLANK STRING 0106 C MOVEA'ABC' ARR A) 'AAAAAAAA' B) 'BBBBBBBB' C) 'CCCCCCCC' D) 'ABC ' E) ' ABC'
1.Where we declare Variables in RPG/400,RPGIV,RPGILE.? 2.When do we use D-spec and I-spec in real time ?.what is difference between them?
Why Rpg/400 is Famous?
What is the name of default out queue when user logs inn to syatem with valid profile?
What is the purpose of FRCDTA keyword?
what is edit word and edit code
When it is desirable to describe files Internally?
What is file identifier where we can use?
What will happen if we r using seton lr after return or vice versa.