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

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 purpose of FRCDTA keyword?

3 Answers   IBM,


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?

6 Answers   Virtusa,


how to find whether a date format is valid or not in RPG400 not in RPGILE.Can you please write the coding for this sir,i'm new to AS400.Please help.

2 Answers   iGate,


What is the length of Signature?

3 Answers   UST,






What is the compilation option that has to he specified while compiling an RPC program which uses a file having date data type field?

3 Answers   HSBC, IBM,


I want my simple Green screen should refersh every 1 min ,How can I do it..? Please share the logic

2 Answers  


Assume my file has 100 records and I want to see only first 10 records. Is this possible through lf?

1 Answers  


how can an indexed file be used as arrival sequence in RPG?

3 Answers   IBM,


Suppose we have one database file and it is used by 5 programs and in 3 program we have to add some records in datbase file s what is the impact on other program?

0 Answers  


how to run only 10 modules of existing N modules in service program in RPGILE ?

3 Answers   Wipro,


How to declare the dynamic(run time) array in rpgle? can you please give example

2 Answers   Polaris,


Categories