Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Populate XML file from DB2

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2
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    Post subject: Populate XML file from DB2
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: 287
Location: Basel, Switzerland

PostPosted: Tue Mar 14, 2006 2:52 pm    Post subject:
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    Post subject: Re: Populate XML file from DB2
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: 287
Location: Basel, Switzerland

PostPosted: Fri Mar 17, 2006 6:29 pm    Post subject:
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    IBMMAINFRAMES.com Support Forums -> DB2 All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Changing of LRECL of a file abdulrafi DFSORT/ICETOOL 1 Fri Mar 24, 2017 3:25 pm
No new posts splitting a file abdulrafi DFSORT/ICETOOL 3 Fri Mar 24, 2017 11:51 am
No new posts Receive a file using PCOMM macro Harald.v.K IBM Tools 0 Thu Mar 23, 2017 6:50 pm
No new posts Export flat file data into excel sheet murali.andaluri DFSORT/ICETOOL 2 Mon Mar 20, 2017 5:39 pm
No new posts Formatting VB File Learncoholic DFSORT/ICETOOL 3 Mon Mar 20, 2017 12:29 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us