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 |
How can we override a file during runtime in rpg?
suppose if we want to update the data in cl what we will do?
what is file information data structure?
Hi,Please give me complete code with this logic. The question is how to read the records from a file with load an array of size with error condition? (The logic is Z-Add 0 IDX *LOVAL SETLL FILE READ FILE 99 *IN9 DOWEQ *OFF IDX ANDLT 99 ADD 1 IDX MOVE FIELD ARR,IDX READ FILE 99 ENDDO)please give me complete code with explanation?
what is meant by record lock.how records are locked.what is the purpose of record lock.if records are locked what happens.how to find out which record is locked.
difference between CHAIN and READE?
two types of read performed in dataqueue?????
RPG/400 number of Records present in a physical file using file information data structure FPF001 IP E DISK F KINFDS INFDS1 IINFDS1 DS I *RECORD RECORD Is this coding correct sir,i have given I P E that is I- input,P-primary file,E-externally described. Primary to use RPG logic cycle,is this the correct method because we have to find number of records present using file information data structure in RPG/400 without doing any input/output operations on the file and also without using DSPFD,SQL. If the above coding is correct means,when i compile the program it gets compiled,but if i call the program it does not return anything,i need number of records,please complete the coding sir.
Hi friends, Can you give the solution for the below mention simple code.and explain.what is output D CHR1 S 4A INZ('PEN') D CHR2 S 10A INZ('MYGET') D CHR3 S 8A INZ('GOOD') D CHR4 S 22A INZ C MOVEL CHR1 CHR4 C MOVE CHR2 CHR4 C EVAL CHR4=CHR3 C MOVE CHR1 CHR4
what is commitment control?explain about it?
How do you code file / field renames in ILE RPG?
difference between 1:%found and %equal built function in detail with example .