-----Original Message-----
From: wdsci-l-bounces@xxxxxxxxxxxx
[mailto:wdsci-l-bounces@xxxxxxxxxxxx] On Behalf Of
Frank.Kolmann@xxxxxxxxxx
Sent: Thursday, October 25, 2007 8:43 PM
To: wdsci-l@xxxxxxxxxxxx
Subject: [WDSCI-L] (CONVERT TO RPGLE and CLLE) was WDSC vs SEU
Charles,
How can I use WDSCi to debug OPM programs, including CLP, I
would like to be able to do this, please.
Frank,
Make sure your RPG III programs are compiled with OPTION(*SRCDBG) or OPTION(*LSTDBG).
If you want to debug an interactive program, you need to go to a 5250 session and issue the following
command: STRRSESVR NAME('your wdsc connection name')
For example, in WDSCi, my connection is named "Dev - Fire and First Aid", so the STRRSESVR command I
used is:
STRRSESVR NAME('Dev - Fire and First Aid'). This creates an link between the 5250 session and WDSCi
which allows WDSCi to use the session for running interactive commands.
Then right click on the program object in RSE and select Debug As or Debug(Prompt). By default, the
system will start the program with a simple call (for interactive) or SBMJOB (for batch) with no
parameters. If you need to start it in some other way, make sure you choose Debug(Prompt). From the
menu that displays when you select Debug As or Debug(Prompt) select Batch or Interactive.
Since we have a menuing system that does some stuff behind the scenes, when I need to debug an
interactive app, I find it easiest to simply do the Debug (Prompt)-->Interactive and on the "how to
Start" tab, I enter the command which starts our menuing system. Then I work my way through the
menuing system and when I start the program I had select for debug, it pops up in the WDSCi debugger.
HTH,
Charles
This e-mail transmission contains information that is intended to be confidential and privileged. If you receive this e-mail and you are not a named addressee you are hereby notified that you are not authorized to read, print, retain, copy or disseminate this communication without the consent of the sender and that doing so is prohibited and may be unlawful. Please reply to the message immediately by informing the sender that the message was misdirected. After replying, please delete and otherwise erase it and any attachments from your computer system. Your assistance in correcting this error is appreciated.
As an Amazon Associate we earn from qualifying purchases.