C# declaration statements for iSeries | Bytes (2024)

Home Posts Topics Members FAQ

bebek_tetangga

The following code is provided by cwbx.hlp for VBA. Does anyone have
the same declaration statements for C#? I'm interested in the
equivalent of the dlr.Query.Selec t VBA statement in particular. C#
prevents me from using IcwbxDatabaseQu erySettings (abstract class) and
DatabaseQuerySe ttings (protected)... Thanks!!!

Dim systemNames As New cwbx.systemName s
Dim dt As New cwbx.DatabaseTr ansfer
Dim as400 As New cwbx.AS400Syste m
Dim dlr As New cwbx.DatabaseDo wnloadRequest
as400.Define systemNames.Def aultSystem
Set dlr.System = as400
dlr.AS400File = "qiws/qcustcdt"
dlr.pcFile = "c:\qcustlst.tx t"
dlr.Query.Selec t = "LSTNAM"
dlr.SaveRequest "c:\qcustlst.dt f"
dt.UserID = "me"
dt.Password = "secret"
dt.Transfer "c:\qcustlst.dt f"
dt.UserID = ""
dt.Password = ""
dt.Transfer "c:\qcustlst.dt f"

Jul 19 '07 #1

Subscribe Reply

0 C# declaration statements for iSeries | Bytes (1) 1663 C# declaration statements for iSeries | Bytes (2)

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6 7787

PHP and iSeries

by: Thad Rizzi |last post by:

My webserver is an iSeries and I want to run some PHP scripts on it using SQL to access data on the iSeries. Does anyone have any exapmles or resources on the most effective way to do this? I am rather green with PHP. Any help would be appreciated, Thad Rizzi

PHP

83 6479

variable declaration

by: Alexander Zatvornitskiy |last post by:

Hello All! I'am novice in python, and I find one very bad thing (from my point of view) in language. There is no keyword or syntax to declare variable, like 'var' in Pascal, or special syntax in C. It can cause very ugly errors,like this: epsilon=0 S=0 while epsilon<10: S=S+epsilon

Python

4 7688

Data moving from iSeries to DB2 UDB

by: erkki |last post by:

Hi, I have to move iSeries library to new DB2 database. Is there any easier way to do this moving operation than exporting all tables in iSeries into text files and then import them into DB2 Express? I am looking for same kind of function like db2move between two DB2 databases.

DB2 Database

1 14921

IBM.Data.DB2.iSeries database access problem

by: Yanik Reid |last post by:

When I run the following vb.net code, I'm not able to acces the my database AMFLIB. I use to be able to access AMFLIB with the old ODBC driver from IBM iSeries Access but now I want to use the new managed IBM.Data.DB2.iSeries data provider from iSeries Access V5R3. When I remove Database=AMFLIB from the connection string, I can connect but as soon as I try to specify a known database (like my good old AMFLIB) I get the following error:

DB2 Database

17 7159

ERWin data modeler, iSeries DB2 reverse engineering error

by: Sulu's Beard |last post by:

Hey gang, I'm evaluating the CA ERWin product for an upcoming data warehousing project. I'm most excited about the reverse engineering aspect of this system. I've sucessfully tested it on a SQL Server 2000 system, however, when I run it against our iSeries DB2 system (on which our ERP exists), I encounter errors that essentially say that files are missing from our SYSCAT library. I'm not an iSeries expert, but I can say that the

DB2 Database

9 1500

Name of the part after the declaration list in a block in C89

by: Michael Mair |last post by:

Hello, in C89 (at least in the last public draft), "3.6.2 Compound statement, or block", we have ,--- | Syntax | | compound-statement: | { declaration-list<opt> statement-list<opt> }

C / C++

7 2052

Position of declaration statements

by: Peter Merwood |last post by:

Hi I've been coding in VB for a good number of years and have recently made the switch to VB.NET. When coding I put all my declaration/Dim statements at the beginning of the Sub or Function before any "real" code. VB.NET lets you scatter declaration statements throughout a Sub or Function and it seems even have conditional declaration statements, ie; If x = "something" then dim y as Integer

Visual Basic .NET

3 4062

Connecting DB2/400 through iSeries Access drivers or DB2 Connect, which's more efficent?

by: Laurence |last post by:

Hi there, Does somebody know the efficent way to connect DB2/400? Through iSeries Access ODBC/OLEDB driver or DB2 Connect? Which will more fast and efficent? In addition, does DB2 Connect use APPC over TCP/IP protocol? Or SNA protocol?

DB2 Database

22 2281

Variable declaration and initialisation

by: James Brodie |last post by:

I just wanted to get some advice on what are the better practices: 1) Should variables be declared at the beginning of a function or just before they are required? 2) Should all variabled be initiailised immediately after declaration? Thanks

C / C++

8323

Changing the language in Windows 10

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,...

Windows Server

8739

Maximizing Business Potential: The Nexus of Website Design and Digital Marketing

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...

Online Marketing

1 8513

The easy way to turn off automatic updates for Windows 10/11

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,...

Windows Server

8613

Discussion: How does Zigbee compare with other wireless protocols in smart home applications?

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...

General

7351

AI Job Threat for Devs

by: agi2029 |last post by:

Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...

Career Advice

1 6176

Access Europe - Using VBA to create a class based on a table - Wed 1 May

by: isladogs |last post by:

The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...

Microsoft Access / VBA

5638

Couldn’t get equations in html when convert word .docx file to html file in C#.

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();...

C# / C Sharp

4329

Windows Forms - .Net 8.0

by: adsilva |last post by:

A Windows Forms form does not have the event Unload, like VB6. What one acts like?

Visual Basic .NET

2 1732

Comprehensive Guide to Website Development in Toronto: Expert Insights from BSMN Consultancy

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...

General

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

To disable or enable advertisem*nts and analytics tracking please visit the page.

C# declaration statements for iSeries | Bytes (2024)

References

Top Articles
Latest Posts
Article information

Author: Prof. Nancy Dach

Last Updated:

Views: 6584

Rating: 4.7 / 5 (77 voted)

Reviews: 92% of readers found this page helpful

Author information

Name: Prof. Nancy Dach

Birthday: 1993-08-23

Address: 569 Waelchi Ports, South Blainebury, LA 11589

Phone: +9958996486049

Job: Sales Manager

Hobby: Web surfing, Scuba diving, Mountaineering, Writing, Sailing, Dance, Blacksmithing

Introduction: My name is Prof. Nancy Dach, I am a lively, joyous, courageous, lovely, tender, charming, open person who loves writing and wants to share my knowledge and understanding with you.