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



One of the job in subsystem is in Running status,expected time to complete this job is 2 minutes. ..

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

One of the job in subsystem is in Running status,expected time to complete this job is 2 minutes. ..

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

One of the job in subsystem is in Running status,expected time to complete this job is 2 minutes. ..

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

One of the job in subsystem is in Running status,expected time to complete this job is 2 minutes. ..

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

Post New Answer

More RPG400 Interview Questions

what is file information data structure?

1 Answers   IBM,


suppose there are 100 records and i want to read records between 60-70 how we can read this 10 records in rpg

2 Answers   Polaris,


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

0 Answers   IBM,


what is the difference between the procedure and module in ILERPG?

4 Answers  


How I can reread the physical file in CL program once the end of file reached in same CL program.

20 Answers   IBM,






How to update physical file in rpgle without using display file?

4 Answers   GalaxE, IBM, TCS,


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,


wat is the difference between array and multiple occurence data structure?

4 Answers   Four soft,


how can we find setll setgt chain read reade readp operations are successfull or not,give example.explain in detail.

4 Answers   iSoft, Wipro,


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?

6 Answers   Hexaware,


Need a sql query: retrive all duplicate records in table

3 Answers  


What would be the result on writing a data record to a PF file using the "WRITE" opcode after the SETON *ON *INLR statment?

10 Answers  


Categories