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 |
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.
1)how to do date validation in rpg? 2)how to delete dUPLICATE RECORDS?
i hav 2 logical files(L1,L2) both r derived from one physical file(P1). how can i use both the logical files in one RPG program? if yes what i have to d.
1.If *HIVAL SETGT is used what opcode is used to read a record? A:READ B:READPE C:CHAIN D:READP 2.How to pass numeric parameter to the rpg pgm from the command line? 3.What keyword is used on the rpg 4 definition specification to rename a subfile in an externally definition data structure? A:RENAME B;LIKE C:EXTNAME D:EXTFLD
Suppose i am having 3 programs PgmA,pgmB,pgmC and using source debugger. At debugging time i found that pgmC having some code error..then in debug mode directly how can i debug pgmC
difference betwen keywords and opcodes
how do u find whether a record is locked or not??/
is this a rpg channel?
1.How to read a subfile in out put mode? 2.what are the keywords used to share same file? 3.using composite key which rpg code used?
Setps to create .csv file on IFS folder in AS/400( V4R3)....?
while i am using the dspmsg command on comman line in Mocha am getting error like Not authorized to message queue message my messagequeue Name? can anybody help me how to change my message queue Am anable to see my messages in message queue
What is the purpose of Panel Groups?