wht happens if blksize = 0 and lrec = 0 ?



wht happens if blksize = 0 and lrec = 0 ?..

Answer / rambabu

If we try to allocate a dataset giving blksize = 0 and
lrecl = 0, with Record format as FB, then system will give
you the below allocation error
"Record length of zero is valid only if record format is U"

If you are trying to copy an input dataset to an output
dataset with blksize=0 and lrecl=0, then system will copy
the file successfully and will allocate the record length
and block sizes that input datset has.

If you allocate the dataset with giving blksize = 0 and
lrecl = 0, with Record format as U, then the sort utility
fails with RC 16.

Is This Answer Correct ?    16 Yes 1 No

Post New Answer

More JCL Interview Questions

Do we need to code DCB parameters when using DISP position as MOD?

1 Answers   Accenture,


which utility is used to update pds?

1 Answers   IBM,


The maximum number of in-stream procedure you can code in any JCL is ?

5 Answers  


what happens if job falls in loop ? how to resolve it ?

3 Answers   Patni,


What will happen if two JOB statements are mentioned in an JCL continuously.

2 Answers   IBM,






What is the difference between a symbolic and an override in executing a PROC?

2 Answers  


What is S322 abend ?

5 Answers  


which utility is used a dummy utility?

0 Answers   IBM,


what is the difference between the JCLLIB and JOBLIB ,and where do we use it ?

3 Answers   Convergys,


what is a jcl?

0 Answers   IBM,


how to see the latest generation in gdg?

3 Answers   Deloitte,


describe the exec statement,its meaning ,syntax and keywords?

3 Answers  


Categories