MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Messages using sysout

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Utilities
View previous topic :: View next topic  
Author Message
naveen_kj
Beginner


Joined: 03 Feb 2003
Posts: 18
Topics: 8
Location: India

PostPosted: Fri Jul 18, 2003 8:37 am    Post subject: Messages using sysout Reply with quote

Hi,

I want to write a message in the spool using sysout. The message will be written to the spool depending on the previous step return code in a JCL. Can anyone help me.

Thanks in advance,

Naveen
Back to top
View user's profile Send private message Yahoo Messenger MSN Messenger
Dibakar
Advanced


Joined: 02 Dec 2002
Posts: 700
Topics: 63
Location: USA

PostPosted: Fri Jul 18, 2003 8:45 am    Post subject: Reply with quote

One way could be to copy DDMSG to DDSPOOL using any utility where -
Code:
//DDMSG   DD *
message line1
message line 2
//DDSPOOL DD SYSOUT=*

Let me know if it works.

Diba.
Back to top
View user's profile Send private message Send e-mail
naveen_kj
Beginner


Joined: 03 Feb 2003
Posts: 18
Topics: 8
Location: India

PostPosted: Sat Jul 19, 2003 7:27 am    Post subject: Reply with quote

Hi Diba,

Thanks for your reply. The code you posted is not working.

Naveen
Back to top
View user's profile Send private message Yahoo Messenger MSN Messenger
Dibakar
Advanced


Joined: 02 Dec 2002
Posts: 700
Topics: 63
Location: USA

PostPosted: Tue Jul 22, 2003 3:02 am    Post subject: Reply with quote

Sorry, i missed your post.See if this helps -
Code:
//STEPCPY EXEC PGM=IEBGENER                     
//SYSUT1 DD *                                   
 HI NAVEEN!                                     
 RGDS, DIBA.                                   
//SYSUT2 DD SYSOUT=*                           
Back to top
View user's profile Send private message Send e-mail
naveen_kj
Beginner


Joined: 03 Feb 2003
Posts: 18
Topics: 8
Location: India

PostPosted: Sat Jul 26, 2003 6:34 am    Post subject: Reply with quote

Hi Dibakar,

Thanks for you help. It is working.

Naveen
Back to top
View user's profile Send private message Yahoo Messenger MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Utilities All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group