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

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


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
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
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
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
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
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: 2358
Location: Israel

PostPosted: Sun Jan 29, 2006 11:13 am
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Timestamp difference and its average ... DB2 11
No new posts Passing SYSPRINT to Invoked Program PL/I & Assembler 9
No new posts Difference when accessing dataset in ... JCL & VSAM 7
No new posts Copy few lines from SYSOUT of 10 mill... All Other Mainframe Topics 5
No new posts What is the difference between Taskty... Compuware & Other Tools 2
Search our Forums:

Back to Top