Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
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
 
JCL with Time Limit and dump option

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: JCL with Time Limit and dump option
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

Site Director


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

PostPosted: Sat Dec 15, 2007 11:21 pm    Post subject:
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    Post subject: Reply to: JCL with Time Limit and dump option
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: 258

PostPosted: Thu Dec 20, 2007 7:24 pm    Post subject:
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

Site Director


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

PostPosted: Thu Dec 20, 2007 10:07 pm    Post subject:
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    Post subject:
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

Senior Member


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

PostPosted: Wed Dec 26, 2007 8:15 pm    Post subject:
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    Post subject:
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    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
This topic is locked: you cannot edit posts or make replies. 00D3003B - time outs in DB2 when invo... chavinash2004 DB2 2 Mon Oct 09, 2017 4:39 pm
No new posts VSAM RLS Wait time blayek JCL & VSAM 2 Mon Oct 02, 2017 9:05 pm
No new posts Where is output from PARM ABEXIT (SNA... packerm CA Products 3 Thu Sep 28, 2017 4:06 pm
No new posts MQ command in option 6 of ISPF! Vignesh Sid All Other Mainframe Topics 3 Tue Sep 26, 2017 6:01 pm
No new posts Comparing 2 Files using Current time arunsoods SYNCSORT 9 Fri Sep 22, 2017 6:00 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us