Mehdi, There is no "batch" as we know it under windows. But, you can use the WIN API for SetThreadPriority to decrease the priority of the process. This will allow other tasks to execute. You also don't mention what flavor of windows you are on. If Win95, 98 or ME, the first thing you should do is switch to Win2K or XP as the Win9x kernel does not do preemptive task switching. Bob > -----Original Message----- > From: c400-l-bounces+bob=cstoneindy.com@xxxxxxxxxxxx > [mailto:c400-l-bounces+bob=cstoneindy.com@xxxxxxxxxxxx] On > Behalf Of Mehdi Saleh > Sent: Tuesday, March 30, 2004 4:17 AM > To: C programming iSeries / AS400 > Subject: [C400-L] Batch running on PC > > > Dear All, > > This is not a AS400 issue but AS400 programmes may help. > > I have a program in my PC (VB and noting to do with AS400) > which contains a > loop for more that 1 milion times, and I am not able to use > my PC when I run > this program. it takes 5 hours to get the results. > > I would like to know if there is some tools for PC to > simulate the AS400 > environment and we were able to run the programs on PC in > batch proccesing. > and also to view the current status of the program in case of > open files and > .. some commands like:WRKUSRJOB (*Active) > > Thanks, > Mehdi > > > > _______________________________________________ > This is the C programming iSeries / AS400 (C400-L) mailing list > To post a message email: C400-L@xxxxxxxxxxxx > To subscribe, unsubscribe, or change list options, > visit: http://lists.midrange.com/mailman/listinfo/c400-l > or email: C400-L-request@xxxxxxxxxxxx > Before posting, please take a moment to review the archives > at http://archive.midrange.com/c400-l. >
As an Amazon Associate we earn from qualifying purchases.
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.