Hi Li,
Thanks for that. No, it wasn't being directly referenced. Recompiling with *UNREF and it now appears.
Best regards,
Mark
-----Original Message-----
From: wdsci-l-bounces@xxxxxxxxxxxx [mailto:wdsci-l-bounces@xxxxxxxxxxxx] On Behalf Of Li Ding
Sent: 30 March 2009 20:38
To: wdsci-l@xxxxxxxxxxxx
Subject: Re: [WDSCI-L] Linkage missing in Debug (RDi7.1)
Hi Mark,
Is LK01-TABLE referenced anywhere in your source ? ILE COBOL compiler by
default does not generate information for unreferenced data.
If this is the case, try to specify *UNREF when you compile the source.
Thanks,
Li Ding
IBM i AD, IBM Toronto Lab
message: 5
date: Mon, 30 Mar 2009 17:06:15 +0100
from: "Austin, Mark" <Mark.Austin@xxxxxxxxxx>
subject: [WDSCI-L] Linkage missing in Debug (RDi7.1)
Hi guys,
I'm having some trouble trying to find out what is being passed into an ILE
Cobol using SEP debug.
The parameters are as follows;
LINKAGE SECTION.
01 LK01-SELECTION-FIELDS.
05 LK01-COUNT PIC 9(2) BINARY.
05 LK01-TABLE PIC X(36304).
01 LK01-SELECTION-SEQ PIC S9(9) COMP-3.
PROCEDURE DIVISION USING LK01-SELECTION-FIELDS
LK01-SELECTION-SEQ.
But in the variables in debug only LK01-COUNT is being shown under
LK01-SELECTION-FIELDS. LK01-TABLE does not appear in the variable list at
all.
If I try to monitor expression LK01-SELECTION-FIELDS again only LK01-COUNT
is shown under the 01 level. If I try to monitor expression LK01-TABLE I
get CPF7E12 Identifier does not exists error message.
Can anyone explain or help with ideas on how to find out the content of
LK01-TABLE?
Best regards,
Mark Austin
IT Consultant
Universal Music Publishing International
Email: mark.austin@xxxxxxxxxx<mailto:mark.austin@xxxxxxxxxx>
Tel: +44 (0) 208 742 5520
Fax: +44 (0) 208 742 5699
Universal Music Publishing International Limited
Registered in England. Number 02050403
Registered Office: 347-353 Chiswick High Road, London W4 4HS
--
This is the Websphere Development Studio Client for iSeries (WDSCI-L) mailing list
To post a message email: WDSCI-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit:
http://lists.midrange.com/mailman/listinfo/wdsci-l
or email: WDSCI-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at
http://archive.midrange.com/wdsci-l.
"**Confidentiality**
The information contained in this e-mail is confidential, may be privileged and is intended solely for the use of the named addressee. Access to this e-mail by any other person is not authorised. If you are not the intended recipient, you should not disclose, copy, distribute, take any action or rely on it and you should please notify the sender by reply. Any opinions expressed are not necessarily those of the company.
We may monitor all incoming and outgoing emails in line with current legislation. We have taken steps to ensure that this email and attachments are free from any virus, but it remains your responsibility to ensure that viruses do not adversely affect you.
As an Amazon Associate we earn from qualifying purchases.