Can we create 300 logical files based on a single physical
file using the CRTLF command only once?.
Answers were Sorted based on User's Feedback
Answer / devender s gusain
No You can create single LF at a time. you can select
multiple members of a PF.
| Is This Answer Correct ? | 14 Yes | 0 No |
Answer / prasanna
NO it is not possible to create 300 Logical file only one
file at a time is possible on a command line. May be we can
300 members for a same logical file using crtlf
| Is This Answer Correct ? | 5 Yes | 0 No |
Answer / manoj
If we write utility program then then we can create 300
logical files based on a single physical
file using the CRTLF command.
| Is This Answer Correct ? | 3 Yes | 2 No |
Answer / abhishek kumar
Maximum number of keyed logical files built over a physical
file member is 3,686 files
| Is This Answer Correct ? | 2 Yes | 2 No |
Answer / ps
We can create but important question why do you want to
create 300 LF on PF? i think purpose of LF is to fetch/view
data as per requirement. Ideally each LF on same PF should
have different key list . i don't see any point of
creating 300 logical. this will degrade performance .
| Is This Answer Correct ? | 2 Yes | 2 No |
Answer / danish hasan
Yes we can do so..but each LF name should be diffrrent
| Is This Answer Correct ? | 2 Yes | 6 No |
I guess yes... because if we write crtlf and press F4 it
gves us option to create many logical files at the same
time... Please correct me if i m wrong
| Is This Answer Correct ? | 1 Yes | 13 No |
How to define data area in RPG program? In which scenario multi occurrence DS is use in AS400?
how to run only 10 modules of existing N modules in service program in RPGILE ?
When it is desirable to describe files Internally?
How do I link an existing logical file to it's Physical File without recompiling?
RPG/400 faqs?
Please tell me how to read the records from a file with load an array of size with error conditions(The logic answer for this question is ARR is array of 99 elements Z-ADD 0 IDX *LOVAL SETLL FILE READ FILE 99 *IN99 DOWEQ *OFF IDX ANDLT 99 ADD 1 IDX MOVE FIELD ARR,IDX READ FILE 99 ENDDO).So,Please give me the complete of this code.
Can we journel logical file and access path? Can we use commitment control for non-join L.F?
What is the purpose of Panel Groups?
1.I have a Physical file with 100 records, No duplicates exists, all are Unique,But while i am running Runqry utility i am getting only 80 records..What could be the reason?
ESCAPE message sent by child program can be handled by parent program using which keyword?
Suppose we add one field in physical file and this physical file is used by several programs.how do we know which program is using that file? What are the impact analysis.
1.Are there any errors in the following statement?If so then list them.DTAARA is a data area having a field EMP # and EMPNO is a field in the file EMPPF.Which has one record. READ EMPPF IF %FOUND(EMPPF) IN DTAARA EVAL EMP#=EMPNO OUT DTAARA ENDIF