MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Regarding: ROWID & CLOB-LOCATOR

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Application Programming
View previous topic :: View next topic  
Author Message
ramu_mohan21
Beginner


Joined: 29 Jun 2004
Posts: 106
Topics: 41
Location: Bangalore, INDIA

PostPosted: Thu Nov 17, 2005 9:52 am    Post subject: Regarding: ROWID & CLOB-LOCATOR Reply with quote

HI Board,

We have a DB2 table consisting of Columns as type ROW-ID and CLOB. When we generated DCLGEN with Language COBOL option we got

    10 ROW-ID USAGE SQL TYPE IS ROWID.
    10 SAVE-AREA USAGE SQL TYPE IS CLOB-LOCATOR.


Can we have ROWID and CLOB-LOCATOR types in COBOL. If yes how can we use ROWID while inserting a new row in that table?
_________________
Best Regards,
----------------
Rammohan Pabba
Software Engineer
Back to top
View user's profile Send private message Send e-mail
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12378
Topics: 75
Location: San Jose

PostPosted: Thu Nov 17, 2005 11:18 am    Post subject: Reply with quote

ramu_mohan21,


Check this link for a detailed explanation of Determining equivalent SQL and COBOL data types

http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/DSNAPH11/2.4.3.7?SHELF=&DT=20010710165542&CASE=


Check this link for a detailed explanation about Inserting data into a ROWID column

http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/DSNAPH11/1.2.3.1.2?SHELF=&DT=20010710165542&CASE=


Check this link for a detailed explanation of Programming for large objects (LOBs)

http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/DSNAPH11/3.2?DT=20010710165542

Hope this helps...

Cheers

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
ramu_mohan21
Beginner


Joined: 29 Jun 2004
Posts: 106
Topics: 41
Location: Bangalore, INDIA

PostPosted: Thu Nov 17, 2005 12:33 pm    Post subject: Reply with quote

Thanks Kolusu. This helps me alot.
_________________
Best Regards,
----------------
Rammohan Pabba
Software Engineer
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Application Programming All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group