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 is Multi Occurrence Data Structure(MODS)?
If my rpg program has a date field, what extra care I have to take while compiling that rpg program? If the file is keyed and I have declared the file as well as key list properly in my program. Still am getting an error message like "chain/reade operation is not allowed" what may be the case?
parameters cannot be passed in which one??
I have a PF(ABC)with no key fields. PF(ABC)have 2 fields (cusno and cusname). Please let me know how can i read the cusno = 1150 directly from PF in CL and RPG program(Without creating the LF and without reading the complete file and then compare 1150)
How would display prime numbers using CL program?
we hav job which is running as batch. it takes atleast 06hours to complete tht job. bu i wana do tht job with in 3hours.........? so plz post ur answers
1.Load an runtime array of length 99 from the pf and you want to handle all the possible errors?
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.
I have to change a program. This program is calling a subroutine mor than 100times within it. so will it have any performance issue? if yes than what changes i can make. Thanx for ur valuable answer.
Program to read marks of 10 students for 4 subjects and compute and display total marks and status of each student in rpg
1.find most occurrences of a character. for exm: input:aaabbbbdddddyyy output: d 5 times how can i get that?
What hapens when we use CPYF command to copy a LF? On which PF will it be dependent???