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

What purpose SYSPRINT and SYSOUT are used


IBM Mainframe Forums -> Mainframe Interview Questions
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Ajay Bisht

New User


Joined: 12 Sep 2006
Posts: 6

PostPosted: Thu Oct 12, 2006 11:08 am
Reply with quote

Hi parikshit sir oooppsss HI parikshit,,,

As per ur mail i am again posting my doubt in this forum regarding sysprint and sysout.

I hope u don't mind it sir..

a) Can u plz tell me here again abut sysprint and sysout. For what purpose they are used.

For eg.
//sysprint dd sysout=*
//sysout dd sysout=*

I am still confused that if we mentioned both of them in our jcl then why not both of them get displayed in our o/p spool ??
And both statement signifies that output will go to the output class assigned in msgclass..

b) Is it possible in any situation that we can see both in our output spool.??

sir ji plz ab to reply de dena........ icon_biggrin.gif


Regards
Ajay
Back to top
View user's profile Send private message
shreevamsi

Active User


Joined: 23 Feb 2006
Posts: 305
Location: Hyderabad,India

PostPosted: Thu Oct 12, 2006 2:40 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
Back to top
View user's profile Send private message
surya_pathaus

Active User


Joined: 28 Aug 2006
Posts: 110

PostPosted: Thu Oct 12, 2006 5:49 pm
Reply with quote

Hi Ajay,

Find the Link which is already posted in this forum.

[url]
ibmmainframes.com/about100.html
[/url]
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 -> Mainframe Interview Questions

 


Similar Topics
Topic Forum Replies
No new posts Passing SYSPRINT to Invoked Program PL/I & Assembler 9
No new posts Copy few lines from SYSOUT of 10 mill... All Other Mainframe Topics 5
No new posts No sysout coming in spool JCL & VSAM 4
No new posts fetch the record number from FMNMAIN ... CLIST & REXX 10
No new posts Control M features to check string in... Compuware & Other Tools 1
Search our Forums:

Back to Top