Follow Our FB Page << CircleMedia.in >> for Daily Laughter. We Post Funny, Viral, Comedy Videos, Memes, Vines...


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



1.How to read a subfile in out put mode? 2.what are the keywords used to share same file? 3.using ..

Answer / syam

A2. Share open data path = *Yes
A3. KLIST & KFLD in Free Format %KDS

Is This Answer Correct ?    1 Yes 0 No

1.How to read a subfile in out put mode? 2.what are the keywords used to share same file? 3.using ..

Answer / 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

1.How to read a subfile in out put mode? 2.what are the keywords used to share same file? 3.using ..

Answer / abhiraj

a1. by CHAIN opcode
a2 and a3 same as syam's ans

Is This Answer Correct ?    1 Yes 0 No

Post New Answer



More RPG400 Interview Questions

3 members in databasefile .how to read records from all the members??

6 Answers   CTS,


what is importance of 'MAPFLD' IN OPNQRYF FILE ?

2 Answers  


How do you call procedures in ILE?

3 Answers  


What is file identifier where we can use?

0 Answers  


Can a indexed file be accessed in arrival sequence in RPG?

0 Answers  






You have a *USE authority on a Library and *All authority on a file in that Library.Can you change the data in that file?

1 Answers  


1.Load an runtime array of length 99 from the pf and you want to handle all the possible errors?

0 Answers   HCL,


One of the job in subsystem is in Running status,expected time to complete this job is 2 minutes. But from last 5 -10 minutes this job is still in running status....What are the possible reasons...and What are the actions i need to perform to check this...?

4 Answers  


Can anybody tell me, does CL/400 handle LEVEL check while running the CL program....? plz share your experience...

4 Answers  


Why did we give STRSRVJOB while debugging batch program

3 Answers   HBL Power Systems,


what is batch debug in as400?

3 Answers  


is this a rpg channel?

0 Answers   IBM,






Categories