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
Answer / sakthi
we can access the data from PF directly even without LF.
Is This Answer Correct ? | 9 Yes | 0 No |
Answer / gvsp,as4
we can accessed the data of a physical file by using EXTMBR(*ALL)
Is This Answer Correct ? | 8 Yes | 1 No |
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 |
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
What is the purpose of FRCDTA keyword?
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?
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.
What is the length of Signature?
What is the compilation option that has to he specified while compiling an RPC program which uses a file having date data type field?
I want my simple Green screen should refersh every 1 min ,How can I do it..? Please share the logic
Assume my file has 100 records and I want to see only first 10 records. Is this possible through lf?
how can an indexed file be used as arrival sequence in RPG?
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?
how to run only 10 modules of existing N modules in service program in RPGILE ?
How to declare the dynamic(run time) array in rpgle? can you please give example