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



Can we create 300 logical files based on a single physical file using the CRTLF command only once?...

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

Can we create 300 logical files based on a single physical file using the CRTLF command only once?...

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

Can we create 300 logical files based on a single physical file using the CRTLF command only once?...

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

Can we create 300 logical files based on a single physical file using the CRTLF command only once?...

Answer / shishir

no , we can create one logical file on one physical file at a time .......and for thoe who are saying yes then please explain it in details with steps so we can also try it practically ...till then my answer is no

Is This Answer Correct ?    1 Yes 0 No

Can we create 300 logical files based on a single physical file using the CRTLF command only once?...

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

Can we create 300 logical files based on a single physical file using the CRTLF command only once?...

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

Can we create 300 logical files based on a single physical file using the CRTLF command only once?...

Answer / danish hasan

Yes we can do so..but each LF name should be diffrrent

Is This Answer Correct ?    2 Yes 6 No

Can we create 300 logical files based on a single physical file using the CRTLF command only once?...

Answer / rashmimalpani

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

Post New Answer

More RPG400 Interview Questions

How I can reread the physical file in CL program once the end of file reached in same CL program.

20 Answers   IBM,


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?

5 Answers   Mphasis,


3 members in a databasefile .how to read records from all the members?????????

4 Answers   CTS,


Can anybody tell me that why we use option(*nodebugio)in H- Spec?

3 Answers  


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

3 Answers   IBM,


What would be the result on writing a data record to a PF file using the "WRITE" opcode after the SETON *ON *INLR statment?

10 Answers  


What is the significance of UDATE?

5 Answers   IBM,


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.

1 Answers   IBM,


Anyone help me for the below question:- If problem/error occur in *PSSR subroutine,how should I handel it in RPG program.

1 Answers  


How can i keyed a flat file in RPGLE

5 Answers   IBM, Wipro,


what is importance of 'MAPFLD' IN OPNQRYF FILE ?

2 Answers  


Can more than one subfile record be displayed on one line?

7 Answers   IBM,


Categories