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?
Answers were Sorted based on User's Feedback
Answer / syam
A2. Share open data path = *Yes
A3. KLIST & KFLD in Free Format %KDS
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / abhiraj
a1. by CHAIN opcode
a2 and a3 same as syam's ans
| Is This Answer Correct ? | 1 Yes | 0 No |
i)What is the command to lock a file in a program ii)2. Can you get a level check error in a CL program
how can you display specific subfile page on the screen in unequal subfile?
I am Submitting one job in batch that job calls three progams(PGMA, PGMB, PGMC). PGMB should be called after sucessfully completion of PGMA as like for PGMC also. So Can you please tell me how can we do that (without using data area)
program to find the number of objects used in a given program through a display.
How Commitment and Roll back control is used in as400, explain with real time senario ???
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
How to declare the more than one file in cl/400.
I have one cl program which calls two rpg programs named a & b. I am loading a run time array in Pgm A and the control comes back to cl pgm. i call pgmb and I want to read the runtime array in pgmb which was loaded in pgma. How it can be acheived. I should not use any intermediate file or dataarea to store the loaded values.
i want to retrieve record b/w 2 dates in as400
what is the difference between the procedure and module in ILERPG?
Difference between creating a report using Printer file and WRKQRY(Query Report) ?
How can we read a particular record from the database file which is not having DDS (Flat File). For example, there are 100 records in the flat file. How can we retrive 15th record in RPG/400 program (Without using CL)