# PREDICT XML Access from NATURAL via USR3005N

**URL:** <https://techcommunity.softwareag.com/t/predict-xml-access-from-natural-via-usr3005n/173343>\
**Category:** Forum\
**Tags:** Adabas-Natural, Natural, Natural-Add-on-Products, Natural-Predict\
**Created:** [November 13, 2013, 9:08am UTC](https://techcommunity.softwareag.com/t/predict-xml-access-from-natural-via-usr3005n/173343 "2013-11-13T09:08:38Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Chris\_Mayor1](https://avatars.discourse-cdn.com/v4/letter/c/df788c/32.png) [@Chris\_Mayor1](https://techcommunity.softwareag.com/u/Chris_Mayor1)\
**Post date:** [November 13, 2013, 9:08am UTC](https://techcommunity.softwareag.com/t/predict-xml-access-from-natural-via-usr3005n/173343/1 "2013-11-13T09:08:38Z")

</div>

I have cross posted this query in several forums as it crosses a few boundaries, to maximise the responses, as my original query has been viewed 12 times without any replies.

I am attempting get to to grips with XML and the interface to PREDICT using USR3005N

I have looked at the example programs in SYSEXT etc and copied the code and modified some to my requirements.

However I am having trouble creating a conceptual file as I need to provide an OWNER for the file.  
I have attempted to code the XML but get the following error returned

Result returned from USR3005N

2894  
DIC2894 AT LEAST ONE OWNER MUST BE ADDED.  
OWNER is invalid

This is the start of XML code I have put together (Preview seems to strip out all indentations)

0440 COMPRESS  
0450 ‘’  
0460 ‘’  
0470 ‘’  
0500 ‘\<Object-type value=’‘FILE-C’’ OWNER=‘‘DBA’’/\>’  
0510 ‘’  
0520 ‘’  
0540 ‘\<Attribute name=’‘ID’’ value=‘‘CM-CONCEPTUAL-FILE-3-C’’/\>’  
0570 ‘\<Structure Name=’‘Abstract’‘\> ’  
0580 ‘\<Attribute Name=’‘Abstract-line’’’  
0590 ‘Value=’‘This file was’‘/\>’  
0600 ‘\<Attribute Name=’‘Abstract-line’’ Value=‘‘added by’’ /\>’  
0610 ‘\<Attribute Name=’‘Abstract-line’’ Value=‘’’  
0620 #LINE-WITHOUT-APOSTROPH ‘’‘/\>’  
0630 ‘\<Attribute Name=’‘Abstract-line’’ Value=‘‘of’  
0640 \*PROGRAM ‘’’/\>’  
0650 ‘’  
0660 ‘’  
0670 ‘’  
0680 ‘’

Can someone point out where I have gone wrong and/or point me at the documentation that will provide the answer, so I can understand whereI have gone wrong, as I have more work to do in this area.

I have studied the part on API USR3005N in the PREDICT Administration manual but still not sure what I have done wrong.

Thanks

==========================  
Your request should start with the following:

/\* ? Add your owner names here

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/techcommunity/original/3X/c/d/cd19967bb605d28a72d77eb83a1cae22f3df2eb8.svg) [@system](https://techcommunity.softwareag.com/u/system)\
**Post date:** [April 2, 2021, 3:29pm UTC](https://techcommunity.softwareag.com/t/predict-xml-access-from-natural-via-usr3005n/173343/2 "2021-04-02T15:29:48Z")

</div>


