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 |
What is the significance of UDATE?
I am Submitting one job in batch that job calls three progams(PGMA, PGMB, PGMC). PGMB should be called after sucessfully completion of PGMA as like for PGMC also. So Can you please tell me how can we do that (without using data area)
how do I preserve and clean the array?
Mr.Sidc sirfor my question{how to convert date format from one format to another i think in CL/400 its CVTDAT,Please tell in RPG/400 sir not in RPGILE} you have answered using MOVE opcode,can you illustrate me with a small example sir very kind of you.
Can a run time array be declare like below with no specified number of elements ? Is it possible ? DFLD_ARRAY 7 DIM() INZ(*blanks) What does this mean ? Does this mean that the number of array elements will be dynamically declared during run time ?
Hi Viewers can any body explain me how to update and ahange the already existed data in physical file using subfile ? please explain me with the code if possible?
In single page subfile,if I select the mutiple options in 1 page and without pressing enter,I press rollup key (pagedown).In such case how I can handle it in rpg becasue in single page we have to handle it in pgm. It would be helpful if any one answer with coding
4 Answers Infinite Computer Solutions,
how can I tell when to replace the array?
i'm working on progA , in that program i want to see the userids of the users who work on this program?
How to update physical file in rpgle without using display file?
Q:HI friends accually ihave one problem plesase let me know the alternate code of this code. Related field description of code: Add a field, CALvsPRD, "Calendar Day Starts Before/After Production Day" to the parameter set WRKORDER which accepts values 'A' or 'B' o B = Calendar Day Starts Before Production Day o A = Calendar Day Starts After Production Day o Any other value indicates the production and calendar dates are always the same. code: Automatic Execution Of *INZSR Subroutine /Z01 * retrieves WRKORDER field values. /Z01 * Calculate default Production Date and return it to caller. /Z01 * Production date defaults to system date /Z01 C Eval P@Pdate = %DATE() /Z01 * unless Calendar date starts Before PDN(production) date and /Z01 * system time is before PDN Start Time then /Z01 * PDN date is yesterday. /Z01 C If W@CALvsPRD = 'B' and /Z01 C %TIME() < %TIME (W@Strtime) /Z01 C Eval P@Pdate -= %Day(1) /Z01 * unless Calendar date starts After PDN date and /Z01 * system time is *GE PDN(production) Start Time then /Z01 * PDN date is tomorrow. /Z01 C ElseIf W@CALvsPRD = 'A' and W@Strtime > *Zero and /Z01 C %TIME() >= %TIME (W@STrtime) /Z01 C Eval P@Pdate += %Day(1) /Z01 C EndIf /Z01 C Eval *InLr = *On
what is the procedure and explain about real time scenario.
0 Answers Adhoc Technologies, Hanuman Automation, HSBC, IBM,