Difference between lrecl, blksize among PS, PDS issues?
i.e in jcl at dcb



Difference between lrecl, blksize among PS, PDS issues? i.e in jcl at dcb..

Answer / guest

asper my knowledge
lrecl is the actual length for fixed length records and for
variable lenth records it is longest record lenth + 4 bytes.
this length is specified in bytes.
blocksize(blksize) is specified in multiples of lrecl.

in jcl dcb for
for ps -- dcb=(lrecl=m) --- there wil b no blksize.
pds -- dcb=(lrecl=m,blksize=n) -- say n = m*80

if i'm wrong plz let me know..

Is This Answer Correct ?    0 Yes 5 No

Post New Answer

More COBOL Interview Questions

diffrence between renames and redifnes with examples

3 Answers   IBM,


) How do u handle errors in BMS macro?

0 Answers   IBM,


how do you reference the fixed unblock file formats from cobol programs

0 Answers  


How include time & date in the report generation in cobol programing?

2 Answers  


Using string statement.Is coding three destination string from one source string possible in one code?or three codes for every destination string of one source string.?thank you

1 Answers   BPL,






u have passed sme charecters thru parm parameter in jcl. how do u code in cobol to recieve the values u gave in parm ?

2 Answers   IBM,


SUPPOSE I HAVE 60 CHARACTERS STING. IN THAT I WANT FIND OUT HOW MANY TIMES 'A'(ASSUME)WILL REPEATED AND I HAVE TO PASS 'E' IN PLACE OF 'A'ALONG THAT STRING.

2 Answers   Wipro,


Difference between file status codes 02 and 22.... since both are for duplicate key detection.

1 Answers  


What is the difference between Structured COBOL Programming and Object Oriented COBOL programming?

0 Answers   TryTechnicals Pvt Ltd,


Whats the difference between search & search ALL?

3 Answers   IBM,


Explain the difference between an internal and an external sort, the pros and cons, internal sort syntax etc.

3 Answers  


here is my requirement A1 is alphanumeric with value 'A1B2C3D4' as defined below 05 A1 PIC X(8) VALUE IS 'A1B2C3D4' but i need to have A2,A3 as ABCD & 1234 repectively...... A2 = ABCD A3 = 1234 Can you please explain me what are the different ways to do it?

2 Answers   IBM,


Categories