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



we hav job which is running as batch. it takes atleast 06hours to complete tht job. bu i wana do th..

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

we hav job which is running as batch. it takes atleast 06hours to complete tht job. bu i wana do th..

Answer / nagaraju

We need to change the job priority of the job.

Is This Answer Correct ?    1 Yes 0 No

we hav job which is running as batch. it takes atleast 06hours to complete tht job. bu i wana do th..

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

we hav job which is running as batch. it takes atleast 06hours to complete tht job. bu i wana do th..

Answer / prem

If the file having BULK data use the file level Keywork
BLOK(*YES)

Is This Answer Correct ?    0 Yes 0 No

we hav job which is running as batch. it takes atleast 06hours to complete tht job. bu i wana do th..

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

we hav job which is running as batch. it takes atleast 06hours to complete tht job. bu i wana do th..

Answer / sai reddy

Hi Malleswarao,

How can we create Multiple treads for the Batch job? Even if we create multiple treads, how can we ensure that each tread is processing the same file but not the same data?..can explain this..Thanks in advance.

Is This Answer Correct ?    0 Yes 0 No

we hav job which is running as batch. it takes atleast 06hours to complete tht job. bu i wana do th..

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

we hav job which is running as batch. it takes atleast 06hours to complete tht job. bu i wana do th..

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

Post New Answer



More RPG400 Interview Questions

Why Rpg/400 is Famous?

1 Answers   IBM,


Can we create 300 logical files based on a single physical file using the CRTLF command only once?.

8 Answers  


what is kids-rpg?

0 Answers   IBM,


1.Can any body share me about thease opcodes with example please.Im new for AS/400.Could u please tell me in real senario? 1.TESTN, 2.EVAL 3.EVALR, TIME, 4.MONITOR 5. ENDMON 6.ON-ERROR 7.COMMIT ROLLBACK?

1 Answers   CSC,


Maximum how many files declare in rpgle

3 Answers   TCS,






what is file information data structure?

1 Answers   IBM,


thanks mr.Harshad R Suryawaunshi,i'm new to as400 i think you are telling in rpgile i know only rpg400 if possible can you tell in rpg400

0 Answers   iGate,


what is estimation? and what is the level identifier parameter in PF?

3 Answers   TCS,


how can an indexed file be used as arrival sequence in RPG?

3 Answers   IBM,


how do u find whether a record is locked or not??/

5 Answers   CTS,


where we give the MSGSFL in rpg400?

4 Answers  


Why there is invention of RPG if we can do insert update delete in CL through SQL.Why the rise of RPG?

1 Answers   Infogain,






Categories