|
Kurt
An idea - there is no memory allocated to a template. You have 2
messages saying that neither the structure nor its subfield can be used,
since they are in a DS defined with TEMPLATE.
I have a feeling that %len would also fail when used against a templated
item - does it?
It seems we SHOULD be able to get attributes of variables that were
defined with TEMPLATE, doesn't it? Or am I expecting more than is
practical? Is this possible with templates in C/C++?
Vern
On 6/6/2014 12:42 PM, Kurt Anderson wrote:
I tried using %decpos on a template variable, and it wouldn't let me:
editCode = $GetUsageAmountEditCode( %decPos( dsT_Inv_State.SBeg ) );
RNF0655: Item SBEG was defined with TEMPLATE and cannot be used in this context.
RNF0655: Item DST_INV_STATE was defined with TEMPLATE and cannot be used in this context.
As an Amazon Associate we earn from qualifying purchases.
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.