Define your username as
dim username as string * 10
username = string(10," ")
the above statement will fill all 10 character with valid spaces.
if you do not do that, and your username is less that 10 character long, visual basic fills the rest of the length with carbage.
be...
Below is a program in RPG (SQLRPGLE) that i am using and that works 100%. I am using the input paramter as a perameter for my SQL selection criteria. This program runs for about a second on a 750 000 record file. We are running an entry level iseries 820.
The sql message codes print on error...
Public as400 As New cwbx.AS400System
Public pgm As New cwbx.Program
Public cmd As New cwbx.Command
Public param1 As New cwbx.ProgramParameters
Public as400systems As New cwbx.SystemNames
Public strCvtr As New cwbx.StringConverter
On Error GoTo RunProg
as400.Define...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.