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 mainframe?

4 Answers   CGI,


How to read records in reverse order in flat file?

1 Answers  


How to code these statements in JCL: CLEANUP INITIAL(NO) RESTART(NO) DYNALLOC(NO) job definition..?

0 Answers  


I have a sequential file in which there are 50 records. Now I want to copy all the 50 records in the reverse order into a new file? The last record in the original file should be the first record in the new file. How can I do it?

4 Answers   IBM, TCS,


What is COND=EVEN ?

9 Answers   IBM,






what is a null indicator in db2?

5 Answers   Fiserv, IBM,


what is the restart?hopw it is invoked?

1 Answers  


What are the parameter in the job card wihtout which job won't run........

10 Answers   IBM,


WHAT WILL HAPPEN TO A FILE IF DISP=(MOD,DELETE,DELETE)

8 Answers   ADP,


What are s0c1, s0c4, s0c5, s0c7 and socb?

0 Answers  


Name a few IBM utility programs, and explain its function.

0 Answers  


What is a Proc ? why do we go for a Proc ? What are the types of procs?Can we have nesting in Procs ?

9 Answers   Xansa,


Categories