How many max. Record format a logical file have?
Answers were Sorted based on User's Feedback
Answer / kamlesh
if it is multi format lf then any number of record formats
u can specify there is no limit.
| Is This Answer Correct ? | 2 Yes | 11 No |
Answer / syam
Only 1 Record format PF and LF.
If you want to multiple format you need to specify inside
rpg program and write in one format pf.
| Is This Answer Correct ? | 1 Yes | 18 No |
Answer / nupur
8000. this can vary,can be lesser if date format,
alphanumeric fields are used.
| Is This Answer Correct ? | 1 Yes | 25 No |
wirte a simple program for read file in cl
What is the primary file?
What is the purpose of the chain and setll and setgt?
What is the interactive job? What is the batch job?
Can we concatenate fields in physical file? If yes how can we do?
Suppose if a physical file is having 1000 records, but i deleted 500 records from it. Here the concern is can the size of the file changes or it remains the same... kindly help me out with thorough xplanation.... Thanks in-advance...
Is it possible to create a logical file whose Physical file is not in same library?
There are six records in a file and we are going to update that records and used commit operation when it complete the update but suppose when it updating the third record,a error occured and operation failed.Is previously two records will be update or whole operation will be rollback? Please confirm it.
what is the purpus of the chain and setll and setgt ?
There is one string as A B C and wanted to display string as Shri A Shri B Shri C, how we can do this in sql? If we have around 100 values in string like this, each value should be displayed with initials as Shri.
I have physical file with 100 records,there is no any duplicate records in this pf.based on this pf one logical file I have used.but this lf is viewing only 80 records only of that pf?what is the reason for this?
how can we write LF using flatfile.