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

JCL with Time Limit and dump option


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

New User


Joined: 27 Dec 2005
Posts: 2

PostPosted: Sat Dec 15, 2007 4:30 pm
Reply with quote

Could anyone help me in following problem given below.

-- Sometimes my JCL will be running long time due to program looping. So I had given time limit to abend when time limit reaches. But I require to abend the JCL with dump.

-- Currently my JCL is abending with S322 without dump

-- Actually, I want to get abend with time limit and with dump.

Please let me know if anyone have solution to this problem
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Sat Dec 15, 2007 11:21 pm
Reply with quote

Hello,

Does your jcl have a //SYSUDUMP DD?

Does your system use ABENDAID?

I'd suggest talking with a senior on your project or with one of the system support people.
Back to top
View user's profile Send private message
prasad_rajendra

New User


Joined: 27 Dec 2005
Posts: 2

PostPosted: Thu Dec 20, 2007 5:14 pm
Reply with quote

Hi,

My jcl contains //SYSUDUMP and it is routed to Fault analyzer correctly if it is abended with S122 (i.e., ) if operator cancels.

As I don't want to have manual intervention to cancel by operator. I used timelimt of 45 minutes, so that it will abend automatically when the program is in looping.

After giving timelimit my job is abending with S322 but without dump in Fault analyser.

Please let me the option to include so that it will stop my jcl after 45 minutes and should contain dump in Fault analyzer.
Back to top
View user's profile Send private message
nevilh

Active User


Joined: 01 Sep 2006
Posts: 262

PostPosted: Thu Dec 20, 2007 7:24 pm
Reply with quote

Normally your Systems Programmer would have set a slip trap to suppress this dump. If you want the dump speak to your SYSPROG
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Thu Dec 20, 2007 10:07 pm
Reply with quote

Hello,

Quote:
I used timelimt of 45 minutes
I'd suggest cutting this to a couple of minutes - 45 minutes of cpu time is almost an eternity.

If your code might use that much cpu time and not fail, the code needs to be looked at to determine just why that much cpu time is needed.

For comparison, i pulled the stats form a run here that completed yesterday and the elapsed time was 1,794 minutes wall time (nearly 30 hours). The job called for around 200 tape mounts and processed over 150 million records. The cpu tme was only 2min 10sec and the srb time was 3min 17sec.

If your job uses 45min cpu time, it needs to be tuned. If it is in a loop, it does not need to waste 45 minutes of cpu time.

As was mentioned by Nevilh - if you talk with your sysprog(s), they can tell you how to make sure you get a dump on your system.
Back to top
View user's profile Send private message
babai043
Currently Banned

New User


Joined: 19 Dec 2007
Posts: 19
Location: chennai

PostPosted: Wed Dec 26, 2007 7:18 pm
Reply with quote

Hi,

for particular class admin people difine some time according to that job will run if it croess it will S322 abend-time out
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Wed Dec 26, 2007 8:15 pm
Reply with quote

Not actually, will depend on your system settings. If system settings overrides your JOBCARD parameter then you are right, but it's not true for all the sites. In a nut-shell it's system-specific.
Back to top
View user's profile Send private message
babai043
Currently Banned

New User


Joined: 19 Dec 2007
Posts: 19
Location: chennai

PostPosted: Thu Dec 27, 2007 11:20 am
Reply with quote

ok Anju....fine i accept u r suggestion
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 SCOPE PENDING option -check data DB2 2
No new posts To get the the current time DFSORT/ICETOOL 13
No new posts RC query -Time column CA Products 3
No new posts C Compile time time stamps Java & MQSeries 10
No new posts Parallelization in CICS to reduce res... CICS 4
Search our Forums:

Back to Top