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



I'm working on a program where I have a multi-layered data structure (DS within a DS, not sure what the official term for that is). I use Content Assist within WDSC all the time to select subfields from qualified data structures.

However, when I have a multi-layered DS in a subprocedure (as a parm or locally defined), the content assist does not recognize the subfield data structure, but it does list all of the other subfields from the first level. I have refreshed the outline. The outline shows the multi-layered DS in its entirety, sSo I'm not sure why it's not working. Note: content assist does work on multi-layered DSs in the mainline

I'm at WDSC 7.0.0.8.

Code example to paste in to try it out (includes a parm and a locally defined multi-layered DS).

D ds_Info DS Qualified
D phone LikeDS( ds_Phone )
D international n

D ds_Phone DS Qualified
D npa 3p 0
D nxx 3p 0
D line 4p 0

D testproc pr
d parm1 LikeDS( ds_Info )

/free

/end-free
P testproc b
d pi
d parm1 LikeDS( ds_Info )


D ds_Info2 DS Qualified
D phone LikeDS( ds_Phone2 )
D international n

D ds_Phone2 DS Qualified
D npa 3p 0
D nxx 3p 0
D line 4p 0

/free

/end-free
p testproc e

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

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.