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 & Sysout

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: Difference between Sysprint & Sysout
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    Post subject: Re: sysprint & sysout
Reply with quote

Hi,
See the following
http://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    Post subject:
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: 241
Location: Cincinnati OH USA

PostPosted: Mon May 23, 2005 8:31 pm    Post subject:
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    Post subject:
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    Post subject:
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    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