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

Extract only those records from a PS file which are having word 'TEXT' in the records using COBOL? The word TEXT is not present in a particular position in all the records.

2 Answers   RBS,


Name the sections present in data division.

0 Answers  


How you can characterize tables in cobol?

0 Answers  


can we use full outer join with cursors declared in cobol program?

2 Answers  


Explain sorting techniques in cobol program? Provide the sort file definition, the sort statement, its syntax and meaning

0 Answers  






What is the difference between SEARCH and SEARCH ALL?

6 Answers   Cognizant,


how do you reference the variable block file formats from cobol programs

0 Answers  


How to define variable 9(20) in COBOL, because compiler does not allow us to declare variables with Pic 9(18). Can anyone please let me know the answer... I know one answer to this question which is to use Compiler option Arith (Extend) during Compilation. It extends the maximum limit to 9(32)..Just wanted to know if there is any other way to extend this?

4 Answers   CSC, TCS,


I got user abend U4038 while compiling my runjcl.. can anyone help me?

10 Answers   CGI,


Define static linking and dynamic linking.

0 Answers  


What is Pic 9v99 Indicates in COBOL?

0 Answers   SwanSoft Technologies,


What is Static and Dynamic linking ?

3 Answers  


Categories