IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Populate XML file from DB2


IBM Mainframe Forums -> DB2
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
kanish

New User


Joined: 02 Jan 2006
Posts: 10

PostPosted: Tue Mar 14, 2006 12:13 pm
Reply with quote

Hi all,

I want to write XML file but the data is to be supplied from fetching rows from DB2 table.

Has anybody worked on such type of tasks?

Please let me know ASAP.

Thanks,
Kanish
Back to top
View user's profile Send private message
martin9

Active User


Joined: 01 Mar 2006
Posts: 290
Location: Basel, Switzerland

PostPosted: Tue Mar 14, 2006 2:52 pm
Reply with quote

hy kanish,

if you write a xml does not matter,
it will be a sequential text file as output.
but what is now your actual question.
how to write such db2 statements or
how to write a file as xml?

martin9
Back to top
View user's profile Send private message
kanish

New User


Joined: 02 Jan 2006
Posts: 10

PostPosted: Fri Mar 17, 2006 4:24 pm
Reply with quote

Thx Martin,

I got it.

I need to write data fetched frm DB2 table directly to a flat file with all the hardcoded values resembling XML file.This flat file having all XML contents will then be encrypted using Megaencryption.

Kanish.
Back to top
View user's profile Send private message
martin9

Active User


Joined: 01 Mar 2006
Posts: 290
Location: Basel, Switzerland

PostPosted: Fri Mar 17, 2006 6:29 pm
Reply with quote

hy kanish,

a xml is always a flat file, on all systems...

martin9
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> DB2

 


Similar Topics
Topic Forum Replies
No new posts Compare 2 files and retrive records f... DFSORT/ICETOOL 3
No new posts FTP VB File from Mainframe retaining ... JCL & VSAM 8
No new posts Extract the file name from another fi... DFSORT/ICETOOL 6
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts Populate last day of the Month in MMD... SYNCSORT 2
Search our Forums:

Back to Top