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 |
The PGMA calls PGMB.PGMB generates a report.The report should contain the called program name(PGMA).How do i get the called program name in PGMB to print it on the spool file?(calling program name should NOT be hard coded or passed as parameter to called program?
How to call one program from another program in RPG? please help me with the code
Can any one plz explain the concept of INFSR, *PSSR, INFDS AND PSDS, I' confusing about PSDS and *PSSR, Wat is the difference btw them, wat PSDS will do????
how to display all the members records in a physical file without using ovrdbf?
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
what is the necessary keyword needed to scroll subfile records?
What is the purpose of FRCDTA keyword?
When PGMA calls PGMB for the first time PGMB executes the *INZSR. PGMB uses the RETRN operation to return to PGMA. When PGMA call PGMB the second time is the *INZSR executed?
Can we journel logical file and access path? Can we use commitment control for non-join L.F?
How Commitment and Roll back control is used in as400, explain with real time senario ???
i want code and what are used key words are ...like wrkmbrpdm screen (q) i have a file with 3 fields empno,empname,empaddr... here you give the empno it displays from that number to remaining empno's how? sub file screen: employee details pos to:empno then enter empno empname empaddr so file have 100 records from 1 to 100 so the above pos you give the 55 empno...it displays the from 55 to remaining... ...... please share this answel
In how many ways a session/device error occurs,,, and what is the remedy for it?