Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Why do we use SYSUDUMP in a jcl

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: Why do we use SYSUDUMP in a jcl
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: 1439
Location: Bangalore,India

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

Nithin,

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

Senior Member


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

PostPosted: Wed Mar 12, 2008 1:28 pm    Post subject:
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: 1439
Location: Bangalore,India

PostPosted: Wed Mar 12, 2008 1:32 pm    Post subject:
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    Post subject: Reply to: Why do we use SYSUDUMP in a jcl
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10256
Location: italy

PostPosted: Wed Mar 12, 2008 1:49 pm    Post subject: Reply to: Why do we use SYSUDUMP in a jcl
Reply with quote

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

Senior Member


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

PostPosted: Wed Mar 12, 2008 1:53 pm    Post subject:
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

Senior Member


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

PostPosted: Wed Mar 12, 2008 1:55 pm    Post subject: Re: Reply to: Why do we use SYSUDUMP in a jcl
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

Senior Member


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

PostPosted: Sun Mar 16, 2008 2:27 pm    Post subject:
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: 1439
Location: Bangalore,India

PostPosted: Sun Mar 16, 2008 6:17 pm    Post subject:
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: 1703
Location: Australia

PostPosted: Mon Mar 17, 2008 4:50 am    Post subject:
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

Site Director


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

PostPosted: Mon Mar 17, 2008 8:45 am    Post subject:
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    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts how to analyze SYSUDUMP krishna_mf ABENDS & Debugging 1 Fri May 29, 2009 4:28 pm
No new posts SYSPRINT, SYSUDUMP output datasets ramfrom84 JCL & VSAM 2 Tue Feb 05, 2008 12:58 pm
No new posts How to get the abending pgm name and ... arnab ABENDS & Debugging 5 Tue Feb 05, 2008 9:15 am
No new posts What is the difference between CEEDUM... sukanya-ramanathan ABENDS & Debugging 1 Mon Apr 16, 2007 4:58 pm
No new posts What is SYSABOUT and SYSUDUMP mkk157 Mainframe Interview Questions 1 Wed Apr 04, 2007 3:27 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us