IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Why do we use SYSUDUMP in a jcl


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
pjnithin

Active User


Joined: 22 Dec 2005
Posts: 116

PostPosted: Wed Mar 12, 2008 12:22 pm
Reply with quote

Why do we use SYSUDUMP in a jcl???
we have a job which has been printing lot of reports on an external printer from a job. I think the culprit is the SYSUDUMP statement.
In the jcl it is like
SYSUDUMP DD SYSOUT=C
Back to top
View user's profile Send private message
murmohk1

Senior Member


Joined: 29 Jun 2006
Posts: 1436
Location: Bangalore,India

PostPosted: Wed Mar 12, 2008 1:08 pm
Reply with quote

Nithin,

What does manual/QW say about SYSUDUMP?
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Wed Mar 12, 2008 1:28 pm
Reply with quote

Hi,

SYSUDUMP- output file for a system 'dump' if the program fails.

If "C" is a CLASS assigned to a printer, it can be the reason to initiate a printer.


P.S. 'culprint'..heh heh...good 'name' ... icon_smile.gif
Back to top
View user's profile Send private message
murmohk1

Senior Member


Joined: 29 Jun 2006
Posts: 1436
Location: Bangalore,India

PostPosted: Wed Mar 12, 2008 1:32 pm
Reply with quote

Anuj,


Quote:
P.S. 'culprint'..heh heh...good 'name' ...

Really good name.

Quote:
it can be the reason to initiate a printer.

But the TS never mentioned wheter the job is a 'good' or a bad one.
Back to top
View user's profile Send private message
pjnithin

Active User


Joined: 22 Dec 2005
Posts: 116

PostPosted: Wed Mar 12, 2008 1:48 pm
Reply with quote

the job ended successfully...but still it was printed lot of pages..cud there be any other reasons???
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Wed Mar 12, 2008 1:49 pm
Reply with quote

what does the printout look like ?
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Wed Mar 12, 2008 1:53 pm
Reply with quote

murmohk1 wrote:
Really good name.
.. icon_smile.gif

Quote:
iBut the TS never mentioned wheter the job is a 'good' or a bad one.
yeah, that is why i used italic text for 'can' in my previous post.. some time I'm mean.. I think... icon_smile.gif

It should should initiate printer only when JOB ends with a non-zero RC.
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Wed Mar 12, 2008 1:55 pm
Reply with quote

pjnithin wrote:
the job ended successfully...but still it was printed lot of pages..cud there be any other reasons???
What was return code of JOB?
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Sun Mar 16, 2008 2:27 pm
Reply with quote

err..I meant MAXCC.
Back to top
View user's profile Send private message
murmohk1

Senior Member


Joined: 29 Jun 2006
Posts: 1436
Location: Bangalore,India

PostPosted: Sun Mar 16, 2008 6:17 pm
Reply with quote

Anuj,

Quote:
the job ended successfully...but still it was printed lot of pages..cud there be any other reasons???

Should be 0, unless other rc's are also acceptable (like 4 sometimes).
Back to top
View user's profile Send private message
gcicchet

Senior Member


Joined: 28 Jul 2006
Posts: 1702
Location: Australia

PostPosted: Mon Mar 17, 2008 4:50 am
Reply with quote

Hi,
can't you compare the printed output to the completed job to find out which DDNAME the output belongs to ?


Gerry
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Mon Mar 17, 2008 8:45 am
Reply with quote

Hello,

If you post the job statement and the jcl for the step creating the questionable output, we may be better able to offer suggestions.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts how to analyze SYSUDUMP ABENDS & Debugging 1
No new posts SYSPRINT, SYSUDUMP output datasets JCL & VSAM 2
No new posts How to get the abending pgm name and ... ABENDS & Debugging 5
No new posts What is the difference between CEEDUM... ABENDS & Debugging 1
No new posts What is SYSABOUT and SYSUDUMP Mainframe Interview Questions 1
Search our Forums:

Back to Top