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 Adminstration manual but still not sure what I have done wrong.
Thanks