|
fkany@xxxxxxxxxxxxxxxxxx wrote: > When I submit an SBMJOB an SQL RPG program, it takes almost an hour to > process. When I manually run the SQL statements using STRSQL, the > processing takes about 10 minutes. Interactive jobs run at a much higher priority than batch jobs. The theory is: Interactive jobs need to run very fast while they are running, but a majority of their time (CPU wise) is spent waiting for a user to respond. Thus they run fast for very short periods of time. A batch job, on the other hand, needs to have systems resources for a longer period of time, but it doesn't need to run as fast because a user isn't sitting behind a screen waiting for a response. There's more too it, but I think that's a pretty reasonable summary. david -- David Gibbs david@xxxxxxxxxxxx Receipt of this message does not grant you permission to send me Unsolicited Commercial Email
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.