View previous topic :: View next topic
|
Author |
Message |
madprasy
New User
Joined: 08 Apr 2008 Posts: 34 Location: Chennai
|
|
|
|
I would like to display a pop up message in TSO ISPF whenever some critical steps gets completed in my job just like the way a display message pop up while submit & completion of the job.
Is there any JCL utility to display message?
In TSO/ISPF we can use SEND USER command to do it. Can this be incorporated within a job too? |
|
Back to top |
|
|
Terry Heinze
JCL Moderator
Joined: 14 Jul 2008 Posts: 1249 Location: Richfield, MN, USA
|
|
|
|
Incorporate the following step in your JCL and execute it based on a return code from a previous step:
Code: |
//SEND EXEC PGM=IKJEFT01
//SYSTSPRT DD SYSOUT=*
//SYSTSIN DD *
SEND 'Test msg' USER(xxxxxx) |
|
|
Back to top |
|
|
daveporcelan
Active Member
Joined: 01 Dec 2006 Posts: 792 Location: Pennsylvania
|
|
|
|
IMHO, these messages, are very annoying.
Often they get missed, because if you are in the middle of typing, they flash across your screen, and a gone before you get a chance to read them.
Worse yet, you get so many, they become insignificant.
Perhaps send an email instead. While they are still annoying, at least they need to be deleted or ignored.
Just my own view. |
|
Back to top |
|
|
steve-myers
Active Member
Joined: 30 Nov 2013 Posts: 917 Location: The Universe
|
|
|
|
madprasy wrote: |
I would like to display a pop up message in TSO ISPF whenever some critical steps gets completed in my job just like the way a display message pop up while submit & completion of the job.
Is there any JCL utility to display message?
In TSO/ISPF we can use SEND USER command to do it. Can this be incorporated within a job too? |
Something like this -
Code: |
//POPUP EXEC PGM=IKJEFT01,
// PARM='SEND ''HELLO'' USER(&SYSUID)'
//SYSTSPRT DD SYSOUT=*
//SYSTSIN DD DUMMY |
|
|
Back to top |
|
|
Pedro
Global Moderator
Joined: 01 Sep 2006 Posts: 2547 Location: Silicon Valley
|
|
|
|
I agree with Dave about the messages getting annoying and that you ignore them after some time. Perhaps limit the messages to only notify for error situations.
Many years ago I worked on a 'status' capability, where the batch job updated a VSAM file at various stages and then several concerned parties had a tool that read the VSAM file and showed the current progress.
Perhaps you can get by with looking at the SDSF DA display. |
|
Back to top |
|
|
Willy Jensen
Active Member
Joined: 01 Sep 2015 Posts: 712 Location: Denmark
|
|
|
|
I also would also have suggested SDSF DA. Especially if you have the possibility of having a separate session, so that you can use the auto-refresh feature in SDSF. |
|
Back to top |
|
|
madprasy
New User
Joined: 08 Apr 2008 Posts: 34 Location: Chennai
|
|
|
|
Thank you Steve. It worked.
we have a long running job and we would like to monitor the completion of steps just to send a mail to team of people after validation. This helped. |
|
Back to top |
|
|
Kerry Ropar
New User
Joined: 14 Sep 2016 Posts: 25 Location: Australia
|
|
|
|
Perhaps, you may want to add small bit of more logic to display/mail the step number completed as well .. makes design a little better and you know till what point your job is complete .. just my thought |
|
Back to top |
|
|
|