Portal | IBM Manuals | Downloads | Products | Refer | Info | Programs | JCLs | Forum Rules*| Site Map | Mainframe CD 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index
 
Register
 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index FAQ Search Memberlist Usergroups Profile Log in to check your private messages Log in
 
Mainframe Job running for long

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Other Mainframe Topics
Author Message
vicky1373

New User


Joined: 21 Jan 2006
Posts: 7

PostPosted: Sat Jul 12, 2008 12:03 am    Post subject: Mainframe Job running for long
Reply with quote

I have a job which is in running for long and dont know the reason for the same.

The EXCP-CNT is increasing even the CPU% also changes. But the job sound to be still running now for 3 hours... The REAL is 6017 and not changing.

Can anybody help me out ?
Back to top
View user's profile Send private message
References
Robert Sample

Senior Member


Joined: 06 Jun 2008
Posts: 893
Location: Atlanta, GA

PostPosted: Sat Jul 12, 2008 12:11 am    Post subject:
Reply with quote

If EXCP count is increasing, there's I/O going on. The CPU% is changing, so we know it's not in a hard loop. REAL probably won't change a whole lot once the program starts unless you do dynamic calls or other run-time items that change memory.

How long do you think the job should take? What is this estimate based on? Could there be more data than expected causing the longer run time? Is this a test or production job? If you're convinced the job is running longer than it should, you'll need to use a debugger on it or throw some DISPLAY (if COBOL) or other output statements to track what it's doing.
Back to top
View user's profile Send private message
Bill O'Boyle

Senior Member


Joined: 14 Jan 2008
Posts: 334
Location: Orlando, FL, USA

PostPosted: Sat Jul 12, 2008 12:25 am    Post subject: Re: Mainframe Job running for long
Reply with quote

Check your COBOL File "ASSIGN" Statements in the program(s) and verify that they are correct for the type of access.

For example, if the program is accessing a file SEQUENTIALLY and the file is defined as "ACCESS DYNAMIC" in the program, change it to SEQUENTIAL.

Also, in the JCL, the AMORG parameter can be helpful with VSAM buffering as well as Batch LSR (BSLR) for QSAM and/or other flat-files.

Bill
Back to top
View user's profile Send private message
vicky1373

New User


Joined: 21 Jan 2006
Posts: 7

PostPosted: Sat Jul 12, 2008 2:14 am    Post subject:
Reply with quote

Thanks for the responses.

Actually the job is running in test and only thing is the input is bit heavy... Nothing was changed in the program and in production this job runs in 10 mins. And the input is just trippled..

But compared to the input the time taken is too large... its over 5 hours now..

Also the Assign statements are correct...
Back to top
View user's profile Send private message
Bill Dennis

Senior Member


Joined: 17 Aug 2007
Posts: 311
Location: Iowa, USA

PostPosted: Sat Jul 12, 2008 2:17 am    Post subject:
Reply with quote

Perhaps the system is just very busy?

Another reason can be reading or writing an UNBLOCKED file (one record per block).

If this is a new input or output file, ensure the BLKSIZE= in JCL allows for large blocks and the program "BLOCK CONTAINS 1 RECORD" is not overriding the JCL.
Back to top
View user's profile Send private message
dick scherrer

Global Moderator


Joined: 23 Nov 2006
Posts: 8653
Location: 221 B Baker St

PostPosted: Sat Jul 12, 2008 2:34 am    Post subject:
Reply with quote

Hello,

The code may be such that as the volume increases, the resources needed to complete the run increase exponentially, rather than linear.

When the job ran in production, how much cpu and i/o did it use? How much has the current test execution taken so far?

If your mainrame is nearly "pegged", it may be that test jobs are greatly reduced in priority.

The more info on how the process works, the more we may be able to offere suggestions.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Other Mainframe Topics All times are GMT + 6 Hours
Page 1 of 1