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 |
1. If my rpg program has a date field, What extra care I have to take while compiling that RPG program? 2. 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?
wat is the difference between dataarea and data queue?
5 Answers Airtel, Four soft, Shahi Exports,
how we retrieve records without using key field (ex:name) from Physical File through RPG in as/400?
How I can reread the physical file in CL program once the end of file reached in same CL program.
How do you call procedures in ILE?
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?
What are the commands that can be executed in CLP but not in RPG? Why?
3. Given the DOS Specification below and the following information: • Indicator 50 is off • No records have been written to the subfile What will be the result if the EXFMT operation code is performed on the record format CTLR? A R SUBFL A DESCRIP 101 6 1ODSPATR(UL) A DFT(’NOT FOUND’) A R CTLR SFLCTL(SUBFL) A N50 SFLDSP A SFLDSPCTL A SFLINZ A 67 SFIJEND A SFLSIZ(13) A SFLPAG(12) A ACCOUNTNO 100 S 10 a.) Only AccountNo will display b.) SUBFL will be initialized with 13 blank records c.) An I/O exception error will occur d.) The screen will display 12 records with ‘NOT FOUND’
can anyone say,what is the use of operation extended H/N/P?
How to read data from Nth member of a physical file containing some X number of members in it? "Provided member names are unknown"
Can more than one subfile record be displayed on one line?
How can we find out whether the job is interactive or Batch through RPG program? 2) How can we find out through CL program?