IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Restarting from 25th step if abends at 24th step


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
naveensri2005
Currently Banned

New User


Joined: 22 Mar 2005
Posts: 51
Location: chennai

PostPosted: Fri Sep 09, 2005 8:42 pm
Reply with quote

hi guys,

in job I have 50 steps.the gdg dataset is creating in 1st step, the same gdg is refer in 25th step. I got abend in 24th step. Is it possible to restart from 25th step. If possible what are the changes we have to do?
Back to top
View user's profile Send private message
radhakrishnan82

Active User


Joined: 31 Mar 2005
Posts: 435
Location: chennai, India

PostPosted: Fri Sep 09, 2005 9:10 pm
Reply with quote

If its a non-scheduled job then while restarting you need to refer step25 GDG's generation with(+0) or else you can delete the current generation(created in first step) and can restart the job if you dont want to do any changes to job.

If it is a scheduled job running thru CA7,then there is no need to change anything.You can restart from the aborted step.
Back to top
View user's profile Send private message
Rupesh.Kothari

Member of the Month


Joined: 27 Apr 2005
Posts: 463

PostPosted: Sun Sep 11, 2005 11:30 pm
Reply with quote

Hi,

I agree with Radhakrishnan for his statement regarding Non Schedule job,

Quote:
If it is a scheduled job running thru CA7,then there is no need to change anything.You can restart from the aborted step.


NO, You have to change the GDG version from (+1) to (0) version in JCL throught CA7 and submit the JCL from Aborted step i.e step24.

http://ibmmainframes.com/viewtopic.php?p=6672#6672

Regards
Rupesh
Back to top
View user's profile Send private message
radhakrishnan82

Active User


Joined: 31 Mar 2005
Posts: 435
Location: chennai, India

PostPosted: Mon Sep 12, 2005 9:37 am
Reply with quote

rupesh,

In our shop,we run scheduling jobs thru CA-7.In such case,we normally dont disturb GDG's.

Quote:
You have to change the GDG version from (+1) to (0) version in JCL throught CA7 and submit the JCL from Aborted step i.e step24.


no need to change the version from your end.

Quote:
For scheduling systems,the version (+1) is applicable during restart. Scheduling systems belong to the second case where in which your job flow STOPS during aborts.

If you mean to say that your job flow terminates with ur submitting id after the abort then as per case 1,version (0) is applicable.It is same as submitting a new job.hence (0) is applicable for GDG's during restart.


For non-scheduling job,flow terminates.
In scheduling systems,job flow STOPS in case of abort.It will be in the abort queue (still the sytem support people responds to it).
GDG (+1) still points to current one created inside the scheduling job.

hope this helps.
Back to top
View user's profile Send private message
MGIndaco

Active User


Joined: 10 Mar 2005
Posts: 432
Location: Milan, Italy

PostPosted: Mon Sep 12, 2005 2:52 pm
Reply with quote

If I can suggest my opinion, is better allocate the final gdg at the end of the job and not at the begin... but it's only a my opinion....
Back to top
View user's profile Send private message
prasanth_thavva

New User


Joined: 28 Jul 2005
Posts: 86
Location: Chennai

PostPosted: Mon Sep 12, 2005 3:42 pm
Reply with quote

Hi ,

Quote:
change the relative number +1 --> 0 and disp-old/shr
restart = step25


plz correct me if wrong...
all d best
Back to top
View user's profile Send private message
radhakrishnan82

Active User


Joined: 31 Mar 2005
Posts: 435
Location: chennai, India

PostPosted: Mon Sep 12, 2005 3:45 pm
Reply with quote

For non-scheduling job, relative number 0 in step25 is correct in this case.
Back to top
View user's profile Send private message
ksivapradeep

New User


Joined: 30 Jul 2004
Posts: 95

PostPosted: Fri Sep 16, 2005 12:03 pm
Reply with quote

Hi radhakrishnan,

what ever may be the thing the gdg version will be created after the end of the job so how can we give (0) in the 25th step if you give (+1) there it will deffinetly work
Back to top
View user's profile Send private message
radhakrishnan82

Active User


Joined: 31 Mar 2005
Posts: 435
Location: chennai, India

PostPosted: Fri Sep 16, 2005 12:23 pm
Reply with quote

Quote:
what ever may be the thing the gdg version will be created after the end of the job so how can we give (0) in the 25th step if you give (+1) there it will deffinetly work

friend,

Within the job flow the GDG refers (+1).For non-scheduling jobs,in case of abort the flow terminates.Hence,according to this case,it should be represented as (0)for non-scheduling jobs.Its fine at my shop.

I agree with you for scheduling jobs.As their flow STOPS in case of aborts.While restarting, the job flow continues and the GDG still refers (+1) until the entire job ran fine.

Hope this helps.
Back to top
View user's profile Send private message
akshaiya

New User


Joined: 17 Sep 2005
Posts: 49

PostPosted: Wed Sep 21, 2005 4:58 pm
Reply with quote

Quote:
what ever may be the thing the gdg version will be created after the end of the job so how can we give (0) in the 25th step if you give (+1) there it will deffinetly work


