No in the OPM language you have to add each one individually. I tend not
to mind it, sometimes I like it since it doesn't clutter up that view. But
hovering over variables etc... are not available when doing debug with OPM
language.
Jeff Buening
Sr. Developer
P: 419.586.8599
| F: 419.586.8997
Celina Insurance Group
800.552.5181 | 1 Insurance Square, Celina, Ohio 45822
www.celinainsurance.com
................................................................................
...................................................
The information contained in this message (including any attachments) is
confidential and may be privileged.
Unauthorized disclosure, copying, or use of this information is prohibited and
may be unlawful.
If you are not the intended recipient, please delete this message and notify
the sender.
From: Greg Wilburn <gwilburn@xxxxxxxxxxxxxxxxxxxxxxx>
To: "Rational Developer for IBM i / Websphere Development Studio
Client for System i & iSeries" <wdsci-l@xxxxxxxxxxxx>
Date: 02/03/2017 09:36 AM
Subject: Re: [WDSCI-L] Debug a CL program
Sent by: "WDSCI-L" <wdsci-l-bounces@xxxxxxxxxxxx>
But once I had the CL program in debug, I couldn't see variable values
unless I added a monitor statement for each one... am I still missing
something?
-----Original Message-----
From: WDSCI-L [mailto:wdsci-l-bounces@xxxxxxxxxxxx] On Behalf Of Mike
Hockings
Sent: Friday, February 03, 2017 9:16 AM
To: Rational Developer for IBM i / Websphere Development Studio Client for
System i & iSeries <wdsci-l@xxxxxxxxxxxx>
Subject: Re: [WDSCI-L] Debug a CL program
"I wish somehow they could get Set Service Entry points to work with OPM
language,"
It is an IBM i limitation. SEPs require a larger program header that OPM
programs do not have. You can write a wee CLLE launcher that calls your
CLP then set a SEP in that. Or I guess you could investigate to see if
using STRRSESVR would satisfy your debugging desires...
Mike
Mike Hockings, M.Eng., P.Eng.
IBM Rational Developer for System z and Power Systems Software Technical
Support IBM Canada Ltd. Laboratory hockings@xxxxxxxxxx
From: "Jeff Buening" <Jeff.Buening@xxxxxxxxxxxxxxxxxxx>
To: Rational Developer for IBM i / Websphere Development
Studio
Client for System i & iSeries <wdsci-l@xxxxxxxxxxxx>
Date: 2017/02/03 08:51
Subject: Re: [WDSCI-L] Debug a CL program
Sent by: "WDSCI-L" <wdsci-l-bounces@xxxxxxxxxxxx>
Sounds good, but I really think you almost had it. We have user screens
that we go thru and do rating. I debug my job starting at the first entry
screen and always get the '"QT3REQIO.STATEMENT". Inside the tab, it says
"No debug data available"'. That message is not an error, just doesn't
have debug data for the screen I am sitting on. I hit the Resume(green
triangle button or in RUN drop down menu). Then I start going thru the
user screens, once a screen calls that program it comes up in RDI debug
for me to work with.
I wish somehow they could get Set Service Entry points to work with OPM
language, but I understand they want us to change everything to ILE. Wish
it was as easy as change it to ILE and everything worked the same, but
that is not always the case yet.
Jeff Buening
Sr. Developer
P: 419.586.8599
| F: 419.586.8997
Celina Insurance Group
800.552.5181 | 1 Insurance Square, Celina, Ohio 45822
www.celinainsurance.com
................................................................................
...................................................
The information contained in this message (including any attachments) is
confidential and may be privileged.
Unauthorized disclosure, copying, or use of this information is prohibited
and may be unlawful.
If you are not the intended recipient, please delete this message and
notify the sender.
From: Greg Wilburn <gwilburn@xxxxxxxxxxxxxxxxxxxxxxx>
To: "Rational Developer for IBM i / Websphere Development Studio
Client for System i & iSeries" <wdsci-l@xxxxxxxxxxxx>
Date: 02/03/2017 08:32 AM
Subject: Re: [WDSCI-L] Debug a CL program
Sent by: "WDSCI-L" <wdsci-l-bounces@xxxxxxxxxxxx>
The job in question cannot be submitted... it drives a user screen.
I'm of the opinion that if it takes that many steps to get RDi to work,
I'll continue to use STRISDB.
-----Original Message-----
From: WDSCI-L [mailto:wdsci-l-bounces@xxxxxxxxxxxx] On Behalf Of
MichaelQuigley@xxxxxxxxxx
Sent: Friday, February 03, 2017 8:24 AM
To: wdsci-l@xxxxxxxxxxxx
Subject: Re: [WDSCI-L] Debug a CL program
See responses embedded below:
Michael Quigley
Computer Services
The Way International
www.TheWay.org
"WDSCI-L" <wdsci-l-bounces@xxxxxxxxxxxx> wrote on 02/02/2017 03:13:27 PM:
----- Message from Jeff Young <jyoung0950@xxxxxxxxx> on Thu, 2 Feb
2017 14:58:01 -0500 -----
To:
"Rational Developer for IBM i / Websphere Development Studio Client
for System i & iSeries" <wdsci-l@xxxxxxxxxxxx>
Subject:
Re: [WDSCI-L] Debug a CL program
Greg,
As far as the No Debug data available, you might try to recompile your
CLP
with the option(*srcdbg) keyword, then (not sure how in rdi) specify
opmsrc(*yes) on the STRDBG command.
Jeff Young
Sr. Programmer Analyst
Jeff,
The OP asked about debugging in RDi, your response is not an RDi/WDSc
answer.
-----Original Message-----
From: Greg Wilburn [mailto:gwilburn@xxxxxxxxxxxxxxxxxxxxxxx]
Sent: Thursday, February 02, 2017 10:31 AM
To: Rational Developer for IBM i / Websphere Development Studio
Client
for
System i & iSeries <wdsci-l@xxxxxxxxxxxx>
Subject: [WDSCI-L] Debug a CL program
Stupid Question:
Can I use RDi to debug a non-ILE CL program?
If so, how do I go about doing that?
Greg,
If you want to debug a batch OPM program, the easiest way is to submit it
on hold--e.g., SBMJOB xxxxxxxx HOLD(*YES). I usually do this by way of the
*JOBD with which I'm submitting (e.g., CHGJOBD smbjobdname HOLD(*YES)--or
I create a *JOBD in my library with the same name as the one used by the
submitting process). Then I go into the Debug perspective and select
'Debug Configurations...'. Then I set up a new "IBM i: Debug Job". I code
the Job Name and User and set the Number to * (a single asterisk); then I
specify the program I want to debug; and click 'Debug'. RDi (and the host
server jobs) see a job for the user on hold, the job is released and RDi
stops on the first executable statement in the program. This isn't quite
as good as a SEP, but it works well for me when I have to debug OPM
programs.
One additional point to make: someone suggested converting the program to
CLLE and recompiling. You have to be careful with that as it can impact
override scoping. The scoping of overrides is the area that really takes
some thought when converting an application to ILE. (That and *NOTIFY
messages no longer server much purpose--at least not the same purpose.)
--
This is the Rational Developer for IBM i / Websphere Development Studio
Client for System i & iSeries (WDSCI-L) mailing list To post a message
email: WDSCI-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list
options,
visit:
http://lists.midrange.com/mailman/listinfo/wdsci-l
or email: WDSCI-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives at
http://archive.midrange.com/wdsci-l.
--
This is the Rational Developer for IBM i / Websphere Development Studio
Client for System i & iSeries (WDSCI-L) mailing list To post a message
email: WDSCI-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list
options,
visit:
http://lists.midrange.com/mailman/listinfo/wdsci-l
or email: WDSCI-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives at
http://archive.midrange.com/wdsci-l.
--
This is the Rational Developer for IBM i / Websphere Development Studio
Client for System i & iSeries (WDSCI-L) mailing list To post a message
email: WDSCI-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list
options,
visit:
http://lists.midrange.com/mailman/listinfo/wdsci-l
or email: WDSCI-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives at
http://archive.midrange.com/wdsci-l.
--
This is the Rational Developer for IBM i / Websphere Development Studio
Client for System i & iSeries (WDSCI-L) mailing list To post a message
email: WDSCI-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list
options,
visit:
http://lists.midrange.com/mailman/listinfo/wdsci-l
or email: WDSCI-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives at
http://archive.midrange.com/wdsci-l.
As an Amazon Associate we earn from qualifying purchases.