Skip to main content

CXML-ADD-ATTRIBUTE attribute length limitation?

  • Nov 14, 2011 10:52 PM UTC
  • 3 replies
  • 18 views

Dominique Sacre
Forum|alt.badge.img+2

[Migrated content. Thread originally posted on 14 November 2011]

I use v811 acuCOBOL.

call "C$XML" using CXML-ADD-ATTRIBUTE
element-handle
"HAR"
WS-ATTR-DATA
1024.


I find CXML-ADD-ATTRIBUTE method the attribute maximum characters which I could add is 1024, if longer then 1024, the attribute value will have previous attribute value.

Does anyone know attribute value maximun character length for acucobol v811?
Does anyone know attribute value maximun character length for acucobol v911?


If it has maximum value, is it possible to enlarge this value?

3 replies

Stephen Hjerpe
  • Participating Frequently
  • Nov 14, 2011 11:02 PM UTC

[Migrated content. Thread originally posted on 14 November 2011]

I use v811 acuCOBOL.

call "C$XML" using CXML-ADD-ATTRIBUTE
element-handle
"HAR"
WS-ATTR-DATA
1024.


I find CXML-ADD-ATTRIBUTE method the attribute maximum characters which I could add is 1024, if longer then 1024, the attribute value will have previous attribute value.

Does anyone know attribute value maximun character length for acucobol v811?
Does anyone know attribute value maximun character length for acucobol v911?


If it has maximum value, is it possible to enlarge this value?
Yes, that is the limit, including the current version 9.1.1.

Dominique Sacre
Forum|alt.badge.img+2

[Migrated content. Thread originally posted on 14 November 2011]

I use v811 acuCOBOL.

call "C$XML" using CXML-ADD-ATTRIBUTE
element-handle
"HAR"
WS-ATTR-DATA
1024.


I find CXML-ADD-ATTRIBUTE method the attribute maximum characters which I could add is 1024, if longer then 1024, the attribute value will have previous attribute value.

Does anyone know attribute value maximun character length for acucobol v811?
Does anyone know attribute value maximun character length for acucobol v911?


If it has maximum value, is it possible to enlarge this value?
shjerpe originally wrote:
Yes, that is the limit, including the current version 9.1.1.



Looks it is also the limitation of "C$XML".
Attribute value length more than 1024 is very likely to happen ?!


Stephen Hjerpe
  • Participating Frequently
  • Nov 15, 2011 12:14 AM UTC

[Migrated content. Thread originally posted on 14 November 2011]

I use v811 acuCOBOL.

call "C$XML" using CXML-ADD-ATTRIBUTE
element-handle
"HAR"
WS-ATTR-DATA
1024.


I find CXML-ADD-ATTRIBUTE method the attribute maximum characters which I could add is 1024, if longer then 1024, the attribute value will have previous attribute value.

Does anyone know attribute value maximun character length for acucobol v811?
Does anyone know attribute value maximun character length for acucobol v911?


If it has maximum value, is it possible to enlarge this value?
It is not being considere at this time. You would need to contact Customer Care and request an enhancement.