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



Michael,

Have you seen the QWCRDTAA API? It might be what you are looking for. The TYPE, LENGTH and DECPOS attributes of the receiver data structure contain information about the type, length and number of decimal positions:

* Retrieve Data Area (QWCRDTAA) API
d QWCRDTAA...
d pr extpgm('QWCRDTAA')
d o_rcvVar 65535a options(*varsize)
d i_lenRcvVar 10i 0 const
d i_qDtaAra 20A const
d i_start 10i 0 const
d i_length 10i 0 const
d io_errCode 65535a options(*varsize)
*
* Format of Data Returned (attributes and value)
d rtvDtaAra_t ds qualified template
d bytRet 10i 0
d bytAvl 10i 0
d type 10a
d lib 10a
d length 10i 0
d decPos 10i 0
d value 2000A

You may remove the "value" field of the " rtvDtaAra_t" data structure if you are not interested in the value of the data area.

Thomas.

-----Ursprüngliche Nachricht-----
Von: WDSCI-L [mailto:wdsci-l-bounces@xxxxxxxxxxxx] Im Auftrag von MichaelQuigley@xxxxxxxxxx
Gesendet: Montag, 15. August 2016 22:33
An: Midrange.com, WDSc
Betreff: [WDSCI-L] A new RFE for retrieving a data area description

I've added an RFE asking for a command (or at least an API) to retrieve a data area description. Here's the URL:
http://www.ibm.com/developerworks/rfe/execute?use_case=viewRfe&CR_ID=93058

Michael Quigley
Computer Services
The Way International
www.TheWay.org
--
This is the Rational Developer for IBM i / Websphere Development Studio Client for System i & 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.
--
IMPORTANT NOTICE:
This email is confidential, may be legally privileged, and is for the intended recipient only. Access, disclosure, copying, distribution, or reliance on any of it by anyone else is prohibited and may be a criminal offence. Please delete if obtained in error and email confirmation to the sender.


As an Amazon Associate we earn from qualifying purchases.

This thread ...


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.