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 |
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.
what is decimal data error? when it will come and how to achieve(rectify) this error please give me solution as well as code
can anybody help me that what is the procedure of debugging the service program?
1. If there are two programs using same file and 2 users are using the file at the same time and what can be done to allow them both to access? 2. How can remove lock from the file for accessing it by both users?
1) How to define keyed file in CL pgm. 2) How can i read particular records in CL pgm from database file.
why we do STRSRVJOB in batch debugging in as400
Can anybody tell me in which scenario we have to use SQLRPG .(Embeded SQL)....?
How many program bind in one module....
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?
what is estimation? and what is the level identifier parameter in PF?
How to update only a field of a PF in an RPG program. I don't want to update the record, only one field.
HI,1: What is the function of 'SETON LR' AND '*INLR=*ON ? 2:Can we used "seton lr" OR "*INLR = *ON" in between the program code ? 3:if yes then according to there function the code which is written acter seton lr/ *inlr should not be execute . Can any one tell me why those code get executed ?