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 |
Hi Viewers can any body explain me how to update and ahange the already existed data in physical file using subfile ? please explain me with the code if possible?
Can an indexed file be accessed in arrival sequence in RPG?
Hi,This is raju.Can any body give me the real experience answer for this question? 1.What is the significance of *MAP and *DROP in the CPY command?
HOW TO DEBUG A BATCH JOB WHEN IT IS IN MESSAGEWAIT(MSWG) STATUS.I KNOW THE STEPS FOR BATCH DEBUGGING,BUT IM CONFUSING WITH WHEN WE SUBMIT ANY JOB FOR BATCH DEBUG WE PUT IN HELD STATE.SO HERE ALSO DO SAME THING OR ANY OTHER WAY,PLEASE HELP ME....
How to create a key field for a logical file inside RPG?
What is the difference between RPG/400 and RPG4
Suppose in CL we reach at end of file and again we have to reach from 1 record
Hi guys, anybody know How RPG/400 code can be converted to RPG IV code with a single command?
1.If *HIVAL SETGT is used what opcode is used to read a record? A:READ B:READPE C:CHAIN D:READP 2.How to pass numeric parameter to the rpg pgm from the command line? 3.What keyword is used on the rpg 4 definition specification to rename a subfile in an externally definition data structure? A:RENAME B;LIKE C:EXTNAME D:EXTFLD
How many program bind in one module....
How to get only unique records from a file which contains duplicate data using CPYF command ? Example : FILEA has duplicate records and FILEB is a UNIQUE defined.... and I want to get the data from FILEA to FILEB by eliminating all the duplicate records...
How do you know if a record exists without doing a READ and CHAIN?