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

Convert rows and column into JSON format.


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

New User


Joined: 17 Mar 2008
Posts: 17
Location: India

PostPosted: Sun Sep 03, 2017 6:50 pm
Reply with quote

Hello all....

I need to convert the rows and columns fetched from SELECT into JSON format.
SQL Server seems to have FOR JSON to perform this operation. Googled but could not find any appropriate result.

Need something like attached image.

Thanks in advance!
Dinesh
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10903
Location: italy

PostPosted: Sun Sep 03, 2017 8:18 pm
Reply with quote

googling with db2 json data import export
returned about 350000 hits

why not keep searching Yourself ?
Back to top
View user's profile Send private message
Rohit Umarjikar

Global Moderator


Joined: 21 Sep 2010
Posts: 3109
Location: NYC,USA

PostPosted: Tue Sep 05, 2017 9:31 pm
Reply with quote

Use a SQL interface to handle JSON data in DB2 11 for z/OS
Back to top
View user's profile Send private message
View previous topic : : View next topic  
Post new topic   Reply to topic All times are GMT + 6 Hours
Forum Index -> DB2

 


Similar Topics
Topic Forum Replies
No new posts Convert CSV to flat file. DFSORT/ICETOOL 6
No new posts convert arbitrary UTC to local (SYD) ... COBOL Programming 1
No new posts Extract ISPF table column headings CLIST & REXX 2
No new posts Convert Service Unit to CPU Seconds All Other Mainframe Topics 1
No new posts Date format correction using dfsort DFSORT/ICETOOL 3
Search our Forums:


Back to Top