wht happens if blksize = 0 and lrec = 0 ?

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

How can return codes be tested before execution of a job step?

909


Why include statement is used in a jcl?

677


Explain the job statement in jcl?

633


What is the function of dd disp parameter?

648


Explain how can a stopped job be started again?

627






What do you understand by the term job time – out and how can you overcome that?

591


What is the function of the dd avgrec keyword in sms datasets?

821


hello friends ,i have exam in Hsbc,pls any on send me placement papers and technical questions on mainframes,thank u

1650


What does a disposition of (new,catlg,keep) for a dsn mean?

600


When The Define Jcl Is Not Available, How Can You Get Information About A Vsam File's Organisation ?

733


What is the function of dd name parameter with a 2 part structure; audit.report?

691


how do you code a null statement?

760


a set statement is used to define commonly used symbolic across job steps or procedures. It initializes the previous values in the symbolic names. It has to be defined before the first use of the symbolic names in the jcl. State whether true or false?

604


how to run batch program without jcl?

10040


How is a type of file defined in the jcl that executes the cobol program?

699