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 I can reread the physical file in CL program once the end of file reached in same CL program.
When PGMA calls PGMB for the first time PGMB executes the *INZSR. PGMB uses the RETRN operation to return to PGMA. When PGMA call PGMB the second time is the *INZSR executed?
3 members in a databasefile .how to read records from all the members?????????
Can anybody tell me that why we use option(*nodebugio)in H- Spec?
how can an indexed file be used as arrival sequence in RPG?
What would be the result on writing a data record to a PF file using the "WRITE" opcode after the SETON *ON *INLR statment?
What is the significance of UDATE?
RPG/400 number of Records present in a physical file using file information data structure FPF001 IP E DISK F KINFDS INFDS1 IINFDS1 DS I *RECORD RECORD Is this coding correct sir,i have given I P E that is I- input,P-primary file,E-externally described. Primary to use RPG logic cycle,is this the correct method because we have to find number of records present using file information data structure in RPG/400 without doing any input/output operations on the file and also without using DSPFD,SQL. If the above coding is correct means,when i compile the program it gets compiled,but if i call the program it does not return anything,i need number of records,please complete the coding sir.
Anyone help me for the below question:- If problem/error occur in *PSSR subroutine,how should I handel it in RPG program.
How can i keyed a flat file in RPGLE
what is importance of 'MAPFLD' IN OPNQRYF FILE ?
Can more than one subfile record be displayed on one line?