Job is running in production 24/7 how do u debug that
running job ?

Answer Posted / puneet7jun

You can debug a job by doing the following.
1) STRSRVJOB JOB(JOB_NUMBER, USER, JOB_NAME)

2) After this you can debug the progam which is running in
that job by STRDBG command.

STRDBG PGM(PGM_NAME) UPDPROD(*YES) OPMSRC(*YES)

Is This Answer Correct ?    18 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain this error: "all record formats for externally-described file abcd ignored or dropped due to error; file ignored."?

752


distinguish between terminating a program through seton lr and return?

565


Difference Between Call & Sbmjob?

775


Difference Between Source Physical File & Physical File?

640


how to get the cursor position?

718






when would you use or not use this approach?

888


WHAT IS FERERENTIAL INTRIGRITY ?

1107


define what a data area is along with a brief example of what it may be used for?

962


define data structure?

1027


What is the difference between iter and do? We know both are used to execute set of statements repeatedly, but what is the main difference?

549


What Is The Error If We Don't Get Login Screen?

677


what is the use of unique keyword and what level it is defined?

922


what is a join logical file?

754


what is the maximum number of files allowed in rpg?

942


some special characters I key in my html source members show different on my web pages. Why? How can I solve this?

612