ERROR-076, Mandatory parameter SORTSIZE missing

I am creating new file. Please see the attachment.

I am getting following message on output file

ERROR-076, Mandatory parameter SORTSIZE missing

SORTSIZE is in the JCL

Thanks
forForum011212.rtf (2.68 KB)

Is DDSORTR1 defined in ADAUTILT ?

Its define as below:

//DDSORTR1 DD DISP=OLD,DSN=ADABASDB.ADA220.SORT

You have to investigate the output of the job and see if what you believe having assigned to DDKARTE is assigned correctly.

Right, seeing the output would have made more sense than the input …

One thing I noticed my DB name is ADA220

But DDSORTR1 is defined as ADA225.

Do you think it can be an issue?

thanks

I am sorry it is defined correctly as

//DDSORTR1 DD DISP=OLD,DSN=ADABASDB.ADA220.SORT

Parameters:

ADACMP COMPRESS
ADACMP FILE=55
ADACMP MINISN=1
ADACMP FNDEF=‘01,AA,8,B’
ADACMP FNDEF=‘01,AB,8,A’
ADACMP FNDEF=‘01,AC,8,A’
ADACMP FNDEF=‘01,AD,13,A,DE,NU’

[b]

DD-Statement for DDEBAND missing,
No records will be compressed. [/b]

     ------------------------------------------------------       

ADALOD LOAD FILE=55

A D A L O D: Error occurred during execution:

ERROR-076, Mandatory parameter SORTSIZE missing

       Add this parameter and rerun the job.

Judging by the spare information you give this appears to confirm
DDEBAND and DDKARTE are NOT overriding the corresponding DDs
from the procedure.

Without the full DDDRUCK / DDPRINT output there is no way to tell
you more than that.

Please find attached output
TSSDNEWF JOB14784.srl (75 Bytes)
JOB14784.rtf (51.4 KB)

This attachment contains an URI only, but no output.

pl check now. thanks

I changed file number to 20 and its work. Probably file number 54 is used by System file.

But this message still getting

DDDRUCK STEP01
Parameters:

ADACMP COMPRESS
ADACMP FILE=20
ADACMP MINISN=1
ADACMP FNDEF=‘01,AA,8,B’
ADACMP FNDEF=‘01,AB,8,A’
ADACMP FNDEF=‘01,AC,8,A’
ADACMP FNDEF=‘01,AD,13,A,DE,NU’
DD-Statement for DDEBAND missing,
No records will be compressed.

Any assist will be appreciated.

17 //DDEBAND  DD DUMMY                                                   

That’s actually not an error but just informational. If you are not compressing records but are creating an empty file or using already-compressed records, this is OK to see the missing DDEBAND message.

What is the name of your SORT dataset doesn’t matter.

It looks a bit strange. It could look as it ‘hits’ EOF after your ADALOAD LOAD FILE=… stmt.

Could you try to make a typo error in one of the following parameter stmts and see if it echos this one and complain about it.
Perhaps you could also try to remove the quotes aroung the file name. It looks correct but you do not need them because you got no special characters in the name.

17 //DDEBAND DD DUMMY

This is due to Dummy. Wolfgang Winter pointed out earlier.

Thanks 4 every one

D