Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


What is the difference between BLKSIZE and LRECL?

Answers were Sorted based on User's Feedback



What is the difference between BLKSIZE and LRECL?..

Answer / guest

LRECL is the length of ur record file.
Blksize is the length of the block in which records are
stored.It varies in case of fixed length records and
variable length records.
fixed length records-It is a multiple of lrecl.
e.g. suppose u have blksize =800 & lrecl=80.It means that
there are 10 records each of size 80.
variable length records-It is the length of longest record
in the block + 8 (bcoz. here lrecl=length of longest record
+4 & blksize=lrecl+4).

Is This Answer Correct ?    13 Yes 0 No

What is the difference between BLKSIZE and LRECL?..

Answer / guest

LRECL is the logical record length , where as BLKSIZE is
multiples of LRECL

Is This Answer Correct ?    8 Yes 0 No

What is the difference between BLKSIZE and LRECL?..

Answer / stu

Data is read and written to files in blocks. The reading
and writing of blocks is I/O. I/O is overhead (increases
runtime and cost) and you want to keep it to a minimum.

When reading a file, a whole block of records will be read,
but the records in the block will be fed to the program one
at a time until the block is exhausted and the next block is
read. The operating system does this behind the
scenes--it's transparent to the programmer.

When writing to a file, the records are not actually written
to the file until a block is full (or the program ends--at
which time the last block is written if it contains at least
1 record.) Again, this is transparent to the programmer.

Obviously, to keep I/O low, you want the cram as many
records into a block as possible.

Let's say your FB file's record length (LRECL) is 252 bytes
and your facility allows block sizes up to 27000 bytes.
Your blocksize would be ((integer (27000 / 250)) * 252) or
26964 (107 records).

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More JCL Interview Questions

What does SYSIN * indicate?

2 Answers  


what are the ways of passing data to a cobol program from jcl?

1 Answers   IBM,


i need some shortcuts and tso commands can any on ehelp me in these ?

1 Answers  


What is the job entry system used in your project? based on what criteria the sequence of jobs are picked if priority is not mentioned in the job card?

0 Answers  


I've one sequential file, that file size is LREC=100 (File contain Records like 1 to 100). Now I was increase the file size is LREC=102. My question is I want insert 00 (Two Zeros) in to the new file (That output file looks like : 00123 up to 100). How will write the SORT card in JCL. Please let me know.

2 Answers   Syntel,


Explain about LMGET�read a logical record from a data set

1 Answers  


how to see the latest generation in gdg?

3 Answers   Deloitte,


What is the error/SOC code if dd names are not sysut1 and sysut2 in IEBGENER?

1 Answers   CTS,


what EXEC statement is and what is the syntax of EXEC statement used in JCL?

0 Answers  


How can a job send a status message to a tso user at the completion of a job?

1 Answers  


how to set dependancy for jobs?

4 Answers  


Is there any command to check wether the ps file is in sorted order?

4 Answers  


Categories