One of the job in subsystem is in Running status,expected
time to complete this job is 2 minutes.
But from last 5 -10 minutes this job is still in running
status....What are the possible reasons...and What are the
actions i need to perform to check this...?
Answers were Sorted based on User's Feedback
Answer / ebin
Reasons can be many....
the first think you have to do is go inside the program
using the option and press 10 to check the job log...
Is This Answer Correct ? | 1 Yes | 0 No |
Answer / syam
Check JobLog last line, if it is running your program gone
to some wrong loop. Terminate program and modify program
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / naga srinivas.kattula
1) there may be possibility of depending jobs to be
completed be fore processing the conditions inside the pgm.
For example a printer job have to complete within 2 mins
means inside the file which is updating job have to complete
first.So we need to check the pgm any delay wait
conditions are there inside the pgm and check the jobs of
that pgm completed.
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / zhang
1,dspjoblog
2,dspjob ,check, if there has any lock waiting statue.
3,strsrvjob and debug.
Is This Answer Correct ? | 0 Yes | 2 No |
what is file information data structure?
suppose there are 100 records and i want to read records between 60-70 how we can read this 10 records in rpg
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 difference between the procedure and module in ILERPG?
How I can reread the physical file in CL program once the end of file reached in same CL program.
How to update physical file in rpgle without using display file?
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?
wat is the difference between array and multiple occurence data structure?
how can we find setll setgt chain read reade readp operations are successfull or not,give example.explain in detail.
In a particular program one file is used where override command is applied to a file, now this program calls another program where we want to use the same file but without override.How it can be done?
Need a sql query: retrive all duplicate records in table
What would be the result on writing a data record to a PF file using the "WRITE" opcode after the SETON *ON *INLR statment?