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
 

 

Difference between //sysprint dd sysout=* & sysout dd *

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
sand
Warnings : 1

New User


Joined: 20 Nov 2005
Posts: 19

PostPosted: Sun Jan 08, 2006 6:10 pm    Post subject: Difference between //sysprint dd sysout=* & sysout dd *
Reply with quote

Hi all,

what is the difference between //sysprint dd sysout=*
and //sysout dd sysout=*

In coding point of view when we will use //sysprint dd sysout=*
and when //sysout dd sysout=*

Reason for Warning: Posted the Same question thrice. TITLE EDITED

Thanks.
Sand
Back to top
View user's profile Send private message

balusengodan

New User


Joined: 01 Mar 2005
Posts: 15
Location: chennai

PostPosted: Fri Jan 27, 2006 11:06 am    Post subject:
Reply with quote

hi sand,

if i am right please take this message if not please send me the correct one to me

//sysout dd sysout=*
is used only when you are using sort and merge ibm utilities

where as
//sysprint dd sysout=*
is used for rest of the jcl which is used to print the messages tegarding the executed jobs to the spool area


if it is correct please send me ackowledge if not send me correct one
and i apologize for wrong if it so
thanks
balu.s
Back to top
View user's profile Send private message
urnarendra

New User


Joined: 29 Jun 2005
Posts: 7

PostPosted: Fri Jan 27, 2006 7:23 pm    Post subject: Re: Difference between //sysprint dd sysout=* & sysout d
Reply with quote

Hi,

sysprint is used for mainly to print the output in aspecified dataset
i mean to say that,if we want take a out put in a personal dataset we should specifie in //sysprint dd dsn=tst.ibm...........
anywhy sysprint is used for to print the out put in a specified location

sysout is used for to rout the out into specified device.i.e if u specified
//sysout dd sysout=a, the out is going to the printer......

if i wrong correct it?

cheers,
K.N.CHOWDARy.
Back to top
View user's profile Send private message
mmwife

Super Moderator


Joined: 30 May 2003
Posts: 1592

PostPosted: Sat Jan 28, 2006 11:01 pm    Post subject:
Reply with quote

Hi Sand,

I don't know for certain, but my guess is that because SYSOUT is the default destination for DISPLAYed data, SYSPRINT is used for printed data.

You normally would use WRITEs to print the SYSPRINT data and DISPLAYs for the SYSOUT data.
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2360
Location: Israel

PostPosted: Sun Jan 29, 2006 11:13 am    Post subject:
Reply with quote

It depends on the application in your EXEC statement (actually, in the allocation inside the program). For example - in TSO you use SYSTSPRT for your output prints; In NATURAL, you use CMPRT etc.

O.
Back to top
View user's profile Send private message
pa1chandak
Currently Banned

New User


Joined: 31 Jan 2006
Posts: 55

PostPosted: Wed Feb 01, 2006 8:22 pm    Post subject:
Reply with quote

//SYSPRINT DD SYSOUT=*

IS USED WHEN THERE IS ANY MESSAGE FROM THE UTILITY.

//SYSOUT DD SYSOUT=*

IS USED WHEN THERE IS ANY MESSAGE FROM THE PROGRAM.

I WILL TRY TO EXPLAIN WITH EXAMPLE.

WHEN WE ARE USING IEFBR14 UTILITY, THIS UTILITY WONT PERFORM ANY OPERATION. THIS IS A DUMMY UTILITY.
THIS UTILITY WONT GENERATE ANY MESSAGE.
SO WE DONT NEED
//SYSPRINT DD SYSOUT=*
WHEN USING THE IEFBR14


WHEN WE USE IEBGENER UTILITY,
THIS UTILITY GENERATES A MESSAGE THAT
GENARATE AT EOF i.e. end of file, etc

SO THIS MESSAGE IS GENERATED BY THE UTILITY
WE NEED
//SYSPRINT DD SYSOUT=*
WHEN USING IEBGENER UTILITY.
IF WE ARE NOT CODING THIS , WE WILL SURELY GET ERROR THAT SYSPRINT DD STATEMENT IS MISSING.

I THINK IT MUST BE CLEAR NOW.




IF I AM WRONG SOMEWHERE PLEASE CORRECT ME

THANK YOU

DO SEND ME THE REPLY

PAWAN

09822546416
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 Difference between TWALENG and TWASIZE Arunkumar Chandrasekaran CICS 3 Tue Jan 03, 2017 12:57 pm
No new posts Sticky: difference between ... DUMMY ... and ... enrico-sorichetti JCL & VSAM 0 Mon Oct 17, 2016 4:31 pm
No new posts ICETOOL/SYNCSORT - SYSPRINT output nartcr DFSORT/ICETOOL 17 Wed Oct 05, 2016 10:46 pm
No new posts Difference space showed for TS and it... autobox DB2 1 Thu Apr 14, 2016 1:07 pm
No new posts Difference Between CICS WebSupport an... sachinji84 CICS 1 Mon Mar 07, 2016 7:25 pm


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