× 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.




Hi Jerry, I double checked that the pgm attribute is RPG36 and the code does not start with a U spec and has no /COPY.

I will work on the STRISDB statement with the additional entries in the command. Hopefully that will get me somewhere.

Thanks for your input!


From: Jerry@xxxxxxxxxxxxxxx
To: rpg400-l@xxxxxxxxxxxx
Date: Fri, 5 Mar 2010 07:52:20 -0600
Subject: RE: Debugging in System 36 environment

Sharon,

If the source member type = RPG36 and the program was actually an autoreport (RPT36) program, it would not compile. RPT36 programs would have a U-spec as the first line in the program; they are used, usually in my experience, to retrieve /copy directives for record layouts, standard subroutines, and such.

There is a way to run ISDB over an RPT36 program, but it takes some extra steps.

Since you have not used the SRCMBR and SRCF parameters, maybe now is the time to try those. Perhaps ISDB cannot find the source. Frankly I seriously doubt it since the source file, library, and member are stored with the program's object. I don't think the library list would even matter, though I've never debugged a program that was not in the LL.

Jerry C. Adams
IBM System i Programmer/Analyst
--
B&W Wholesale
office: 615-995-7024
email: jerry@xxxxxxxxxxxxxxx


-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Sharon
Sent: Friday, March 05, 2010 6:55 AM
To: RPG Forum
Subject: RE: Debugging in System 36 environment


Hi, it is a RPG36 program and it's a *S36 environment. I don't use the SRCMBR or SRCF attributes on my start debug command.

How do I know if it's an 'auto report' program?

Thanks.

From: jfranz@xxxxxxxxxxxx
To: rpg400-l@xxxxxxxxxxxx
Subject: Re: Debugging in System 36 environment
Date: Thu, 4 Mar 2010 18:55:47 -0500

Is your job special environment *S36 or *none (native) ?
The program obj is RPG36?
IS this an "auto report" program?

is this your setup?
strisdb pgm(mylib/mypgm) updprod(*yes) invpgm(*no) srcmbr(*pgm)
srcf(mylib/qs36src)

Jim Franz
----- Original Message -----
From: "Sharon" <sklosinski@xxxxxxxxxxx>
To: "RPG Forum" <rpg400-l@xxxxxxxxxxxx>
Sent: Thursday, March 04, 2010 3:28 PM
Subject: Debugging in System 36 environment




Good afternoon all, I am trying to step through an old QS36SRC print
program.

It is called from a CL. I set up the debug of the program I want with an
STRISDB command, upprod *YES, invoke *NO. I get into the source and set
break points. I then call the CL program. I get an input screen for what
I want to print, and never get into the program to step through it.

Thinking the source attributes may be off, I copied it and renamed it and
recompiled it with *SOURCE. I copied the CL to call my new program. When
I attempt Debug again I still cannot get into this program.

I have gotten the environment set up to what I think I need with the
STRS36 command to get me into the S36 environment, after hitting several
snags on that.

I have looked in the archives and can't see anything that would be
helpful.

I know it's an oldie but a goodie, but any help would be appreciated.
Thanks in advance.

Sharon

_________________________________________________________________
Hotmail: Powerful Free email with security by Microsoft.
http://clk.atdmt.com/GBL/go/201469230/direct/01/
--
This is the RPG programming on the IBM i / System i (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.


--
This is the RPG programming on the IBM i / System i (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.


_________________________________________________________________
Hotmail: Trusted email with Microsoft's powerful SPAM protection.
http://clk.atdmt.com/GBL/go/201469226/direct/01/
--
This is the RPG programming on the IBM i / System i (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.

--
This is the RPG programming on the IBM i / System i (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.


_________________________________________________________________
Hotmail: Trusted email with powerful SPAM protection.
http://clk.atdmt.com/GBL/go/201469227/direct/01/

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.