Hi Mohan
Usually you cannot do this, but you can debug OPM programs using the ILE debugger (STRDBG). In order to do this, you must compile the OPM program (CL or RPG) with compile command parameter OPTION(*SRCDBG) or OPTION(*LSTDBG). Then, when you run the STRDBG command, use the parameter OPMSRC(*YES).
Or do what I do - any time I have to make a change to a CLP program - I change it to a CLLE
Alan Shore
E-mail : ASHORE@xxxxxxxx
Phone [O] : (631) 200-5019
Phone [C] : (631) 880-8640
'If you're going through hell, keep going.'
Winston Churchill
-----Original Message-----
From: RPG400-L [mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Mohan Eashver
Sent: Monday, September 22, 2014 8:55 AM
To: RPG programming on the IBM i (AS/400 and iSeries)
Subject: STRDBG wont show source code after upgrade to V7R1
Hi Developers,
I am excited about our new OS upgrade last weekend.
I am getting "(Source not available.)" when I do STRDBG on any source (RPG/CL).
Here are the default parameters I am passing to STRDBG command.
Hoping many of you have had a similar experience. Appreciate your help.
Default program . . . . . . . . DFTPGM *PGM
Maximum trace statements . . . . MAXTRC 200
Trace full . . . . . . . . . . . TRCFULL *STOPTRC
Update production files . . . . UPDPROD *NO
OPM source level debug . . . . . OPMSRC *NO
----
Regards,
Mohan Eashver
--
This is the RPG programming on the IBM i (AS/400 and iSeries) (RPG400-L) mailing list To post a message email: RPG400-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit:
http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives at
http://archive.midrange.com/rpg400-l.
Disclaimer: This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. Any views or opinions presented are solely those of the author and do not necessarily represent those of the company.
As an Amazon Associate we earn from qualifying purchases.