Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


steps for debugging two rpg programs????

Answers were Sorted based on User's Feedback



steps for debugging two rpg programs????..

Answer / samul

If you question is related to debug 2 pgms
(PGMA>>>Calling>>PGMB)both are rpg pgms.

Compile PGMA with source type(*SRCDBG) and PGMB with
(*Source)

1)STRDBG PGMA

2)In debuging view press F14 and selct option 1 ,specify
pgm name ,library.

3)press enter ,select module source from list,add break
point in PGMB

4) Press F14, add brk point sin PGMA.

5) Call PGMA

It will start the debugging for 2 pgms


Hope it's enough ....

Cheers.. Samul


Is This Answer Correct ?    11 Yes 1 No

steps for debugging two rpg programs????..

Answer / sunil kumar

what ever samul told above steps those are correct.

Is This Answer Correct ?    1 Yes 0 No

steps for debugging two rpg programs????..

Answer / daithuan

Samul is correct but his answer applies only ILE RPG not OPM RPG.

Is This Answer Correct ?    0 Yes 0 No

steps for debugging two rpg programs????..

Answer / sudhir

STRISDB PGM(PGMNME) UPDPROD(*YES) invpgm(*YES)

You dont need to have break points for RPG(OPM).
hit F14 (SHIFT F2) and use option 1 to add the programs you
want to debug.. Just hit F5 and you can continue your
debug..

Is This Answer Correct ?    1 Yes 1 No

Post New Answer

More RPG400 Interview Questions

What are the values of NUM1 and NUM2 after executing the following code? CLONO1NO2NO3 Factorl÷÷+OpcdeFactor2+÷+ResultLenDHHiLoEq C MOVE *LOVAL NUM1 50 C MOVE *J-fIVAL NtJM2 52

2 Answers   Fiserv, IBM,


Given the following code, what is the value of RESULT? DName+++++++++++ETDsFrom+++To/L+++IDc.Keywords+++++++++++++ D RESULT S 5 0 C EVAL RESULT = (2 + 3 * 2) ** 2 / 2

2 Answers  


1) How to declare a file? 2) How to define a display file? 3) How to monitor error messages in RPG? 4) How to find the attributes for subfiles? and what is the DDS for subfiles?

2 Answers   TCS,


Why we cannot call a service program? If I add a PEP can i call the service program?

1 Answers   DELL,


What is the difference between ITER and DO ? I know both are used to execute set of statements repeatedly, but what is the main difference?

2 Answers   CGI, Wipro,


What is use of IMPORT and EXPORT in RPGLE ? What is activation Group ? What is Service Program ???? How to call another program in RPGLE ?

1 Answers  


What is the compilation option that has to he specified while compiling an RPC program which uses a file having date data type field?

3 Answers   HSBC, 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,


suppose i i am changing / updating record of subfile and i want to change the record in reverse order . means i want to change the bottom record first and so on through readc . how i do it please any one explain .

4 Answers   CSC,


IN RLU what are the record level keyword is used?

5 Answers   iGate, TCS,


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,


what is the necessary keyword needed to scroll subfile records?

0 Answers   IBM,


Categories