Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
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
 
Job monitoring automation : SPACE Abend

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
swapnilushinde

New User


Joined: 17 Mar 2009
Posts: 30
Location: Bangalore.India

PostPosted: Tue Jun 09, 2009 6:25 pm    Post subject: Job monitoring automation : SPACE Abend
Reply with quote

Hello
I am trying to automate the job monitoring. I am just copying the JESYMSG in DASD and then further processing it using SORT and SAS to create report. I am handling all User abends and system abends but cannot manage to handle SPACE abends, because they stop the job abruptly.
If job is getting abended or completed successfully it will run the XSYSMSG step but if any SPACE abend occurs in above steps(STEP1,2,3) it is not going to execute the jobmonitoring step.
As SPACE abend stops job abruptly it wont proceed further but I want to run the XSYSMSG step even for SPACE abend.
Please guide me more on this...
Code:
 
//STEP1 EXEC 
//STEP2 EXEC
//STEP3 EXEC 
// IF ABEND OR NOT ABEND THEN                           
//XSYSMSG EXEC PGM=EJESLNK,REGION=64M                   
//EJESEXT DD DSN=DASD_DATASET,                 
// UNIT=WORK,SPACE=(TRK,1),DCB=(LRECL=150,RECFM=VB),   
// DISP=(,CATLG,DELETE)                                 
//EJESOUT DD SYSOUT=*,RECFM=FB,LRECL=240               
//EJESIN DD DATA                                       
JNAME JOBBAME;SORT TIME D;STATUS                       
F JOBNAME FIRST                                       
:S                                                     
F JESYSMSG                                             
:E                                                     
/*                                                     
// ENDIF                                               


2. One more question is there ONLY space abend that stops the job abruptly? or any other abends are also there?
Back to top
View user's profile Send private message

Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8151
Location: East Dubuque, Illinois, USA

PostPosted: Tue Jun 09, 2009 6:35 pm    Post subject:
Reply with quote

Quote:
2. One more question is there ONLY space abend that stops the job abruptly? or any other abends are also there?
There are hundreds of possible abends documented in the SYSTEM CODES manual in the Messages and Codes bookshelf. Most of them will flush the remaining steps in the job (or in your non-standard terminology stops the job abruptly).
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Tue Jun 09, 2009 6:44 pm    Post subject:
Reply with quote

/RANT ON

I bet that your shop has a capacity / performance group who already collect this information and could easily give you the report, or at least the source data to produce the report with SAS.

Why do people think that they are the only people in the world that require this information.

Go talk to your capacity / performance / sysprogs and save yourself hours/days/weeks/months of duplicated effort.

Applications to the wheel reinvention society can be obtained at ..........

/RANT OFF
Back to top
View user's profile Send private message
swapnilushinde

New User


Joined: 17 Mar 2009
Posts: 30
Location: Bangalore.India

PostPosted: Tue Jun 09, 2009 6:59 pm    Post subject:
Reply with quote

Hi expat
Thanks for your suggestion.. But I have already tried with that access. For security reasons we cannot get access to these things.. Thats why I am trying this different way..
Furthermore we don't have problem in duplication of information for such automation... icon_biggrin.gif
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Tue Jun 09, 2009 7:02 pm    Post subject:
Reply with quote

Ask your manager to get you access.
Believe me, it will save you lots and lots of time.
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8151
Location: East Dubuque, Illinois, USA

PostPosted: Tue Jun 09, 2009 7:04 pm    Post subject:
Reply with quote

Quote:
For security reasons we cannot get access to these things.
says you don't know what tools they use while
Quote:
Furthermore we don't have problem in duplication of information for such automation.
this says you do know what tools are used and you're not going to reinvent the wheel. I don't think you really have any idea about the site's tools. You should see if the decision not to grant you access to the available tools can be changed, since otherwise you're going to spend a lot of time doing something that doesn't need to be done. Duplicating existing job monitoring systems could easily run multiple thousands of hours and require a very deep understanding of a variety of system control blocks and mechanisms. Not a good investment considering what's already available.
Back to top
View user's profile Send private message
swapnilushinde

New User


Joined: 17 Mar 2009
Posts: 30
Location: Bangalore.India

PostPosted: Tue Jun 09, 2009 7:15 pm    Post subject:
Reply with quote

Hi Robert and Expat
Thanks again for your suggestions.. I completely agree with what you say but as i told I have advised to do it by own and the access request was rejected long back... I have already completed the further SORT and SAS jobs to extract only return code. Now I am facing problem for SPACE abend only.. Thats why I want to complete it at least for my learning !!!
Once again thanks...
icon_smile.gif
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8151
Location: East Dubuque, Illinois, USA

PostPosted: Tue Jun 09, 2009 7:44 pm    Post subject:
Reply with quote

You talk about the SPACE abend ... what about S0C7, S0C4, S806, S80A, S1FC, and so forth? x37 are not the only abends that stop the batch job.
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Tue Jun 09, 2009 7:58 pm    Post subject:
Reply with quote

Hey Robert, I hear they've brought out a new fangled wheel that's a sort of round shape and a lot smoother.

Mmmmmmmmm, think I'll stick with the square one though and then try and get a smooth ride by chipping bits off.

Mournful sighhhhhhhhhhhhhhhhhhhhhhhhhhhhhh
Back to top
View user's profile Send private message
Bill Dennis

Active Member


Joined: 17 Aug 2007
Posts: 562
Location: Iowa, USA

PostPosted: Tue Jun 09, 2009 8:11 pm    Post subject:
Reply with quote

Robert Sample wrote:
You talk about the SPACE abend ... what about S0C7, S0C4, S806, S80A, S1FC, and so forth? x37 are not the only abends that stop the batch job.
Most ABENDs will allow a COND=EVEN step to run to satisfy the OP requirement. I believe OP refers to SPACE REQUESTED NOT AVAILABLE and similar errors that flush the job (not real ABENDs). Those cannot be tracked in this method.

Parsing SMF data is the only reliable method to see all types of errors.
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8151
Location: East Dubuque, Illinois, USA

PostPosted: Tue Jun 09, 2009 8:51 pm    Post subject:
Reply with quote

expat, what will they think of next? baked ground wheat cut into manageable pieces?

Bill: I hadn't thought of those SPACE REQUESTED NOT AVAILABLE errors -- and you're right; about the only way to find them (without using CA-7 or similar product to monitor jobs) would be to review the SMF data. On the other hand, somebody says "SPACE abend" for a topic, I'm thinking SB37, SD37, SE37 ....
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Wed Jun 10, 2009 2:50 pm    Post subject:
Reply with quote

Quote:
expat, what will they think of next? baked ground wheat cut into manageable pieces?

WOW, that's the best idea since sliced bread icon_biggrin.gif
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 -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts How do I create a mainframe monitorin... anjali.bisht All Other Mainframe Topics 4 Fri Sep 01, 2017 2:20 pm
No new posts C03 ABEND sjiraga PL/I & Assembler 1 Thu Jun 01, 2017 4:51 pm
No new posts VSAM Space Allocation mrgnndhmk JCL & VSAM 7 Sat Apr 22, 2017 12:42 am
This topic is locked: you cannot edit posts or make replies. Need help in estimating space of unlo... ashek15 IMS DB/DC 12 Fri Apr 07, 2017 5:11 am
No new posts Need inputs on Space requirement and... ashek15 IMS DB/DC 0 Sat Apr 01, 2017 8:26 am

Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us