473,750 Members | 2,668 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

MF DB2 Stored Procedure Call from SSIS 2005

2 New Member
I am trying to call a mainframe cobol DB2 Stored Procedure from an SSIS 2005 SQL Task in BIDS. I believe that privileges and the number of parameters (6) are fine. I've tried casting and still have no luck. The error is SQL0440N. I am running with DB2 Client 8.2.4. The sql call in BIDS looks like...

call ODW.ODWCY002 ('TN',cast '43','04/20/2006',0,' ',' ')

the linkage section in the cobol sp looks like...

01 LK01-ODW-ST-CD PIC X(02).
01 LK01-ODW-ST-CD-NBR PIC X(02).
01 LK01-ODW-PROCD-DT PIC X(10).
*************** *************** ***************
RETURN VARIABLES TO CALLING ROUTINE
*************** *************** ***************
01 LK01-ODW-SQLCODE PIC S9(09).
01 LK01-ODW-ABORT-PARA PIC X(04).
01 LK01-ODW-ABORT-TEXT PIC X(04).


does anyone have a clue?

5/24/6 i am getting the same problem when running...
a) vb.net, oledb connection under ssis script task
b) vb.net, DB2 connection under ssis script task
c) vb.net, no ssis, console app, vs 2005, db2 connection
d) c#, no ssis, console app, db2 connection
May 19 '06 #1
0 5307

Sign in to post your reply or Sign up for a free account.

Similar topics

2
5728
by: Caro | last post by:
I have a stored procedure spGetAccessLogDynamic and when I try to call it I get the following error: Server: Msg 2812, Level 16, State 62, Line 1 Could not find stored procedure 'S'. I dont know why because I dont have anything refering to stored procedure 'S' I have ran my SQL String with sample values and it works fine. So I
2
2888
by: Crazy Cat | last post by:
Using Visual Basic .NET and SQL Server 2005 I attempt to add a query that is a call to a stored procedure in the DataSet Designer. The TableAdapter Query Configuration wizard finds my stored procedure fine but generates the following error when I attempt to add the query Invalid object name '#temp'.
6
3758
by: jobs | last post by:
Im writing an SSIS script task using VB.NET. I'd like to be able to initiate an oracle stored procedure call for a process that will run for 8 hours, but I don't want my process to wait for it finish. In fact, I'd like the ssis job to terminate after it launches it. How can I do this using vb.net/ado.net? How can I later electronically locate and track that process? Thanks for any help or information.
1
3345
by: jobs | last post by:
I have a growning list of stored procedures that accept a single string as a parameter. The list and parameters are maintained in a table with two columns. Some of the Stored procedures take hours to complete. procedures and the page come right back and recording infomation about the stored procedure (like a job number) that can later be used to report what stored procedures are still running.
9
10504
by: gelangov | last post by:
I have 2 variables, one is the column name of the table and the other one is the table name and I need to write this in the "Execute SQL task" of a "For each loop" container in a ssis package like this: Truncate table <tableName> Insert into <tableName> Exec (' select from '+ ?) It gives me error message when I try run the ssis. However if I put the above statements into a stored procedure and wrote look this, it
1
4380
by: leofdz | last post by:
I tried calling an AS400 stored procedure in SSIS using an execute sql task. The task started executing but never completes and I am not getting any error messsage. There is no problem with AS400 stored proc. I used ADO.Net - ODBC connectivity to connect to AS400 server using IBM client access driver. Please let me know if there is any way to call an AS400 stored proc.
3
4146
by: gopi2ks | last post by:
Dear All, I have one stored procedure like sp_insertEmployee Employee Table Fileds Eno int pk, ename varchar(100), designation varchar
13
457
by: JJ297 | last post by:
Can someone help me get the right data out... I want to compare last weeks Table Diary9-22 to this weeks Table Diary9-29 to see if the same PAN (field name) are in both records How would I write this?
9
1742
by: JJ297 | last post by:
Plamen Ratchev helped me at this post: http://groups.google.com/group/comp.databases.ms-sqlserver/browse_thread/thread/a57716c65bc21a2f# You mentioned this: You can still keep all weekly data in one table, just need an extra column to store the week start date. That will make the system a lot more flexible (and you do not have to create a new table every week). Right now you have to change your queries every week to reflect the table...
0
9000
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8838
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9396
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9339
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9256
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
6081
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4713
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
3322
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2225
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.