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
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 |
What are the commands that can be executed in CLP but not in RPG? Why?
Mr.Yallamanda Reddy P thanks for your answer sir,can we use test(D) opcode in RPG/400,if yes please help me by eloborating on that answer by writing a sample code for that sir
What is the diff bw PF/LF Name and their Record format name? what is restriction in record format then file name?
How do you proceed in case your active AS400 session has got disconnected suddenly, how can you get back to your session ? Is it possible??
Suppose i am having 3 programs PgmA,pgmB,pgmC and using source debugger. At debugging time i found that pgmC having some code error..then in debug mode directly how can i debug pgmC
I know whole thing ab't Arrays related to declaration..can anyone tell me what exactly use of array or anyone faced a situation where he found use of array must....
Have a join logical file with more than one members with different record formats. So how can we read the different members from this file and also how we can read the different record format from the join logical?
What is use of IMPORT and EXPORT in RPGLE ? What is activation Group ? What is Service Program ???? How to call another program in RPGLE ?
When it is desirable to describe files Internally?
how can you display specific subfile page on the screen in unequal subfile?
The RP program is displaying records 11 times .But there are 10 records in a pf.(ie last record is displayed twice).How to display records only 10 times?
A pgm subroutine calling child subroutine, that child subroutine again calling parent subroutine, u have 1000 lines of code, with out debugging , how can u find that error??? Is there any command to find errors in pgm???