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 are decleratives in cobol?

0 Answers   GGG, Satyam,


is it possible to declare index in cobol program? if it is not why its tell me pls

3 Answers  


Re: 01 NAME1 PIC X(13) VALUE "COBOL PROGRAMMING". 01 NAME2 PIC X(13). now I want to display the value of NAME1 in reverse order i.e value should be displayed as "GNIMMARGORP LOBOC" HOW can I do that ??? please let me know if any one knows it.

2 Answers   IBM,


how to transfer the file from pc to mainframe??

4 Answers  


The disposition parameter in the jcl is share ( DISP+SHR ) and the program opens file in extend mode what will happen?

6 Answers   Cognizant,






how to move the records from file to array table. give with code example

0 Answers   ADP, Syntel,


Hi, My interviewer ask A calls B and C calls B, a and b are static c and b are dynamic.what happens if they compile and execute at same time.

3 Answers   iGate,


where did you see the information regarding abend codes in jcl?

1 Answers   Hewitt,


Read filea And file b write the same records in both files? Records in a but not in b record in b but not in a

3 Answers   TCS,


How many bytes do a s9 (7) comp-3 field occupy?

1 Answers  


hie everyone.i just completed my b.tech in electronics and joined mainframes course.am i doing right course for my better future?please help me with your suggestions.ill be very thankful to you guys.

2 Answers  


I have files that contains both duplicates files(occur more than twice) and non-duplicate files.The file is already sorted by a key.I want to determine those records that are duplicate and will be move to a duplicate file and non- duplicate files to be move to a valid file.thank you.help please

2 Answers  


Categories