I am trying to show a table of AS400 data on a web page. I have created a System DSN through the ODBC connections utility on IBM Client Access for Windows (you can specify a default User ID but no password??)
Then I reference this in an HTML page thus:
When I click the .html document the page with its title displays but no data.
How do I work out what I am doing wrong??
Then I reference this in an HTML page thus:
PHP Code:
<%
Set conn = Server.CreateObject("ADODB.Connection")
conn.open "Provider=IBMDA400;Data Source=MyAS400;User ID=S2518059;Password=blahblah;"
sql = "SELECT c4file, c4test from roboscript/scrfeld where c4srce = 'SABS'"
Set rs = Server.CreateObject("ADODB.Recordset")
set rs.ActiveConnection=conn
rs.Open sql
How do I work out what I am doing wrong??
Comment