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
 

 

DB2 Stored Proc using COBOL to generate an XML ???

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2
View previous topic :: :: View next topic  
Author Message
catchyblues

New User


Joined: 28 Dec 2005
Posts: 24

PostPosted: Wed Mar 21, 2007 6:27 pm    Post subject: DB2 Stored Proc using COBOL to generate an XML ???
Reply with quote

Can anyone help me how to proceed with this kind of a requirement....

I have to write db2 stored proc in Cobol to retrieve data from the table which will be returned through output parm as a varchar.....

n i need to process this varchar in Cobol to generate an XML....

any ideas/suggestions/help docs is highly appreciated....

Regards
CB
Back to top
View user's profile Send private message

William Thompson

Global Moderator


Joined: 18 Nov 2006
Posts: 3158
Location: Tucson AZ

PostPosted: Wed Mar 21, 2007 6:32 pm    Post subject:
Reply with quote

The Redbook "DB2 for z/OS Stored Procedures: Through the CALL and Beyond" (SG24-7083-00) would be a good place to start.
That and the ENTERPRISE COBOL Language Reference and Programming Guide for the XML stuff.
Back to top
View user's profile Send private message
catchyblues

New User


Joined: 28 Dec 2005
Posts: 24

PostPosted: Wed Mar 21, 2007 9:38 pm    Post subject:
Reply with quote

William, Can you please post me the links for the reference manual u've mentioned....

thanks in advance
Back to top
View user's profile Send private message
William Thompson

Global Moderator


Joined: 18 Nov 2006
Posts: 3158
Location: Tucson AZ

PostPosted: Wed Mar 21, 2007 10:00 pm    Post subject:
Reply with quote

catchyblues wrote:
Can you please post me the links for the reference manual u've mentioned....
Sorry, I didn't because I was just too lazy to bother..... icon_wink.gif
The Redbook "DB2 for z/OS Stored Procedures: Through the CALL and Beyond" (SG24-7083-00) is at http://www.redbooks.ibm.com/ and the ENTERPRISE COBOL Language Reference and Programming Guide are at http://ibmmainframes.com/manuals.php
Back to top
View user's profile Send private message
sandy_venkat

New User


Joined: 16 May 2007
Posts: 35
Location: India

PostPosted: Wed Jul 23, 2008 8:26 pm    Post subject:
Reply with quote

The second link was really helpful icon_cool.gif
Back to top
View user's profile Send private message
stodolas

Active Member


Joined: 13 Jun 2007
Posts: 632
Location: Wisconsin

PostPosted: Thu Jul 24, 2008 5:04 am    Post subject:
Reply with quote

After you fill your copybook, use the XML GENERATE syntax in Cobol, pretty quick
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 Executing OO COBOL program invoking J... Virendra Shambharkar COBOL Programming 2 Tue Jan 10, 2017 6:37 pm
No new posts OO COBOL compile error Virendra Shambharkar COBOL Programming 3 Tue Jan 10, 2017 6:05 pm
No new posts Need Suggestion on COBOL program vickey_dw COBOL Programming 5 Thu Jan 05, 2017 10:55 pm
No new posts Is the 'prompt' data for the DSLIST p... Willy Jensen TSO/ISPF 2 Tue Dec 06, 2016 4:38 am
This topic is locked: you cannot edit posts or make replies. RANDOM Function in COBOL swapnil781 COBOL Programming 2 Tue Nov 15, 2016 6:17 pm


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