What are different ways to pass data between programs and
which one is the efficient way?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the types of identifiers?

660


We have job which is running as batch. It takes atleast 06 hours to complete tht job. But I wanna do tht job with in 3 hours?

885


What is ment by record level identifier?

746


can you debug ile rpg program using isdb?

823


how do I declare a table or array in rpg iv?

822






do you use message subfiles? What are the necessary keywords required coding a message subfile?

784


How would display prime numbers using CL program?

5805


what was the robotech rpg?

759


What is the purpose of record level identifier?

803


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

840


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?

1549


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.

5655


what do you mean by an input subfile, what are the keywords required?

894


If my rpg program has a date field, what extra care I have to take while compiling that rpg program? If the file is keyed and I have declared the file as well as key list properly in my program. Still am getting an error message like "chain/reade operation is not allowed" what may be the case?

713


How to select highest score of each subject or how to select highest income of every month?

1387