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 |
I have a RPG program of 100 Lines and first line is to SETON indicator LR. Will the program execute rest of the 99 Lines?
What is the diff bw PF/LF Name and their Record format name? what is restriction in record format then file name?
Program to read marks of 10 students for 4 subjects and compute and display total marks and status of each student in rpg
what is *place and *auto keyword in prtf ?plz explain
parameters cannot be passed in which one???
What is SFLNXTCHG keyword why it has used and where? Briefly explain with Example.
3 members in a databasefile .how to read records from all the members?????????
how do u track msg in cl pgm???
i have 1000 records in pf.what are all the ways to read a particular name records in rpg?? ie.. in pf i have a name called demo appeared around 52 times hw will we read this particular records in rpg/400?.
Can any one plz explain the concept of INFSR, *PSSR, INFDS AND PSDS, I' confusing about PSDS and *PSSR, Wat is the difference btw them, wat PSDS will do????
how to find whether a date format is valid or not in RPG400 not in RPGILE.Can you please write the coding for this sir,i'm new to AS400.Please help.
If there are 1000 member(PGM type) in a SRC file. How can we compile in a CL program? ( It need to be done in a loop)?