Ask a Question related to ASP Database, Design and Development.
-
Vijay #1
dsn less connection to AS 400
Hi
How do I make a dsn less connection to AS 400
Thanks for your time and energ
Vijay
Vijay Guest
-
Net connection without Internet connection whoas
Hi does flash media server 2 require a connection to the internet i'm using the evaluation version on a computer which is not connected to the... -
"Contribute cannot verify your connection information."on a Local / Network connection
When I create a connection key and specify Local/Network for the website, then select the right folder, I get this error: "Contribute cannot... -
"Contribute cannot verify your connection information"- Every other problem ruled out, but still no connection
Hi, first, please allow me to give you the background info Client OS - Windows 2000/XP Pro Version - Contribute 2.01 - I installed the patch from... -
One NFS connection fine, one NFS connection slow
Ok, this is all a bit odd. I will draw an ascii picture and hope it survives in Google: sun server | .------mandrake... -
Have internet connection but not workgroup connection.
In article <Xns93B9BBF24CB33adfslur0mdoaur03jadl@207.46.248.16>, Frank Dreyfus <fdreyfus@nyw.com> wrote: I've written a web site that should help... -
Ray at #2
Re: dsn less connection to AS 400
Treat it just like any other data source. If you have OLEDB drivers for
DB2, use them. If you only have ODBC, use them. IBM's Client Access [even
Express] comes with both, and you can choose to just install the drivers on
your IIS server without installing the full CA application. One of the only
things I know to watch out for is to never end your queries with a ;. And
just think LIBRARY=database, FILE=table. Here is sample code using IBM's
OLEDB drivers:
sDB2String = "Provider=IBMDA400.DataSource.1;Persist Security
Info=False;User ID=AnAS400UserID;Password=ValidPassword;Data
Source=HOST_NAME_OR_AS_400_IP_ADDRESS;Catalog Library
List=LIBRARY1,LIBRARY2,LIBRARY3"
sDB2SQL = sDB2SQL & "SELECT LIBRARY1.FILE1.MEMBER1 FROM LIBRARY1.FILE1
WHERE LIBRARY1.FILE1.MEMBER2='some value'"
Set oDB2ADO = Server.CreateObject("ADODB.Connection")
oDB2ADO.Open sDB2String
Set SomeRecordset = oDB2ADO.Execute(sDB2SQL)
If Not SomeRecordSet.EOF Then TheResults = SomeRecordSet.GetRows()
SomeRecordSet.Close : Set SomeRecordSet = Nothing
oDB2ADO.Close
Set oDB2ADO = Nothing
Fully qualifying the files isn't necessary if you're only looking in one
library, but for illustration purposes, I qualified them and included a
library list in the connection string.
Ray at work
"Vijay" <anonymous@discussions.microsoft.com> wrote in message
news:D4DCEB6A-09B9-47AC-B8C5-6FF760AAFF35@microsoft.com...> Hi,
> How do I make a dsn less connection to AS 400?
> Thanks for your time and energy
> Vijay
Ray at Guest
-
Bullschmidt #3
Re: dsn less connection to AS 400
Able Consulting - ADO Connection String Samples
[url]http://www.able-consulting.com/ADO_Conn.htm[/url]
Best regards,
J. Paul Schmidt, Freelance ASP Web Developer
[url]http://www.Bullschmidt.com[/url]
ASP Design Tips, ASP Web Database Demo, Free ASP Bar Chart Tool...
*** Sent via Developersdex [url]http://www.developersdex.com[/url] ***
Don't just participate in USENET...get rewarded for it!
Bullschmidt Guest



Reply With Quote

