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 |
How do you find out whether a record is present in the physical file without reading the file? for Example Employee No: 100 in an Employee master.How do we find out whther 100 is present in Employee master without reading the file?
11 Answers Bank Of America, CSC, IBM,
what is file identifier wher we can use
suppose we have 10 members in physical file and i have to use 4 out of 10 so how can we read this in RPG
Can anybody tell me the setps to create .csv file in IFS folder on AS/400. I also need to know how I can send this .csv file to PC in xls sheet.....?
How do you proceed in case your active AS400 session has got disconnected suddenly, how can you get back to your session ? Is it possible??
When a object will be locked & when a record will be locked? Plz explain.
while i am using the dspmsg command on comman line in Mocha am getting error like Not authorized to message queue message my messagequeue Name? can anybody help me how to change my message queue Am anable to see my messages in message queue
if i have three programs progA,progB and progC .now i call progB from progA. but the progB does not exist . now i want to call progC instead of starting dump. how can we achieve this.
I have file with data as follows data 1 2 3 4 5 I need to read 1 and 5 ,then 2 and 4 then like.. upto end of file, can any one help on this
how do I preserve and clean the array?
how do u track msg in cl pgm???
1.How to read a subfile in out put mode? 2.what are the keywords used to share same file? 3.using composite key which rpg code used?