I dont agree with "whatever may be the thing".

There lies CA-7.it differs for scheduling and non-scheduling.Even I was thinking it wrongly like "whatever may be the thing".but i tested with the help of my team.flow of the job terminates in case u are submitting non-scheduling jobs(when aborts).where flow continues in case of scheduling systems.
Back to top
View user's profile Send private message
dneufarth

Active User


Joined: 27 Apr 2005
Posts: 420
Location: Inside the SPEW (Southwest Ohio, USA)

PostPosted: Thu Sep 22, 2005 1:09 am
Reply with quote

As the original questioner has not reponded to any of these answers, I'd say too little information is known to give any advice. We don't know if a scheduler or restart software is involved. We don't know if the dataset was cataloged in creation step, or subsequent step, or passed to oblivion.

To quote the famous programmer Jerry Maguire, "show me the JCL!" icon_lol.gif


Dave
Back to top
View user's profile Send private message
suman12

New User


Joined: 22 Sep 2005
Posts: 3

PostPosted: Thu Sep 22, 2005 12:02 pm
Reply with quote

We can use Condition parameter in 25 step. But we have to use EVEN keyword.Even if the previous Step(24) abended abnormally, the current step(25) will be executed.
Back to top
View user's profile Send private message
nitin4.a

New User


Joined: 16 Aug 2005
Posts: 26

PostPosted: Thu Sep 22, 2005 1:17 pm
Reply with quote

hi
suman i think by using this the abend problem will be solved but to restart
from 25th remains

for that in all the rest steps the condition shld be given like that it becomes true till 25th step then all the steps will be skipped

like if all the 24 steps are executing well then from second step u can give

cond=(0,eq)
that particular step will be skipped


regards
nitin
Back to top
View user's profile Send private message
Anbudan

New User


Joined: 07 Sep 2005
Posts: 26
Location: Germany

PostPosted: Thu Sep 22, 2005 2:40 pm
Reply with quote

Hi

I agree with prasanth_thavva

This is the best solution for this question.
Back to top
View user's profile Send private message
MGIndaco

Active User


Joined: 10 Mar 2005
Posts: 432
Location: Milan, Italy

PostPosted: Thu Sep 22, 2005 5:25 pm
Reply with quote

I can't understand how this post is so complicated...
I'm sure that it's a base of JCL, scheduled or not.

At my site we have introduced a standard that force users to create the gdg version at the end of each job(or its chain) to avoid this discussion and for what I see it's a very interesting standard.

The solution is only one that Prasanth_thavva said.
The real problem that I can see, and all of us have, is how to restart without using substitution and other manual activity at our site.

All comment are wellcome and correct me if I'm wrong.
Back to top
View user's profile Send private message
funmini

New User


Joined: 17 Sep 2005
Posts: 2

PostPosted: Thu Sep 22, 2005 5:43 pm
Reply with quote

I agre with akshaiya & radhakrishnan82.we have to know which job it is.whether it is a non-scheduled or scheduled job ca7 run job.
Quote:
what ever may be the thing the gdg version will be created after the end of the job so how can we give (0) in the 25th step if you give (+1) there it will deffinetly work

Quote:
I dont agree with "whatever may be the thing".
There lies CA-7.it differs for scheduling and non-scheduling.Even I was thinking it wrongly like "whatever may be the thing".but i tested with the help of my team.flow of the job terminates in case u are submitting non-scheduling jobs(when aborts).where flow continues in case of scheduling systems
.I dont agree with sivapradeep.I think prasanth_thava should have told for non-scheduled one.Unless he is wrong.We shouldnt come to a conclusion for naveensri's query with his little info as Dave said.

we have to wait till naveensri replies whether its non-scheduled or scheduled one.In the meanwhile better check this by using test jcl.you may come to know the difference between job scheduled thru ca7 and non-scheduled one in this topic.
Back to top
View user's profile Send private message
ritakaur

New User


Joined: 19 Sep 2005
Posts: 13
Location: Belgaum

PostPosted: Thu Sep 22, 2005 5:55 pm
Reply with quote

Even i am wondering why it went complicated.The query should have explained whether it runs in scheduling mode or non-scheduling mode.
As i knew,scheduling thru ca7 cant be changed each and every time.It needs special request for changing the version or anything in case of aborts. so ca7 has such function to take the GDG(+1) inside the job as current version even when aborts.this is all i know.

rita
Back to top
View user's profile Send private message
MGIndaco

Active User


Joined: 10 Mar 2005
Posts: 432
Location: Milan, Italy

PostPosted: Thu Sep 22, 2005 6:13 pm
Reply with quote

I'd like to know how the poster of this topic has solved this problem.
I'm really curious...
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Return codes-Normal & Abnormal te... JCL & VSAM 7
No new posts How to append a PS file into multiple... JCL & VSAM 3
No new posts convert file from VB to FB and use tr... DFSORT/ICETOOL 8
No new posts Forcing a step to run (even if abended) JCL & VSAM 8
No new posts Batch call online program, EXCI task ... CICS 3
Search our Forums:

Back to Top