1.I have a Batch job, Running for 4 hours, i want to reduce
the executing time to 2 hours what should you do?

Answers were Sorted based on User's Feedback



1.I have a Batch job, Running for 4 hours, i want to reduce the executing time to 2 hours what sho..

Answer / anil kumar.anumulasetty

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 ?    6 Yes 2 No

1.I have a Batch job, Running for 4 hours, i want to reduce the executing time to 2 hours what sho..

Answer / henry

Change teh priority of the job or move the job to highest
priority jobq. Also change the time slice to reduce the job
run time..

Is This Answer Correct ?    0 Yes 0 No

1.I have a Batch job, Running for 4 hours, i want to reduce the executing time to 2 hours what sho..

Answer / smita

Anil can you please tell us in details how can we create multiple threads in one job?

Thanks

Is This Answer Correct ?    0 Yes 0 No

1.I have a Batch job, Running for 4 hours, i want to reduce the executing time to 2 hours what sho..

Answer / ram

Other than multiple threads, See any files are updating, if yes then change the access path option to REBUILD (Using CHGPF) but be careful with other dependensis on file..

Is This Answer Correct ?    0 Yes 0 No

1.I have a Batch job, Running for 4 hours, i want to reduce the executing time to 2 hours what sho..

Answer / sivaprasad

the most possible way to reduce the running time for batch
job, have to hold the remaining jobs make it has not burden
on subsystem....

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More RPG400 Interview Questions

I have 1000 records in a file. I would like to generate 10 identical reports from this record with same format (structure of records) how do I do this?

1 Answers   IBM,


how to find whether a date format is valid or not in RPG400 not in RPGILE.Can you please write the coding for this sir,i'm new to AS400.Please help.

2 Answers   iGate,


if there is a module object , how to find the program object for this module object.Assume the module object name and program object name is not same.

0 Answers  


I have one cl program which calls two rpg programs named a & b. I am loading a run time array in Pgm A and the control comes back to cl pgm. i call pgmb and I want to read the runtime array in pgmb which was loaded in pgma. How it can be acheived. I should not use any intermediate file or dataarea to store the loaded values.

2 Answers  


1.How can you search an entire source file for a particular field name? 2.How can you find the differences between two versions of the source for the same program? 3.What is a hidden field as it relates to a sub file? 4.How do you display a sub file that has no records in the sub file?

8 Answers   HCL,






How to write record if no field or the field are different in physical file in rpgle ?

0 Answers  


I have to change a program. This program is calling a subroutine mor than 100times within it. so will it have any performance issue? if yes than what changes i can make. Thanx for ur valuable answer.

2 Answers  


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?

6 Answers  


What are different ways to pass data between programs and which one is the efficient way?

5 Answers  


Can you copy the records created by the OPNQRYF to other files and how?

2 Answers  


Hi, I am getting the error in RPG (All Record Formats for externally-described file ABCD ignored or dropped due to error; file ignored.) Please suggest any

2 Answers   Satyam,


wat is scan and check ? give me real time scenarios where we used these keywords in ur projects?

2 Answers   Four soft,


Categories