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?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

can you debug ile rpg program using isdb?

729


How do u design a physical file, when you have 2 Unique fields like for eg in A student file student ID and student examination no both are unique

540


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.

745


can I touch the array during treatments?

735


what is an online rpg?

710






Suppose we have one database file and it is used by 5 programs and in 3 program we have to add some records in datbase file s what is the impact on other program?

1437


what is the necessary keyword needed to scroll subfile records?

692


Interviewer asked me write down DDS for load all subfile .can anybody write dds

1005


How Chain operation copies the record's data to the input buffer for the program?

1065


1. What is bound-by-call and bound-by-reference? 2. Where and why is *Nomain used? 3. What are the difficulties faced by programmers when using service programs? 4. Explain the different ways of parsing and compiling XML in iSeries.

5376


When it is desirable to describe files Internally?

1178


Program to read marks of 10 students for 4 subjects and compute and display total marks and status of each student in rpg

709


What is a record lock error?

1250


what is the use of sflnxtchg?

793


do you use message subfiles? What are the necessary keywords required coding a message subfile?

675