Skip to main content

[archive] Pass XML strings between cobol programs

  • August 27, 2009
  • 2 replies
  • 0 views

[Migrated content. Thread originally posted on 27 August 2009]

Hi there,

We are new to Acucobol and XML. Is there a way to read a series of vision records and create an XML string (not file) that represents the vision records in an xml format ?

Hope someone can point us in the right direction.

Thanks in advance

J

2 replies

[Migrated content. Thread originally posted on 27 August 2009]

Hi there,

We are new to Acucobol and XML. Is there a way to read a series of vision records and create an XML string (not file) that represents the vision records in an xml format ?

Hope someone can point us in the right direction.

Thanks in advance

J
If you are running in a windows environment you can use the msxml.dll and make API calls to build an xml string. Create a MSXML50.DEF file and make calls to build the xml string. We are still at Acu version 6.1.0 so we had no other option, I think in 7.0 and higher you have more options with regards to xml.

[Migrated content. Thread originally posted on 27 August 2009]

Hi there,

We are new to Acucobol and XML. Is there a way to read a series of vision records and create an XML string (not file) that represents the vision records in an xml format ?

Hope someone can point us in the right direction.

Thanks in advance

J
Thanks for the response. We are currently experimenting with 8.1. I cannot see in the doco the ability to create XML strings but we can do XML files easily. I will continue to investigate and post back if I have any luck.

If anyone else has been able to create XML strings please give us a shout. Thank-you.