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

i want to perform uniqness on db file bt my db file nt hving key by useing rpgle.

3 Answers   HSBC,


How to handle duplicate error handling in RPG?

0 Answers  


How can we search particular records from the database file in RPG. For example, there are 100 records in the file.i need to retrieve all the records matching/equal to the particular 'NAME' field. How can we do the above using SEARCH criteria other than using the IF cond?

4 Answers   CTS,


Hi friends, I am using a load all subfile , and currently i am in in the third page of the subfile , from third page i have selected a record and called some other program .on returning, subfile is being loaded from the frist page. so can any one kindly suggest me in retaining my third page after returning. i.e loading from third page.

7 Answers  


How to define data area in RPG program? In which scenario multi occurrence DS is use in AS400?

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  


What is the purpose of FRCDTA keyword?

3 Answers   IBM,


Please tell me how to read the records from a file with load an array of size with error conditions(The logic answer for this question is ARR is array of 99 elements Z-ADD 0 IDX *LOVAL SETLL FILE READ FILE 99 *IN99 DOWEQ *OFF IDX ANDLT 99 ADD 1 IDX MOVE FIELD ARR,IDX READ FILE 99 ENDDO).So,Please give me the complete of this code.

0 Answers  


You have a *USE authority on a Library and *All authority on a file in that Library.Can you change the data in that file?

1 Answers  


Why we need to give File and To file Names While we are using OVRDBF. What is your understanding related to this?

2 Answers   Cap Gemini,


is this a rpg channel?

0 Answers   IBM,


How to find d key field of a pf that doesn’t have source physical file?

2 Answers  


Categories