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 12 No

Post New Answer

More RPG400 Interview Questions

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.

6 Answers  


How can we change element of compile time array?Can we do so

1 Answers   TCS,


I have to change a program. This program is calling a subroutine mor than 100times within it. so will it have any performance issue? if yes than what changes i can make. Thanx for ur valuable answer.

2 Answers  


can we perform CHAIN operation on Subfile record format....?

4 Answers  


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

2 Answers  






Delete FileName at first statement in RPG.

1 Answers  


I know chain keyword retreive records randomly but how chain keyword exactly works internally????

4 Answers  


Suppose my file has 10 fields and I want to make the 2nd field zeros in all records. And assume I have millions of records and I dont want to read each record and update the desired field with 0. Any other way to do this in one step operation?

1 Answers  


To check the locks , we use cmd WRKOBJLCK , but how we confirm whether it's objeck lock / member lock. I confused with the Lock type and Status values...Can any body please tell me ...

5 Answers  


I have a file .In that file i have 3 fields. Those fields are eno, ename, esal.Keyfield is eno. In that file i have data like this for eno 1,2,3,4,5. Now i need to display 2nd record. That means i need to set the pointer on 2nd record... Then, write the complete rpg program using setll.

1 Answers  


I need to generate outfile for object of all the user lib. in the sysmte using cmd DSPOBJD. But this cmd is correcpted in my server,Any body tell me is there any alternative...?

2 Answers  


How to select highest score of each subject or how to select highest income of every month?

0 Answers  


Categories