If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > VAGEN - Smalltalk DB2 migration to Visual Studio 2005 DB2

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 08-07-06, 12:37
arsaral arsaral is offline
Registered User
 
Join Date: Aug 2006
Posts: 1
VAGEN - Smalltalk DB2 migration to Visual Studio 2005 DB2

Hi everybody there,

I am trying to convert IBM VAGEN - SMALLTALK programs and DB2 embedded SQL to Visual Studio 2005 and DB2.

The transact - SQL statements embedded into the SERVER side VAGEN ST codes are like:
EXEC SQL DECLARE crs_smt_Siq8_ CURSOR FOR
SELECT CSIRKOD, CYILKOD, CAYKODU, CBASTAR, CBITTAR, CKAPEND, CDEVBRC, CDEVALC, CMADDNO, CDONDZS, CSONYEV, CKISTAR, CDONADI, CTSTAMP
FROM TTAKVIM T1
WHERE CSIRKOD = :*hvTTAKVIM_EZE17_
AND (CYILKOD CONCAT CAYKODU) < :*hvTGECDOND_CTARIH_

ORDER BY 2 DESC ,3 DESC
;
I need to find how VS2005 may do this...

What I am looking for is not a STRORED PROCEDURE...
But an embedded transact-SQL if it exists at all...

Any help is warmly appreciated... Thank you for your vigil attention.


Kind regards.

Ali Riza SARAL
Ali R+ SARAL
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On