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 happens when sflsiz = sflpag? What are the advantages and disadvantages?
What does Implicit Open means with respect to a file ? What about the Explicit Open?..what are the major differences between these two?
how many variables can we declare in cl pgm?
can I touch the array during treatments?
IN RLU what are the record level keyword is used?
The PGMA calls PGMB.PGMB generates a report.The report should contain the called program name(PGMA).How do i get the called program name in PGMB to print it on the spool file?(calling program name should NOT be hard coded or passed as parameter to called program?
What is the difference between RPG/400 and RPG4
1.The questions have given an array declaration and move operation then this statement is correct or not?
Im traying to get out put of this below mention simple logic code.But im geting out of different.(im trying with my laptop trhough my company server. DCL &FIELD1 *CHAR 10 VALUE('TCS AS/400') DCL &FIELD2 *CHAR 10 CHGVAR(%SST(&FIELD2 1 10))(%SST(&FIELD1 10 1) Can you tell me the value of field2 after excuted of CHGVAR command.
How to write record if no field or the field are different in physical file in rpgle ?
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.
How can we search particular records from the database file in RPG. For example, there are 100 records in the file.i need to retrieve all the records matching/equal to the particular 'NAME' field. How can we do the above using SEARCH criteria other than using the IF cond?