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

What is the difference between crtdupobj and copyf?

661


what keyword must be used with protect keyword ?

1106


WHICH REPLY CODE IS USED BT sftp ? ... (e.g.226 is used by FTP IF FILE IS TRANSFERED)

1707


what are the different opcodes available in rpg for database access ?

795


what is the maximum number of fields under a record format of physical file?

980






how would you design the process for a nightly, high volume check producing process that needs to select only records that are flagged to be processed?

917


how can we run a batch job?

721


What is access path in as400?

830


What is file information data structure(infds) in as400?

957


how to validate input values in display file ?

655


How can we read file using curser? how to define a curser?

818


is there any way I can ease my rpg controls on numeric input fields? How about an input date field?

597


Difference Between Call & Sbmjob?

745


Pose, 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?

581


how do you use exceptional write in c specs?

1130