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 |
How can read PF in reverse order (end to start) in CL pgm..
How do you find out whether a record is present in the physical file without reading the file? for Example Employee No: 100 in an Employee master.How do we find out whther 100 is present in Employee master without reading the file?
11 Answers Bank Of America, CSC, IBM,
How can we call CL program to RPG? How many number of parameter we can pass
can any one help in hawkeye and turnover or any change management system plzzzzz or send the documents to my mail id :gvsp.as4@gmail.com
1. If there are two programs using same file and 2 users are using the file at the same time and what can be done to allow them both to access? 2. How can remove lock from the file for accessing it by both users?
how we retrieve records without using key field (ex:name) from Physical File through RPG in as/400?
1.Are there any errors in the following statement?If so then list them.DTAARA is a data area having a field EMP # and EMPNO is a field in the file EMPPF.Which has one record. READ EMPPF IF %FOUND(EMPPF) IN DTAARA EVAL EMP#=EMPNO OUT DTAARA ENDIF
CAN WE READ RECORDS WITHOUT USING SETLL,READ,CHAIN IN RPG?
Need a sql query: retrieve all duplicate records in table?
How many program bind in one module....
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.
How to update physical file in rpgle without using display file?