Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Error in IBM? STIMATED LINES EXCEEDED??

Status
Not open for further replies.

wolves

Programmer
Jan 26, 2001
130
US
Here is the code?


Code:
000012,//**********************************************************************
000013,//SORTSUM  EXEC  PGM=SYNCSORT,REGION=4096K
000014,//SYSOUT   DD  SYSOUT=*
000015,//SYSOUZ   DD  SYSOUT=*
000016,//SORTIN   DD  DSN=INPUT_FILE,DISP=SHR
000017,//SORTOUT  DD  DSN=OUTPUT_FILE,
000018,//             DISP=(NEW,CATLG,CATLG),
000019,//             UNIT=DISK,
000020,//             SPACE=(CYL,(10,5),RLSE),
000021,//             DCB=(RECFM=FB,LRECL=125)
000022,//SYSIN     DD  *
000023,  SORT FIELDS=(1,06,CH,A)
000024,  SUM FIELDS=(108,17),FORMAT=ZD
000025,  END
000026,/*

Here is the error:

$HASP375 JXQSUM98 ESTIMATED LINES EXCEEDED
$HASP375 JXQSUM98 ESTIMATE EXCEEDED BY 5,000 LINES
$HASP375 JXQSUM98 ESTIMATE EXCEEDED BY 10,000 LINES
$HASP375 JXQSUM98 ESTIMATE EXCEEDED BY 15,000 LINES
$HASP375 JXQSUM98 ESTIMATE EXCEEDED BY 20,000 LINES
$HASP375 JXQSUM98 ESTIMATE EXCEEDED BY 25,000 LINES
.....
$HASP375 JXQSUM98 ESTIMATE EXCEEDED BY 680,000 LINES
IEA995I SYMPTOM DUMP OUTPUT
SYSTEM COMPLETION CODE=0C7 REASON CODE=00000000
TIME=07.42.46 SEQ=44965 CPU=0000 ASID=0038
PSW AT TIME OF ERROR 078D1000 80033960 ILC 6 INTC 07
NO ACTIVE MODULE FOUND


I don't see the problem, or am I overlooking something stupid?
 
Are there the many lines of output being spooled out? If so what are they?
 
...it has been some time...I have no manual, but:

0c7 abend is normally associated with packed-decimal error.
I sooner would have expected something like 722 abend.
Could it be that the sum field is starting on the wrong position? Or maybe the length - 17 - is incorrect.
In other words: Did you check the record definition of the input file?

Try to system determine your region by specifying:
REGION=0M
(if this is allowed in your environment)

Would it help to define some SORTWK work files?

Did you try to copy a limited amount of records (let's say 500 or so) and then rerun the job?

You CATLG your output anyway (...,CATLG,CATLG)! Is the output as expected?

I am stupid too! Because - sofar - I don't see it either!


Wim.
 
My apologies if some of this duplicates what Wim said. But, anyway, my guess is that the dump is causing the lines exceeded msg. As Wim says, the 0C7 is probably caused by the summing. IBM mainframes can perform math only on packed or binary data; not DISPLAY numeric data. So the DISPLAY fields must be packed before performing the math, ergo the 0C7.

Check your SYSOUT for clues also check your SORTOUT file. If it's empty you're probably not using the correct offset; if it's not, check the count of the O/P recs then check the I/P file. The O/P rec cnt + 1 I/P rec should have invalid data in the SUM fld.

Regards, Jack.

"A problem well stated is a problem half solved" -- Charles F. Kettering
 
Jack's response is right on. The exceeded message is stating that you have an excessive amount of spooled output. It is probably coming from the dump. The reason you don't see anything excessive in the output is that you don't have a DD defined for the dump dataset. When the DD is missing, it automatically gets allocated to a temp file that is typically deleted at the end of the job. That's why when you look at your spooled output you can't see any extra lines.
 
In addition to the other comments, the "lines exceeded" messages come from JES2. The estimated lines field is coded on the JOB card. Some installations have a default or mandatory estimation based on the CLASS= value on the JOB card.

BTW "$HASP" indicates JES2, as JES2 is derived from HASP, a job spooling system developed by IBM for one of its clients in Houston: Houston Automated Spooling System.

IBM tried to change $HASP to $JES2, but there were too many programs, both IBM and 3rd party, that looked for the $HASP string in the listings.
 
Hi WR,

I think you wanted to print:

Houston Automated Spooling Program (or maybe Project).



Regards, Jack.

"A problem well stated is a problem half solved" -- Charles F. Kettering
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top