Hi Paul, Does this describe the problem?
APAR SE54842 - Fields defined LIKE fields from an external file lack field
characteristics in the ILE RPG Outline View.
https://www.ibm.com/support/entdocview.wss?uid=swg1SE54842
Mike
Mike Hockings, M.Eng., P.Eng.
IBM Rational Developer for System z and Power Systems Software Technical
Support
IBM Canada Ltd. Laboratory
hockings@xxxxxxxxxx
voice 1-905-413-3199 T/L 313-3199 ITN 23133199
From: Paul Bailey <PaulBailey@xxxxxxxxxx>
To: Rational Developer for IBM i / Websphere Development Studio Client
for System i & iSeries <wdsci-l@xxxxxxxxxxxx>,
Date: 2013-02-13 05:46
Subject: Re: [WDSCI-L] Live Outline not showing definition of DS
Subfields
Sent by: wdsci-l-bounces@xxxxxxxxxxxx
Hi Edmund,
I experience the problem where the outline and the hover tooltip in RPGLE
sources refuse to show the definition of a field that is defined LIKE()
one of the fields from one of the files defined on an F-spec - it displays
"Unknown (0)". This happens in all /FREE and fixed sources, and is not
corrected after an outline refresh, a cache clear, a -clean start, or a
new workspace.
I've created a short dummy RPGLE and DDS source pair that reproduces this
problem. Do you need anything else before I create a PMR? Speaking of
which, what other info do I need to create the PMR? (Never created one
before.)
I've included the sources here just in case others are interested and can
offer advice.
[DDS => PBCATP.pf]
A R @PBCATP
A CPPROD 3 COLHDG('PRODUCT CODE')
A CPCTRY 2 COLHDG('COUNTRY CODE')
A K CPPROD
[RPGLE => PBTEST.rpgle]
FPBCATP IF A E K DISK
DPBCTRY S LIKE(CPCTRY) INZ
C 1 SETLL PBCATP 717273
C READ PBCATP 7475
C IF *IN74=*OFF AND *IN75=*OFF
C EVAL PBCTRY = CPCTRY
C ENDIF
C SETON LR
-Paul.
-----Original Message-----
From: wdsci-l-bounces@xxxxxxxxxxxx [mailto:wdsci-l-bounces@xxxxxxxxxxxx]
On Behalf Of Edmund Reinhardt
Sent: 07 February 2013 18:40
To: Rational Developer for IBM i / Websphere Development Studio Client for
System i & iSeries
Subject: Re: [WDSCI-L] Live Outline not showing definition of DS Subfields
Hi Jeff,
There are 2 possible scenarios.
There is a known problem where any LIKE definitions in terms of fields
from external files are lost as soon as you do some edits. Hitting
Refresh will get them back. This is an RFE I would like to get to soon
http://www.ibm.com/developerworks/rfe/execute?use_case=viewRfe&CR_ID=29965
- feel free to vote for it.
But I also have a PMR from someone that sees his LIKE definitons not
resolving even after Refresh (with the files in the library list of
course). But I have not been able to reproduce it. If you could open a
PMR and send in material to reproduce the problem, we will all be better
off.
Thanks,
Edmund (E.H.) Reinhardt
COBOL IDE on AIX, DDS, WebFacing, System i Application Development,
Rational Developer for Power
Important, this email transmission and any files with it are strictly
confidential to the intended recipient and may be legally privileged. Any
views or opinions presented are solely those of the author and do not
necessarily represent those of BHSF. If you are not the intended
recipient, you must not copy, disclose or distribute its contents in any
way. If you have received this e-mail in error, please notify the sender
and delete the e-mail from your system.
We have taken steps to ensure this email and attachments are free from any
virus but do not accept any responsibility once this e-mail has been
transmitted. You should scan any attachments for viruses. No contract may
be concluded on behalf of BHSF Limited by e-mail.
Registered Office: BHSF Limited, Gamgee House, 2 Darnley Road, Birmingham,
B16 8TE. www.bhsf.co.uk Registered in England number 35500. BHSF is
authorised and regulated by the Financial Services Authority.
As an Amazon Associate we earn from qualifying purchases.