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

i have 5 steps to execute in that i want to skip 3nd step and start execute from forth step how can u do this.

7 Answers   Syntel,


I found in one of the jcl, gdg version being mentioned as : abc.def.ghi(-0) Can anyone tell me how referring the version as (-0) is different from referring it as (0)

2 Answers  


How can we increment subscript and index?

1 Answers   CTS, IBM,


We have two PS files,want to compare those files and put the duplicate records in one file. Input file 1 contains(1,2,4,9,10) Input file 2 contains (1,4,5,11,12,14,16). Help me with jcl.

6 Answers  


Can a job have only steplib and no joblib ?

6 Answers  


Which COND paramter will u use to execute the step only if the previous step does not execute

3 Answers   BoA, HSBC,


How to release the Output HELD by using HOLD = YES on DD statement ?

2 Answers   IBM,


How to check empty file in jcl?

4 Answers   Infosys,


What is the use of the utility DFSRRC00 in the JCL?

2 Answers   Convergys,


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

1 Answers  


which parameter is use to declare the name of dataset in dd statement?

0 Answers   IBM,


Suppose I have a program in cobol name ”careerride” and want to execute the program by jcl. Specify the process?

0 Answers  


Categories