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
What is difference between bind by copy and bind by reference?
can anybody help me to solve this problem. the program that i m checking display error message saying "Record format for file AJDSPFFD does not match model file and decimal error. how to solve this problem. The AJDSPFFD is snapshot the AJTLOG that is the audit trail list.
Please tell me how to read the records from a file with load an array of size with error conditions(The logic answer for this question is ARR is array of 99 elements Z-ADD 0 IDX *LOVAL SETLL FILE READ FILE 99 *IN99 DOWEQ *OFF IDX ANDLT 99 ADD 1 IDX MOVE FIELD ARR,IDX READ FILE 99 ENDDO).So,Please give me the complete of this code.
What is the purpose of record level identifier?
Assume 2 users are using the same file and first user updates some record in the file. Will the 2nd user will be able to see the updated record or not?
which program rpg or cl is efficent to update a transaction onto a database file and why ?
How to handle duplicate error handling in RPG?
give an eg of ACQ-(ACQUIRE),BIT OFF,BIT ON,DEALLOC,DUMP,FEOD,FORCE,MHHZO,MHLZO,MHLLZO,MLHZO,REL,RESET,TESTZ,TESTB,TESTN----GIVE SMALL EXAMPLE TO THE OPCODES...TO UNDERSTAND FUNCTIONING...........
What is file identifier where we can use?
what is data area and how it is used in rpg program ?
How can we know running job is batch or interactive?
what is the rpg system?
what is the procedure and explain about real time scenario.
write an RPG program to calculate the marks of 5 students (A,B, C, D, E)in 3 different subjects (eng, math, sci) an display on the screen
Program to read marks of 10 students for 4 subjects and compute and display total marks and status of each student in rpg