Welcome to MSDN Blogs Sign in | Join | Help

September 2006 - Posts

Host file Type Assemblies - Data types Mapping

For files on AS400 you may use Data type mappings like : Assembly Type Host Type A (Char) String P (Packed-decimal) Decimal F 8 (Float) Double F 4 (Float) Single 3P 0(Packed-decimal) Boolean 3P 0(Packed-decimal) Byte T (Time) *ISO DateTime Z (Timestamp)
Posted by asmitaw | 0 Comments

using GetSchema() for columns collection in schema

GetSchema(<schema name>), using the schema mapping name of the table. e.g. try { //Create connection HostFileConnection cn = new HostFileConnection(); cn.ConnectionString = cnstring; cn.Open(); DataTable dtcn2 = cn.GetSchema( "Tables" ); a = 0;
Posted by asmitaw | 0 Comments

using GetSchema() for columns collection in schema

GetSchema(<schema name>), using the schema mapping name of the table. e.g. try { //Create connection HostFileConnection cn = new HostFileConnection(); cn.ConnectionString = cnstring; cn.Open(); DataTable dtcn2 = cn.GetSchema( "Tables" ); a = 0;
Posted by asmitaw | 0 Comments

SNA Traces while using Host file provider

You might want to use Trace tools , so that the debugging on Host side can be simulated and IDC messages thrown by the Host can be seen. To use SNA Traces , use the SNA Tools - Turn following traces ON : SNAServer SNADDM Service
Posted by asmitaw | 0 Comments

An internal network library error has occurred. The requested command was rejected as invalid by the target system.

Appears while using MSHostFileClient. : This error occures when SNA server IP-DLC Link service is not configured correct. The Parameter Network Name might be incorrectly spelled. It can also be because the File specified in Host column specified is invalid
Posted by asmitaw | 0 Comments
 
Page view tracker