Cobol-Debug Viewing copybooks

pts.
Tags:
AS/400
Trying to view copybooks inside Cobol pgm with STRDBG that was compiled with embedded SQL statements. Using the CRTSQLCBLI command cannot see copybooks. DBGVIEW = *SOURCE only option allowed on this command. Tried the 2 commands interactively; CRTSQLCBLI then CRTBNDCBL referencing the QSQLTEMP file in QTEMP and DBGVIEW=*ALL as well and no luck. Any suggestions?

Answer Wiki

Thanks. We'll let you know when a new response is added.

Within STRDBG try pressing Shift-F2 to bring up a screen of different views available. If it is available there, chose “LISTING” and press enter.

Discuss This Question: 1  Reply

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • TomLiotta
    The COBOL compiler group hasn't added a *COPY source debug option in releases I've seen so far. There is no reason not to use DBGVIEW(*ALL) for all compiles since the listing view will be needed to see /COPY members and including a *SOURCE view doesn't increase the size of the object significantly if at all... unless you're distributing programs to customers and need to exclude listings in the objects. Tom
    125,585 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following