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
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 |
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 |
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 |
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 |
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 |
This is my Physical file 'EMPS' existing in library "TAMIL1" and its record format is 'EMPRCD" a)its source is R EMPRCD ENO 4 0 ENAME 10 EADD 10 b)The records present in EMPS are as follows ENO ENAME EADD 0001 tamil coimbatore 0002 kumar bangalore 0003 sunder bangalore 0004 arunkumar chennai 0005 pandi hyderabad 0006 santhosh hyderabad 0007 sasi salem 0008 kalai chennai 0009 suresh hyderabad 0010 vijay bangalore 0011 Arul chennai 0012 velu chennai 0013 khan bangalore 0014 praba chennai 0015 praba.p coimbatore 0016 anand ooty 0017 raja erode 0018 sankar erode 0019 vadivel namakkal 0020 anbu chennai 0021 Ajith mumabi c)now i want to select the 'ENAME' field records starting with 'S' for that i have created a RPG program its source code is PGM DCLF FILE(TAMIL1/EMPS) DCL VAR(&MYENO) TYPE(*CHAR) LEN(4) OVRDBF FILE(EMPS) SHARE(*YES) OPNQRYF FILE((TAMIL1/EMPS)) QRYSLT('ENAME *EQ %WLDCRD("S *")') READ: RCVF RCDFMT(EMPRCD) MONMSG MSGID(CPF0864) EXEC(GOTO CMDLBL(END)) CHGVAR VAR(&MYENO) VALUE(&ENO) SNDUSRMSG MSG(&MYENO) SNDUSRMSG MSG(&ENAME) SNDUSRMSG MSG(&EADD) GOTO READ END: CLOF OPNID(EMPS) DLTOVR FILE(EMPS) ENDPGM Is this coding correct sir,the program gets compiled,and if i call it it says query running but records are not displayed.please help me out
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
How to change the name of physical members Dynamically?
Why Rpg/400 is Famous?
in which journalling which attributes are necessary??/
How can a screen field that has changed since the last output operation be detected?
1)how to do date validation in rpg? 2)how to delete dUPLICATE RECORDS?
what is difference between DSPFD and DSPFFD?please give me real senario with good example?
how do I preserve and clean the array?
which program rpg or cl is efficent to update a transaction onto a database file and why ?
How to search particular records from the database file in rpg?
I am reading a file in CL program. and MONMSG CPF0864 has arrived means EOF has arrived. Now i want to read this file again. How i can do this?
5 Answers CitiGroup, Symphony,