without logical file we cannot access the data in physical
file.but we specify physical file in the program(ie:- Ffile
IF E k disk).how can it be accessed?

Answers were Sorted based on User's Feedback



without logical file we cannot access the data in physical file.but we specify physical file in the..

Answer / sakthi

we can access the data from PF directly even without LF.

Is This Answer Correct ?    9 Yes 0 No

without logical file we cannot access the data in physical file.but we specify physical file in the..

Answer / gvsp,as4

we can accessed the data of a physical file by using EXTMBR(*ALL)

Is This Answer Correct ?    8 Yes 1 No

without logical file we cannot access the data in physical file.but we specify physical file in the..

Answer / pat

I am not sure what your question is. You an access a
physical file: 1) If it is a primary file with the RPG cycle
2) It can be read. 3)If it is keyed it can be accessed as
you would a logical file.

Is This Answer Correct ?    6 Yes 0 No

Post New Answer

More RPG400 Interview Questions

What would be the effect on the field where reverse image, underline and high intensity?

7 Answers   IBM,


How do you code file / field renames in ILE RPG?

4 Answers   Accenture, IBM,


Suppose i am having 3 programs PgmA,pgmB,pgmC and using source debugger. At debugging time i found that pgmC having some code error..then in debug mode directly how can i debug pgmC

2 Answers  


how do you use commitment control in rpg?

0 Answers   IBM,


1.If *HIVAL SETGT is used what opcode is used to read a record? A:READ B:READPE C:CHAIN D:READP 2.How to pass numeric parameter to the rpg pgm from the command line? 3.What keyword is used on the rpg 4 definition specification to rename a subfile in an externally definition data structure? A:RENAME B;LIKE C:EXTNAME D:EXTFLD

4 Answers   Manhattan,






what is the procedure and explain about real time scenario.

0 Answers   Adhoc Technologies, Hanuman Automation, HSBC, IBM,


how to retrieve particular field records from a physical file,say i have a physical file called 'employee' in it i have to retrieve the records of a field 'admin' present in pf 'employee' using rpg,but i should not use logical file or openquery file.

3 Answers   iGate, Wipro,


how can I tell when to replace the array?

0 Answers   IBM,


please help me answer to this question what is the difference between the binding and srvpgm in ilerpg?

4 Answers   HCL,


Suppose my file has 10 fields and I want to make the 2nd field zeros in all records. And assume I have millions of records and I dont want to read each record and update the desired field with 0. Any other way to do this in one step operation?

1 Answers  


If there are 1000 member(PGM type) in a SRC file. How can we compile in a CL program? ( It need to be done in a loop)?

1 Answers  


give an eg of ACQ-(ACQUIRE),BIT OFF,BIT ON,DEALLOC,DUMP,FEOD,FORCE,MHHZO,MHLZO,MHLLZO,MLHZO,REL,RESET,TESTZ,TESTB,TESTN----GIVE SMALL EXAMPLE TO THE OPCODES...TO UNDERSTAND FUNCTIONING...........

0 Answers   CTS,


Categories