Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Where can I found the brodcast message for my jobs?

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF
View previous topic :: :: View next topic  
Author Message
kalyanbrata.dhar

New User


Joined: 02 Sep 2008
Posts: 13
Location: Kolkata

PostPosted: Tue Sep 02, 2008 6:00 pm    Post subject: Where can I found the brodcast message for my jobs?
Reply with quote

I'm running several jobs and declaring notify <myid>. Now, my requirement is to get all the abend jobs list and send it to user. For that I tried as below:

// IF ABEND | RC > 3000 THEN
//STEP03 EXEC PGM=IEBGENER
//SYSUT1 DD *
JOB CSAEXDM7 HAS ABENDED
/*
//SYSUT2 DD DSN=CSCT.KALYAN.PSQ00.TEST2,DISP=MOD
//SYSPRINT DD SYSOUT=*
//SYSOUT DD SYSOUT=*
// ENDIF

I added these lines as last step of my JCL. This is working fine when the job is abending.

But for JCL error, this is not working. I discussed with concrened groups, and they told as below:

--------------------------
If you look closely at the Messages in the spool, the problem lies here.



To make the step write data into your file, the Step has to run. Now the step will run if and only if there is an abend in the previous step. Now, what happens is, one the previous steps gets an abend and then some step later, it gets a JCL ERROR and stops further processing of the JCL, so the IF ABEND step is never encountered.



Now here is what the solution is:



You will see that if you provide a NOTIFY statement in your job card and provide a ID, the Job completion message goes to that ID. There is a BROADCAST Dataset where this message is stored. If in all your jobs if you have the same ID in the NOTIFY statement all the job completion notice will go to that USER ID’s BROADCAST Dataset, which can be read by a separate job and we can select only those jobs which has a abend message. But to do this, you have to select a ID which can be used in NOTIFY and also you have to find out the BROADCAST Dataset naming convention.
---------------------------------------

Now my question is, where should I look for these brodcast messages? how can I store them?

kalyan
Back to top
View user's profile Send private message

Pedro

Senior Member


Joined: 01 Sep 2006
Posts: 2088
Location: Silicon Valley

PostPosted: Tue Sep 02, 2008 9:30 pm    Post subject: Reply to: Where can I found the brodcast message for my jobs
Reply with quote

See this thread:
http://ibmmainframes.com/viewtopic.php?t=33708&highlight=
Back to top
View user's profile Send private message
kalyanbrata.dhar

New User


Joined: 02 Sep 2008
Posts: 13
Location: Kolkata

PostPosted: Wed Sep 03, 2008 1:41 pm    Post subject:
Reply with quote

Thank you Pedro.. I tried the same. But problem is no <user>.BRODCAST.LIST is getting created. I manually created the same. But it is not working. While I am using LISTBC NONOTICES command from TSO it is saying the following error:

IKJ56961E LISTBC TERMINATED. THE MESSAGE LOG COULD NOT BE ALLOCATED.+
IKJ56961E DYNAMIC ALLOCATION ERROR CODE OF 9700 AND INFORMATION REASON CODE OF
0000.
***


I am not sure either user level broadcast datasets are enabled or not. Can you please tell me how to enable this.
Back to top
View user's profile Send private message
Pedro

Senior Member


Joined: 01 Sep 2006
Posts: 2088
Location: Silicon Valley

PostPosted: Wed Sep 03, 2008 9:55 pm    Post subject: Reply to: Where can I found the brodcast message for my jobs
Reply with quote

Look at the TSO/E Customization manual here:
http://www-03.ibm.com/systems/z/os/zos/bkserv/r10pdf/#tsoe
and look at Part 4, "Maintaining ... the broadcast dataset".

I do not think you can allocate just any dataset. I think it has to be a specific dsorg, and possibly initialized to correct format.
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 -> TSO/ISPF All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts ejck thru rexx to multiple jobs insid... Susanta All Other Mainframe Topics 5 Tue Sep 19, 2017 1:39 pm
No new posts self-restarting jobs in OPC jzhardy IBM Tools 1 Mon Aug 21, 2017 10:15 am
No new posts Default Message in Rexx cvnlynn CLIST & REXX 9 Wed Aug 02, 2017 12:38 am
No new posts REXX WTO for console message bipinpeter CLIST & REXX 6 Tue Jun 27, 2017 3:56 pm
No new posts Record Not found in AlX but record re... mukun264 COBOL Programming 7 Fri Mar 24, 2017 9:28 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us