we hav job which is running as batch. it takes atleast
06hours to complete tht job. bu i wana do tht job with in
3hours.........?
so plz post ur answers
Answers were Sorted based on User's Feedback
Answer / malleswarao
Hi! we have to create multiple threads in the job. when we
submit the job ,multiple threads will run parallelly. so it
will take very less time to complete the job. This is the
best way I believe.
Please let me know if there are any suggestions.
| Is This Answer Correct ? | 8 Yes | 0 No |
Answer / nagaraju
We need to change the job priority of the job.
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / murali
instead of RPG, go with Query RPG to reduce the no of hits
on file, it will reduce the time while working with bulk
data.
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / prem
If the file having BULK data use the file level Keywork
BLOK(*YES)
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / alagan v
It depends on your logic. You have to use the proper LF's in order to run the program fast. For example, if you read a transaction file for a period, it will take long time. So better create a LF with transaction date as key and sort by date and read it. This will help you to reduce the run time.
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / kranti
I think priority of the Job is one more option.. But it again depends on the priority of the existing job..
| Is This Answer Correct ? | 0 Yes | 1 No |
Answer / raj
1. DSPJOBLOG
2. DSPJOB, check if there has any lock waiting statue.
3. STRSRVJOB and debug.
| Is This Answer Correct ? | 1 Yes | 2 No |
I have a RPG program of 100 Lines and first line is to SETON indicator LR. Will the program execute rest of the 99 Lines?
Some times While checking MSGW for object / member / record locks ,I have seen it's locked by itself ...? How it happen and what action we need to perform if job is updating / writing a record....?
How to write record if no field or the field are different in physical file in rpgle ?
What is the difference between ITER and DO ? I know both are used to execute set of statements repeatedly, but what is the main difference?
1.Suppose my file has 10 fields and I want to make the 2nd field Zeros in all records. And assume I have millions of records and I dont want to read each record and update the desired field with 0. Any other way to do this in one step operation? 2. Assume my file has 100 records and I want to see only first 10 records. Is this possible through LF? 3.I have 3 jobs A B and C. I want to submit B after successful completion of A and want to submit C after successful completion of B. Without using job scheduler or job queue, how can i do that through CL program? 4.What is difference between Bind by copy and bind by reference?
can I touch the array during treatments?
1. What is bound-by-call and bound-by-reference? 2. Where and why is *Nomain used? 3. What are the difficulties faced by programmers when using service programs? 4. Explain the different ways of parsing and compiling XML in iSeries.
In ProgramB there is a SBMJOB, which is a call to program C .There is also a CALL to program D from B. How would you check the program C has been executed in D?
How do you call procedures in ILE?
1.Where we declare Variables in RPG/400,RPGIV,RPGILE.? 2.When do we use D-spec and I-spec in real time ?.what is difference between them?
how many variables can we declare in cl pgm?
What is the OPEN and CLOSE accesspath?