× 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 Paul,
Is the COPY statement within the SQL DECLARE area?  I didn't see it mentioned or I missed it.
Basil Zangare


-----Original Message-----
From: Jeff Buening <jeff.buening@xxxxxxxxxxxxxxxxxxx>
To: COBOL Programming on the IBM i (AS/400 and iSeries) <cobol400-l@xxxxxxxxxxxxxxxxxx>
Sent: Tue, May 19, 2020 11:21 am
Subject: Re: [COBOL400-L] Debugging COPY statements

You are correct most of the Cobol programs I mess with are OPM.  So the .cbl, cblle(ILE cobol with SQL) and SQLCBL have option to see the copy book.  I find it hard to believe ILESQL would not have something OPM has, but COBOL on IBM is always a pain in trying to figure how to get the same thing in OPM working in ILE or Vice Versa. If I find something will post otherwise might need to send something to IBM and ask where that option is for SQLCBLLE....

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




-----Original Message-----
From: COBOL400-L <cobol400-l-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of Paul Nicolay
Sent: Tuesday, May 19, 2020 11:44 AM
To: COBOL Programming on the IBM i (AS/400 and iSeries) <cobol400-l@xxxxxxxxxxxxxxxxxx>
Subject: Re: [COBOL400-L] Debugging COPY statements

Hi,

I'm using SQLCBLLE which uses CRTSQLCBLI... which only supports *SOURCE as DBGVIEW.

I can't enter *LIST on the command ?

Kind regards,
Paul
________________________________________
From: COBOL400-L <cobol400-l-bounces@xxxxxxxxxxxxxxxxxx> on behalf of Jeff Buening <jeff.buening@xxxxxxxxxxxxxxxxxxx>
Sent: Tuesday, May 19, 2020 17:00
To: COBOL Programming on the IBM i (AS/400 and iSeries)
Subject: Re: [COBOL400-L] Debugging COPY statements

It depends if you are compiling as OPM cobol(.cbl) or ILE Cobol(.cblle) or SQL(.SQLCBL or SQLCBLLE)?

OPM Cobol change the OPTION compile cmd to *LSTDBG instead of *SRCDBG.  ILE Cobol or SQL(OPM or ILE) change the DBGVIEW compile cmd to *LIST instead of *SOURCE.  Then you should see the copy books info in the PROCEDURE section when debugging.
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.




-----Original Message-----
From: COBOL400-L <cobol400-l-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of Paul Nicolay
Sent: Tuesday, May 19, 2020 10:29 AM
To: cobol400-l@xxxxxxxxxxxxxxxxxx
Subject: [COBOL400-L] Debugging COPY statements

?Hi,


I'm using COPY (as well as INCLUDE) statements in my Cobol source but during debugging I don't see the contents.


Is there a method to see the contents and debug them ?


Kind regards,

Paul
--
This is the COBOL Programming on the IBM i (AS/400 and iSeries) (COBOL400-L) mailing list To post a message email: COBOL400-L@xxxxxxxxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/cobol400-l
or email: COBOL400-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives at https://archive.midrange.com/cobol400-l.


--
This is the COBOL Programming on the IBM i (AS/400 and iSeries) (COBOL400-L) mailing list To post a message email: COBOL400-L@xxxxxxxxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/cobol400-l
or email: COBOL400-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives at https://archive.midrange.com/cobol400-l.


--
This is the COBOL Programming on the IBM i (AS/400 and iSeries) (COBOL400-L) mailing list To post a message email: COBOL400-L@xxxxxxxxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/cobol400-l
or email: COBOL400-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives at https://archive.midrange.com/cobol400-l.



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.