A particular job executing on the iS is not behaving as
expected and is operating in an environment in which it can
be debugged. What commands would you use to debug and
observe the program?

Answers were Sorted based on User's Feedback



A particular job executing on the iS is not behaving as expected and is operating in an environmen..

Answer / sekhar

SBMJOB with HOLD(*YES) take the job number ,name and user
using WRKSBMJOB . then STRSRVJOB and STRDBG and F10 and come
out.the release the job WRKJOB 43 option or WRKSBMJOB with 6
option . then DSPMODSRC and start doing the debug. its like
normal debug.after completion of debugging you have to
ENDSRVJOB and ENDDBG

Is This Answer Correct ?    22 Yes 0 No

A particular job executing on the iS is not behaving as expected and is operating in an environmen..

Answer / student

Strsrvpgm, strdbg - and then debug the program

Is This Answer Correct ?    4 Yes 1 No

Post New Answer

More RPG400 Interview Questions

How to update only a field of a PF in an RPG program. I don't want to update the record, only one field.

2 Answers  


during execution, an rpg/400 program automatically follows a sequence of operations for each record that is processed. The built-in program cycle includes the following logical steps.

0 Answers   IBM,


How can we override a file during runtime in RPG? Without using OVRDBF or calling a CL program

1 Answers   UST,


2. Which of the following statement(s) explains the difference(s) between the /INCLUDE and ICOPY directives? a.) No difference, they function the same b.) ACOPY cannot be used as a conditional directive c.) IINCLUDE files cannot contain embedded SQL d.) Nesting /TNCLUDE directives is not allowed

2 Answers   IBM,


Can we possible to key with the date field?

1 Answers   IBM,






what is overlay? how can we pass parameters in cl or rpg programing? how can we get data area value in cl or rpg programming?

2 Answers   IBM, Patni,


if i have three programs progA,progB and progC .now i call progB from progA. but the progB does not exist . now i want to call progC instead of starting dump. how can we achieve this.

10 Answers   Four soft,


WHAT IS MENT BY RECORD LEVEL IDENTIFIER ? WHAT IS THE PURPOSE OF THIS?

1 Answers  


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

2 Answers  


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

4 Answers  


how to check on which PF , the LF is dependant ?

4 Answers   IBM,


Can we used ovrdbf command after the opnqry file if yes then What will be out put of your program?

4 Answers   IBM,


Categories