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

what is the difference between Plan & package

3 Answers   IBM,


what is the minimum number of lines a Cobol program should have to successfully compile and run

7 Answers  


without performing any operations on a file how can i know whether it contains data or not

2 Answers  


what are the working storage fields in BMS macro?

2 Answers   IBM,


How to remove the spaces at end of each record in the output file Via COBOL program? note: The file has a VB length

2 Answers   IBM, Wipro,






01 WS-NAME PIC X(10) OCCURES 2. by this we can get ws-name 2 times. My qustion is how can we access the second name

5 Answers   TCS,


What will happen if you code GO BACK instead of STOP RUN in a stand alone COBOL program ?

8 Answers   Arigo Infotech, IBM,


Consider the following COBOL entries: 05 X PIC 99 VALUE 10. SUBTRACT 20 FROM X. The resultant value of X wil be

7 Answers   TCS,


How to read the last 100 records from a COBOL file. The file contains N number of records.

11 Answers   IBM,


How to recover a deleted source physical file from library?

1 Answers   HCL,


In INITIALIZE what is Repalcing Word will do

1 Answers   CTS,


What is the meaning of 'TALLING' verb in cobol?

5 Answers  


Categories