|
Hi Ron, According to the help text, *COPY is the same as *SOURCE, except that it includes the /copy members as well. If you use *SOURCE, you have to have the source member available (and unchanged) in order for that debug view to work, so I don't think this is what you're looking for. It appears that *LIST is what you're looking for... this places a copy of your compile listing in your object, so that when you use debug, it will show the statements as they were during compile. *SHOWCPY and *EXPDDS keywords determine what information is printed in your compile listing, and consequently also affect what is available for debugging when you use *LIST. They include the /copy members, and the external definitions of files, respectively. They may be turned on by default, I'm not sure -- but a little experimenting will tell you this. :) On Wed, 3 Oct 2001, Klein, Ron wrote: > > Hi All, > > I need a little assistance understanding how the DEBUG views work for RPGIV > programs. I need to know how to compile a program so that I can debug it on > another system that does not have the source or the copy books. > > I'm thinking I need to use *COPY, but do I need to include *SHOWCPY and > *EXPDDS. And are those supposed to be in an H spec. > > Thanks > Ron >
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.