Skip to main content

[archive] occurs number for XML data

  • May 2, 2008
  • 6 replies
  • 0 views

[Migrated content. Thread originally posted on 01 May 2008]

We?re creating interface for processing XML data files. Using xml2fd utility and AcuXML we already can receive and process XML data in particular format. However we have a few problems.

First one that I see is related to field occurs number. We have binary sequential file FD built with xml2fd with some fields occurs > 1. When we have corresponding fields in XML data with occurrence >1 the data is passing well, however if such fields in XML data file occurs only ones the data from the fields doesn?t pass.

In XML data files that we going to receive these fields could appear one or more times or don?t appear at all. What could cause the situation and how to resolve it?

Thanks

6 replies

[Migrated content. Thread originally posted on 01 May 2008]

We?re creating interface for processing XML data files. Using xml2fd utility and AcuXML we already can receive and process XML data in particular format. However we have a few problems.

First one that I see is related to field occurs number. We have binary sequential file FD built with xml2fd with some fields occurs > 1. When we have corresponding fields in XML data with occurrence >1 the data is passing well, however if such fields in XML data file occurs only ones the data from the fields doesn?t pass.

In XML data files that we going to receive these fields could appear one or more times or don?t appear at all. What could cause the situation and how to resolve it?

Thanks
I'd do a search on here and get Acucorp's XML example.
It helped me greatly when I first started processing XML.
you can load your own xml file into the program for dispaly purposes and see what it does.

[Migrated content. Thread originally posted on 01 May 2008]

We?re creating interface for processing XML data files. Using xml2fd utility and AcuXML we already can receive and process XML data in particular format. However we have a few problems.

First one that I see is related to field occurs number. We have binary sequential file FD built with xml2fd with some fields occurs > 1. When we have corresponding fields in XML data with occurrence >1 the data is passing well, however if such fields in XML data file occurs only ones the data from the fields doesn?t pass.

In XML data files that we going to receive these fields could appear one or more times or don?t appear at all. What could cause the situation and how to resolve it?

Thanks
I'd do a search on here and get Acucorp's XML example.
It helped me greatly when I first started processing XML.
you can load your own xml file into the program for dispaly purposes and see what it does.

[Migrated content. Thread originally posted on 01 May 2008]

We?re creating interface for processing XML data files. Using xml2fd utility and AcuXML we already can receive and process XML data in particular format. However we have a few problems.

First one that I see is related to field occurs number. We have binary sequential file FD built with xml2fd with some fields occurs > 1. When we have corresponding fields in XML data with occurrence >1 the data is passing well, however if such fields in XML data file occurs only ones the data from the fields doesn?t pass.

In XML data files that we going to receive these fields could appear one or more times or don?t appear at all. What could cause the situation and how to resolve it?

Thanks
We did work with several Acucorp samples and it's worked perfectly. Maybe our present problem is due the situation that we have to process re-occuring fields with more than one subscript ?

Thanks

[Migrated content. Thread originally posted on 01 May 2008]

We?re creating interface for processing XML data files. Using xml2fd utility and AcuXML we already can receive and process XML data in particular format. However we have a few problems.

First one that I see is related to field occurs number. We have binary sequential file FD built with xml2fd with some fields occurs > 1. When we have corresponding fields in XML data with occurrence >1 the data is passing well, however if such fields in XML data file occurs only ones the data from the fields doesn?t pass.

In XML data files that we going to receive these fields could appear one or more times or don?t appear at all. What could cause the situation and how to resolve it?

Thanks
It sound like your XML files are more suitable for processing by the C$XML library routine, rather than AcuXML. There is a sample program here: http://www.acucorp.com/support/public/sample_programs/index.php
It is in C$XML.zip under General Programming Techniques.

[Migrated content. Thread originally posted on 01 May 2008]

We?re creating interface for processing XML data files. Using xml2fd utility and AcuXML we already can receive and process XML data in particular format. However we have a few problems.

First one that I see is related to field occurs number. We have binary sequential file FD built with xml2fd with some fields occurs > 1. When we have corresponding fields in XML data with occurrence >1 the data is passing well, however if such fields in XML data file occurs only ones the data from the fields doesn?t pass.

In XML data files that we going to receive these fields could appear one or more times or don?t appear at all. What could cause the situation and how to resolve it?

Thanks
It wasn't advised to use C$XML for big data files, such as we going to work with (hundreds of records, each records with hundreds of fields and the fields are up to 4000 characters). It was the matter why we develop the project with AcuXML and it does work, however not showing one time accruing data in the fields with multiple occurrences.
Thanks.

[Migrated content. Thread originally posted on 01 May 2008]

We?re creating interface for processing XML data files. Using xml2fd utility and AcuXML we already can receive and process XML data in particular format. However we have a few problems.

First one that I see is related to field occurs number. We have binary sequential file FD built with xml2fd with some fields occurs > 1. When we have corresponding fields in XML data with occurrence >1 the data is passing well, however if such fields in XML data file occurs only ones the data from the fields doesn?t pass.

In XML data files that we going to receive these fields could appear one or more times or don?t appear at all. What could cause the situation and how to resolve it?

Thanks
It wasn't advised to use C$XML for big data files, such as we going to work with (hundreds of records, each records with hundreds of fields and the fields are up to 4000 characters). It was the matter why we develop the project with AcuXML and it does work, however not showing one time accruing data in the fields with multiple occurrences.
Thanks.