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 |
What are different ways to pass data between programs and which one is the efficient way?
WHERE DO WE USE COMIT KEYWORD IN AN RPG PROGRAM? YOU MADE SOME CHANGES TO DATABASE BUT YOU DON'T WANT TO SAVE THOSE CHANGES NOW? HOW DO YOU HANDLE THIS ONE?
Suppose we have 10 records with same name and we are reading using READE,after 4 record i have to use CHAIN what is the output
1.How you will find the program is batch or online in cl pgm? 2.How you will end the batch pgm when the job runs? write an logic? 3.In wich command the option *drop is used?
The RP program is displaying records 11 times .But there are 10 records in a pf.(ie last record is displayed twice).How to display records only 10 times?
When will DUMP & DEBUG be ignored?
What is the purpose of FRCDTA keyword?
I have a Physical File name 'File1', which is present in two libraries named 'LIB1' & 'LIB2'. These 2 libraries are listed in the library list. Would like to access data from this file from these two libraries using RPG program. How to do this, any idea?
suppose if we want to update the data in cl what we will do?
How can we override a file during runtime in RPG? Without using OVRDBF or calling a CL program
wat is curser?? and its types???
Q1.How we can copy the data of file one session to another session? Q2.how we can execute a loop infinitely in AS/400 coding? Q3.In ALDON tool,multitask is posible on a perticular object by the user?