Upload
cassidy-large
View
218
Download
0
Tags:
Embed Size (px)
Citation preview
BIS interface to Microsoft SQL Server
Wine on Line
By Marian Kruger
Content
• Introduction & background
• Installation & configuration
• Import SQL table
• Wine on Line Process
• Obstacles
BG 9Or
BG 11Program
Wine On Line BackgroundBEFORE
Installation & configuration
• Install and configure the BIS for Windows software on your server.
• Install the Unisys ODBC database driver software on the client system.
• Configure the ODBC data source by entering information about the System you are using.
Open Database Connectivity
SQL Data Source
Name or IP address
Login
CONNECTION – like a pipe
SQL Table
BG 9Or
BG 11Program
Wine On Line (eTradex)
SQL Table
BG 9Or
BG 11Program
View SQL Data
How to View a SQL table
• SQL
• PCME
• BIS Script
VIEW SQL TABLE
View Specific Data
View SQL table via PCME
View SQL table via BIS Script
SQL Table
Import Process
Temp Report
BG 9Or
BG 11Program
Wine On Line in BIS environment
BIS Screen
BIS database
SQL table
Obstacles - syntax
• @SQL[,lab,edsp?,c,d,cstat,db] 'syntax'[,c,d,r,sel,sq] vstat[,vcol,vretn,vretn,...vretn]
• 'syntax'
Error Messages
Example of @SQL statement
Obstacles – syntax solution
• CREATE AN OBJECT(Parameter Report with the SQL)
• EXCECUTE OBJECT@SQL,210,y,<cab>,<drw>,,WOL_INT '',52,g,300 <msg>s80 .
SQL syntax
Obstacles – limit
• @SQL[,lab,edsp?,c,d,cstat,db] 'syntax'[,c,d,r,sel,sq] vstat[,vcol,vretn,vretn,...vretn]
• vretnUp to 38 variables to pass information to or receive information from the relational database.
Obstacles – limit solution
• To import a SQL table use
• @FCH[,c,d,lab,o,adj,skip,q,edsp?,wrap,info,vert,sort,nchar,dst,sp,db,fs] 'id col tbl [Where clause]'[,c,d,r,sel] [vstat,vcol,vqty] .
SQL Table
Import Process
Temp Report
BG 9Or
BG 11Program
Wine On LineBEFOREAFTER
Thanxs
Have a great day