Home > Ask the AS/400 Experts > iSeries PC/Windows Connectivity Questions & Answers > Why is my job taking twice as long?
Ask The iSeries 400 Expert: Questions & Answers
EMAIL THIS

Why is my job taking twice as long?

Shahar Mor EXPERT RESPONSE FROM: Shahar Mor

Pose a Question
Other iSeries 400 Categories
Meet all iSeries 400 Experts
Become an Expert for this site


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


>
QUESTION POSED ON: 19 December 2005
We are running a series of overnight downloads from the iSeries using SQL server with ODBC connections. The job runs in subsystem QUSRWRK. The job, which once took two hours, leapt to a current five hours with no apparent changes to jobs, configuration or system parameters. The job ends normally, therefore there are no joblogs. On the odd occasion, jobs have to be manually terminated due to overrun. Do you have any idea what might be going on? I'm working with an iSeries Model 820 OS V5R2.

>
That may be the result of the SQL statement in the iSeries not optimizing (it can happen from changes in the database such as number of rows in tables, dropping indexes etc.).

I would recommend investigate into the QZDASOINIT jobs as follow:

- Force debug messages by setting parameter MESSAGES_DEBUG to *YES in the qaqqini file

- Force the joblog to print by temporarily changing the job description.

The joblog will show you the SQL used, how much time every statement taken, and the access plan (How did SQL planned to get the records).


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   



RELATED CONTENT
iSeries PC/Windows Connectivity
How to print RPG output using iSeries Access
How to view source files in the library
User being locked out by Windows share on iSeries
Blocking AS/400 DB2 users
Trouble accessing IFS path from Win2k3 server
How to use an API for adding users to EIM SSO implemenation
Incorrect CCSID on FTP connection from AS/400 to Windows
Remove character limits from domain or users on RMTUSER
Generically send a text file from the IFS via FTP
Send parameters correctly to the browser when creating a PHP page

Physical connections to iSeries
Configure the iSeries v5r4 to open the HTTPS port for incoming connections
"Time" saving programming tips for iSeries
PC/Windows connectivity: Top 10 expert Q&As
Run command on a PC
Working with ODBC and dates
Problems with new server and PC
Take control of your iSeries network security -- Part 2
The iSeries and MS Office make good partners
Microsoft computing: Integrating the iSeries and Microsoft Office
i5/OS and Microsoft Office Integration Handbook, Third Edition -- Chapter 3
Physical connections to iSeries Research

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary



Search and Browse the Expert Answer Center
Search and browse more than 25,000 question and answer pairs from more than 250 TechTarget industry experts.
Browse our Expert Advice



iSeries Networking - Printing, Remote Access, TCP/IP
HomeNewsTopicsITKnowledge ExchangeTipsBlogsAsk the ExpertsMultimediaWhite PapersProducts
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




All Rights Reserved, Copyright 1999 - 2009, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts