steps for debugging two rpg programs????
Answers were Sorted based on User's Feedback
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 |
Answer / sunil kumar
what ever samul told above steps those are correct.
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / daithuan
Samul is correct but his answer applies only ILE RPG not OPM RPG.
| Is This Answer Correct ? | 0 Yes | 0 No |
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 |
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
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
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?
Why we cannot call a service program? If I add a PEP can i call the service program?
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?
What is use of IMPORT and EXPORT in RPGLE ? What is activation Group ? What is Service Program ???? How to call another program in RPGLE ?
What is the compilation option that has to he specified while compiling an RPC program which uses a file having date data type field?
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?
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 .
IN RLU what are the record level keyword is used?
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.
what is the necessary keyword needed to scroll subfile records?