Page 1 of 1

Automated Case Exclusion

PostPosted: Sat Mar 30, 2013 5:21 pm
by AMITIANMANISH
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.

Re: Automated Case Exclusion

PostPosted: Sat Mar 30, 2013 5:39 pm
by BillyBoyo
What do you do to follow-up on the delete record?

Re: Automated Case Exclusion

PostPosted: Sat Mar 30, 2013 5:48 pm
by AMITIANMANISH
We inform business that this particular case has been exlcuded from the processing to recover overnight batch failure.Please reprocess this again.

Re: Automated Case Exclusion

PostPosted: Sat Mar 30, 2013 5:49 pm
by enrico-sorichetti
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

Re: Automated Case Exclusion

PostPosted: Sat Mar 30, 2013 6:23 pm
by AMITIANMANISH
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.

Re: Automated Case Exclusion

PostPosted: Sat Mar 30, 2013 6:50 pm
by enrico-sorichetti
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

Re: Automated Case Exclusion

PostPosted: Sat Mar 30, 2013 8:07 pm
by Robert Sample
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.