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

if there is a module object , how to find the program object for this module object.Assume the module object name and program object name is not same.

0 Answers  


which MONMSG will give higher priority in CL program? I know MONMSG are of two types. Program Level Monmsg and Command Monmsg?

1 Answers  


purpose of pannel group??/

2 Answers   CTS,


what is the necessary command needed before OPNQRYF and why?

5 Answers  


why we do STRSRVJOB in batch debugging in as400

1 Answers  






can anybody help me that what is the procedure of debugging the service program?

3 Answers   CSC,


How to change the name of physical members Dynamically?

1 Answers  


Can we create 300 logical files based on a single physical file using the CRTLF command only once?.

8 Answers  


Mr.Yallamanda Reddy P thanks for your answer sir,can we use test(D) opcode in RPG/400,if yes please help me by eloborating on that answer by writing a sample code for that sir

2 Answers   iGate,


As400 Command to find the Name of the Program to which a Particular Module is Bound..? Ex: IC210AMR (*MODULE) is bound with Other Modules which Forms Program Object as IC210ABP(*PGM) . As400 Command to find the IC210ABP Using IC210AMR..? Thanks

5 Answers   CTS,


suppose there are 100 records and i want to read records between 60-70 how we can read this 10 records in rpg

2 Answers   Polaris,


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

0 Answers  


Categories