×
The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.
I have debugged batch OPM CBL or CL jobs by jumping into the job, but in
order to do that I have had to set up a couple of things....
1. The source needed to be compiled with OPTION(*SRCDBG). If compiling
from RDI it is set by default, but in our environment if compiled from
PDM(other programmers that don't use RDI :(. ), that is not set by
default. So I usually end up compiling it myself thru RDI to make sure
that setting is correct.
2. Make sure the Source is in the same location that you compiled from so
the debugger finds it, unless you have the source in the object.
3. Who ever is running the job you need *Use authority to that user
account. I my self needed *Service control also. (Don't ask me any
questions about this just something I told my administrator).
4. Then I usually do Debug(Prompt)-IBM i job, and as long as you get that
setup before the job hits the program you want to debug, it should come up
in RDI. Sometimes I will have them hold the JOBQ so I have time to get
this setup, then they release the JOBQ when I am ready.
This is how I have done it, if anyone else has any easier ways or more
comments would like to hear them.......
Thanks,
Jeff
Jeff Buening
Sr. Developer
P: 419.586.8599
| F: 419.586.8997
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: Justin Taylor <JUSTIN@xxxxxxxxxxxxx>
To: "Rational Developer for IBM i / Websphere Development Studio
Client for System i & iSeries" <wdsci-l@xxxxxxxxxxxx>
Date: 02/02/2017 01:04 PM
Subject: Re: [WDSCI-L] Debug a CL program
Sent by: "WDSCI-L" <wdsci-l-bounces@xxxxxxxxxxxx>
Can debug a running CL by doing a "Debug As"=>"IBM I job" on the job
itself?
-----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?
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact
[javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.