Follow Our FB Page << >> for Daily Laughter. We Post Funny, Viral, Comedy Videos, Memes, Vines...

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

What is jcl in mainframe, and how many types of jcl statements are there for a job?

0 Answers  

i have a jcl calling proc which has 10 steps, i want to execute from step5 to step10, where can i code RESTART and COND parameter?

4 Answers   IBM,

Can I send output of job to my remote device careerride123?

0 Answers  

Given a input file with duplicates how to remove the duplicate records from the file using JCL?

6 Answers   CDS, Convergys, TCS,

If a job has 3 steps and step 1 and step 3 should get executed and step 2 should not get executed irrespective of the return code from the previous steps. How can it be done?

5 Answers   TCS,

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

3 Answers   Convergys,

What is the difference between joblib and jcllib statements

7 Answers   IBM, Maples,

how to solve u4038 abbend?........

3 Answers   Atos Origin, TCS,

you have one jcl .in sort step 5 files are there.if out of 5 files if one file is uncataloged or not there then how will you correct your jcl so that problem does not come. you should not create this file will u overcome it.

3 Answers  

What is the use of DUMMY statement in the JCL? What is the use of DUMMY Utility in the JCL?

12 Answers   Convergys,

Name the system library from which modules are retrieved at execution

2 Answers  

What is Uncatalog dataset? How can we access/use them?

1 Answers