|
|
| Author |
Message |
catchyblues
New User
Joined: 28 Dec 2005 Posts: 26
|
|
|
|
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 |
|
 |
References
|
Posted: Wed Mar 21, 2007 6:27 pm Post subject: Re: DB2 Stored Proc using COBOL to generate an XML ??? |
 |
|
|
 |
William Thompson
Global Moderator
Joined: 18 Nov 2006 Posts: 2975 Location: Tucson AZ
|
|
|
|
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 |
|
 |
catchyblues
New User
Joined: 28 Dec 2005 Posts: 26
|
|
|
|
William, Can you please post me the links for the reference manual u've mentioned....
thanks in advance |
|
| Back to top |
|
 |
William Thompson
Global Moderator
Joined: 18 Nov 2006 Posts: 2975 Location: Tucson AZ
|
|
|
|
| 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.....
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 |
|
 |
sandy_venkat
New User
Joined: 16 May 2007 Posts: 27 Location: India
|
|
|
|
The second link was really helpful  |
|
| Back to top |
|
 |
stodolas
Senior Member
Joined: 13 Jun 2007 Posts: 646 Location: Wisconsin
|
|
|
|
| After you fill your copybook, use the XML GENERATE syntax in Cobol, pretty quick |
|
| Back to top |
|
 |
|
|