View previous topic :: View next topic |
Author |
Message |
naveen_kj Beginner
Joined: 03 Feb 2003 Posts: 18 Topics: 8 Location: India
|
Posted: Fri Jul 18, 2003 8:37 am Post subject: Messages using sysout |
|
|
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 |
|
|
Dibakar Advanced
Joined: 02 Dec 2002 Posts: 700 Topics: 63 Location: USA
|
Posted: Fri Jul 18, 2003 8:45 am Post subject: |
|
|
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 |
|
|
naveen_kj Beginner
Joined: 03 Feb 2003 Posts: 18 Topics: 8 Location: India
|
Posted: Sat Jul 19, 2003 7:27 am Post subject: |
|
|
Hi Diba,
Thanks for your reply. The code you posted is not working.
Naveen |
|
Back to top |
|
|
Dibakar Advanced
Joined: 02 Dec 2002 Posts: 700 Topics: 63 Location: USA
|
Posted: Tue Jul 22, 2003 3:02 am Post subject: |
|
|
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 |
|
|
naveen_kj Beginner
Joined: 03 Feb 2003 Posts: 18 Topics: 8 Location: India
|
Posted: Sat Jul 26, 2003 6:34 am Post subject: |
|
|
Hi Dibakar,
Thanks for you help. It is working.
Naveen |
|
Back to top |
|
|
|
|