Skip to main content

CXML-ADD-ATTRIBUTE attribute length limitation?

  • November 14, 2011
  • 3 replies
  • 0 views

[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
  • 1100 replies
  • November 14, 2011

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

  • Author
  • Rocketeer
  • 19312 replies
  • November 14, 2011

[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
  • 1100 replies
  • November 15, 2011

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