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

How can I write the joblog in the spool on normal end of a job step and direct the joblog to a dataset only if the step abends?

2 Answers  


What will happen if we write two STOP RUN's in a COBOL program?

4 Answers   Satyam,


Can an individual step be restricted from using all the jobs allowed cpu time?

0 Answers  


How to execute step2,step1,step3 when step1,2&3 are in order

6 Answers   TCS,


Hi, Please clear me when COND=ONLY and COND=EVEN. Explain me with example.

2 Answers   GJ,


How to concatenate different LRECL of files?

2 Answers   IBM,


What is default if we don't specify RD parameter at all ?

1 Answers   IBM,


How to run cobol program using jcl?

0 Answers  


CAN ANYONE TELL ME WHAT IS "JOB-CARD"

4 Answers   Syntel,


Can a temporary dataset be converted to permanent dataset and vice-versa in the middle of a job ?

4 Answers   IBM,


how to have variable length record in outrec..i have the requmt as follows.. i/p file variable lenght record output file : i need to alter the input and write into outrec(another file) sort fields: copy from(dd1) using ctl1 ctl1cntl dd * outfil fnames=xxx, outrec=(1,131) here i outrec is bombing with error..how to overcome this defect...???

1 Answers  


how to set dependancy for jobs?

4 Answers  


Categories