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

Answers were Sorted based on User's Feedback



Suppose i am having 3 programs PgmA,pgmB,pgmC and using source debugger. At debugging time i found..

Answer / swathi

The answer Sudha mentioned is how to keep a program in
debug.

To keep a 2nd program in debug while in debugging the first
program, (if you are debugging ProgA and you want to debug
ProgC), follow these steps:
1. Press F14(Shift+F2) when the source of ProgA appears
2. Add ProgC to the list
3. Take '5' corresponding to ProgC which is added to the
list. Now the source of ProgC is displayed
4. Place a breakpoint and press F12 to continue.

Is This Answer Correct ?    13 Yes 0 No

Suppose i am having 3 programs PgmA,pgmB,pgmC and using source debugger. At debugging time i found..

Answer / sudha

First we have to Create source of PGM-C at time of
compilation, then strdbg PGM-C then source will appear and
give break point wherever you want, then F12 to go out of
program.Then call the calling program it will go directly
to pgm-c program in debug mode.

Is This Answer Correct ?    6 Yes 2 No

Post New Answer

More RPG400 Interview Questions

Suppose in CL we reach at end of file and again we have to reach from 1 record

3 Answers   TCS,


what is program status data structure?

1 Answers   IBM,


how to retrieve RRN value in RPGLE program

3 Answers  


A rpg or clp command to find if the file field is defined as a character or numeric field.

1 Answers   IBM,


How can i check the object existance in RPG program without using QCMDEXC command.

7 Answers   IBM, JDA,


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....

1 Answers  


what is the use of sflnxtchg?

0 Answers   IBM,


1.What is the Maximum field length we can declare in RLU?? 2. What is the difference if your designing RLU using DDS and using the option 19 for the RLU??

2 Answers  


How to select highest score of each subject or how to select highest income of every month?

0 Answers  


Errors in Sql query will be in which state?

1 Answers  


why subproc not run in dftactgrp?????/plz explain

2 Answers   CSC,


can anybody help me to solve this problem. the program that i m checking display error message saying "Record format for file AJDSPFFD does not match model file and decimal error. how to solve this problem. The AJDSPFFD is snapshot the AJTLOG that is the audit trail list.

0 Answers  


Categories