Automated Case Exclusion



JES, JES2, JCL utilities, IDCAMS, Compile & Run JCLs, PROCs etc...

Automated Case Exclusion

Postby AMITIANMANISH » Sat Mar 30, 2013 5:21 pm

1.One of my Batch Job is failing in PSTEP10 with below error message

JOB-XXXXXX15 STEP-PSTEP10
LE COND CODE=CEE3250C / EXPECTED COMP CODE=U3539
ACCESS YOUR ABEND-AID REPORTS BY EXECUTING SYSTEM
COMMAND "AID" FROM ANYWHERE IN ISPF.
IEF450I XXXXXX15 PSTEP10 JSTEP10 - ABEND=S000 U3539 REASON=00
TIME=02.58.51
SLAC51D JOB XXXXXX15, STEP PSTEP10 HAS ABENDED - COMPLETION

2.To Recover the job we need to check the Restart table in databse and we delete the next record of it (which is present in Restart table as processing is done till this record) from the input file.

3.I want to automate this process via JCL change or Program change that if JSTEP10.PSTEP10 fails with an ABEND CODE U539 job do not fail instead it checks the reocrd in Restart table and delete next record to it or write next record to exclusion file (not present right now) and process the next records.

Please suggest your views on it.

Thanks.
AMITIANMANISH
 
Posts: 3
Joined: Sat Mar 30, 2013 5:02 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Automated Case Exclusion

Postby BillyBoyo » Sat Mar 30, 2013 5:39 pm

What do you do to follow-up on the delete record?
BillyBoyo
Global moderator
 
Posts: 3804
Joined: Tue Jan 25, 2011 12:02 am
Has thanked: 22 times
Been thanked: 265 times

Re: Automated Case Exclusion

Postby AMITIANMANISH » Sat Mar 30, 2013 5:48 pm

We inform business that this particular case has been exlcuded from the processing to recover overnight batch failure.Please reprocess this again.
AMITIANMANISH
 
Posts: 3
Joined: Sat Mar 30, 2013 5:02 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Automated Case Exclusion

Postby enrico-sorichetti » Sat Mar 30, 2013 5:49 pm

since we do not belong to Your organization and we know NOTHING about the application
giving specific advice will be just a waste of time ...

in aseptic terms ...

1) Yo get an abend OK-CLEAR

choose one ...
2a) You want to delete from a certain dataset a certain record OK-CLEAR
2b) You want to write that same record in some other dataset OK-CLER
2c) (2a) + (2b) OK-CLEAR

process (2*) does not really depend on event (1)
You might want to use the same for something else

so where is the problem ???
write the appropriate program to take care of (2*)
use Your scheduler facilities to take care of the proper job sequencing

when posting it usually better to user a neuter terminology,
using Your organization terminology will simply annoy people
and make things more difficult to understand for us
WE spend time trying to solve You problem
YOU should save us the time to translate Your terminology
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
enrico-sorichetti
Global moderator
 
Posts: 2994
Joined: Fri Apr 18, 2008 11:25 pm
Has thanked: 0 time
Been thanked: 164 times

Re: Automated Case Exclusion

Postby AMITIANMANISH » Sat Mar 30, 2013 6:23 pm

Apologies for inconvenience caused to you guys....

Problem which I am facing is:
==============
After getting an Abend in particular step how to read database after a particular and write its next record to another dataset via JCL.
AMITIANMANISH
 
Posts: 3
Joined: Sat Mar 30, 2013 5:02 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Automated Case Exclusion

Postby enrico-sorichetti » Sat Mar 30, 2013 6:50 pm

how to read database after a particular and write its next record to another dataset via JCL.

why not speak to Your APPLICATION ANALYST ??? :geek:

he knows what database You are talking about, WE DO NOT
he knows how to determine the particular record where to start the process, WE DO NOT
and finally
JCL does not do anything, it just sets up the environment so that a program has access to the needed resources.

DO NOT ASK US... ASK SOMEBODY IN YOUR ORGANIZATION WHO KNOWS THE DETAILS
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
enrico-sorichetti
Global moderator
 
Posts: 2994
Joined: Fri Apr 18, 2008 11:25 pm
Has thanked: 0 time
Been thanked: 164 times

Re: Automated Case Exclusion

Postby Robert Sample » Sat Mar 30, 2013 8:07 pm

As enrico says, you are asking about things that are specific to your site and the particular application you are running. There is no way we can provide any guidance or assistance since we do not work at your site and we do not work on your application. For example, when you say "database" are you talking about DB2, Oracle, IMS, Model 204, IDMS, System 2000, or another of the many databases developed for the z/OS platform over the last 50 years? The specific solution will depend upon which of these your site is using and obviously we have no way of knowing that.

Talk to your coworkers, or your team leader, or your site support group -- but don't expect an answer to such a question on a forum.
Robert Sample
Global moderator
 
Posts: 3719
Joined: Sat Dec 19, 2009 8:32 pm
Location: Dubuque, Iowa, USA
Has thanked: 1 time
Been thanked: 279 times


Return to JCL

 


  • Related topics
    Replies
    Views
    Last post