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?

Answer Posted / preethi

1. Why do u need to read a subfile which is in output mode? There is going to be no changed record, so READC will not work.
3. KLIST

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is difference between bind by copy and bind by reference?

1732


what happens when sflsiz = sflpag? What are the advantages and disadvantages?

713


Interviewer asked me write down DDS for load all subfile .can anybody write dds

1022


What is file identifier where we can use?

652


How many program bind in one module....

2125






how does the rpg element work?

718


how do I preserve and clean the array?

677


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.

2054


what is the procedure and explain about real time scenario.

1482


what is the difference between do while and do until?

710


how do I declare a minor?

718


What is a record lock error?

1270


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?

622


What is the purpose of record level identifier?

730


Explain mdt?

667