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

Difference between Sysprint & Sysout


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

New User


Joined: 18 Mar 2005
Posts: 48

PostPosted: Mon May 23, 2005 11:38 am
Reply with quote

hi,

what is the difference between

//sysprint dd sysout=*
and
//sysout dd sysout=*

bye,
ks reddy.
Back to top
View user's profile Send private message
subhasis_50

Moderator


Joined: 09 Mar 2005
Posts: 363
Location: Earth

PostPosted: Mon May 23, 2005 11:57 am
Reply with quote

Hi,
See the following
ibmmainframes.com/viewtopic.php?t=1739&highlight=sysprint+sysout
Back to top
View user's profile Send private message
knd_r
Currently Banned

New User


Joined: 18 Mar 2005
Posts: 48

PostPosted: Mon May 23, 2005 8:22 pm
Reply with quote

hi,

i am executing a step with a program which displays a line.
what will be the output for

//sysprint dd - - -
and
//sysout dd - -
Back to top
View user's profile Send private message
dneufarth

Active User


Joined: 27 Apr 2005
Posts: 420
Location: Inside the SPEW (Southwest Ohio, USA)

PostPosted: Mon May 23, 2005 8:31 pm
Reply with quote

define both in your JCL and see what you get in each upon execution


Dave
Back to top
View user's profile Send private message
prasannanjaneya
Warnings : 1

New User


Joined: 14 Mar 2005
Posts: 10
Location: pune

PostPosted: Mon May 23, 2005 9:01 pm
Reply with quote

hi knd,

sysin and sysout are system defind file names in cobol. if ur program is not containing any files, sysout in cobol contains output to ur program. and sysprint is for to get messages regarding ur program execution. this is same in jcl as well as cobol. sysout carries program output. and sysprint ment for messages generated while program execution.
Back to top
View user's profile Send private message
SteveConway

New User


Joined: 26 May 2005
Posts: 28
Location: Northern VA, USA

PostPosted: Thu May 26, 2005 7:34 pm
Reply with quote

The bottom line is that each program uses specific DD's for specific purposes. Depending on the program, it may use one or the other, both, or neither. It is completely based on what the programmer coded his/her program to do. Some languages and certain utilities use specific DDs each and every time; others do not.

Cheers,,,Steve
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