XMLGEN in Fild-Aid



Compuware's data management products: File-AID for IMS, File-AID/MVS, File-AID for DB2 and DBA-XPERT for DB2

XMLGEN in Fild-Aid

Postby Naveen@Uppi » Tue Apr 14, 2009 3:23 pm

Hi All,

Through the File-Aid option, then utilities then XMLGEN
I was able to convert my data file in to XML format data set.

Then i FTP the data set to my destkop.

Could any one let me how can i transfer the contents in the XML file to excel.
This option will help me in maping the copy book fields to the values int he data set.

Thanks and regards,
Naveen N
Naveen@Uppi
 
Posts: 36
Joined: Wed Jul 23, 2008 6:49 pm
Has thanked: 0 time
Been thanked: 0 time

Re: XMLGEN in Fild-Aid

Postby Naveen@Uppi » Tue Apr 14, 2009 3:26 pm

To add to the above issue:

if i open the FTP'ed XML file i am gettting the error message:

The XML page cannot be displayed
Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later.
--------------------------------------------------------------------------------

Invalid at the top level of the document. Error processing resource 'file:///X:Documenten/NAVEEN.XML'. Line 27, Posi...

</FILE>

Thanks and regards,
Naveen N
Naveen@Uppi
 
Posts: 36
Joined: Wed Jul 23, 2008 6:49 pm
Has thanked: 0 time
Been thanked: 0 time

Re: XMLGEN in Fild-Aid

Postby dick scherrer » Wed Apr 15, 2009 3:13 am

Hello,

What do you see if you open the file in notepad?
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6268
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 93 times

Re: XMLGEN in Fild-Aid

Postby Naveen@Uppi » Wed Apr 15, 2009 10:12 am

Hi,

I am able to see my data in the below XML format:

<?xml version="1.0"?>
<FILE DSN="DATA-SET Name[/b]">
<ABC-FILE-ROOT RECORD="00001">
<NUMBER>123456</NUMBER>
<ABC-NUMBER>272</ABC-NUMBER>
<ID>01</ID>
<BO-NUM>111111</BO-NUM>
</ABC-FILE-ROOT>
<ABC-FILE-ROOT RECORD="00002">
<NUMBER>234567</NUMBER>
<ABC-NUMBER>83162097</ABC-NUMBER>
<ID>01</ID>
<BO-NUM>512344</BO-NUM>
</ABC-FILE-ROOT>
<ABC-FILE-ROOT RECORD="00003">
<NUMBER>233444444</NUMBER>
<ABC-NUMBER>37383543</ABC-NUMBER>
<ID>01</ID>
<BO-NUM>111111</BO-NUM>
</FILE>

Thanks and regards,
Naveen N
Naveen@Uppi
 
Posts: 36
Joined: Wed Jul 23, 2008 6:49 pm
Has thanked: 0 time
Been thanked: 0 time

Re: XMLGEN in Fild-Aid

Postby dick scherrer » Wed Apr 15, 2009 10:21 am

Hello,

It appears that the fileaid and the ftp have run successfully (the mainframe processes).

I believe you need to speak with your local desktop support people as to how you can process the file on the pc.
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6268
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 93 times


Return to File-AID