Talk to an AS/400

  • Thread starter Thread starter Terry Olsen
  • Start date Start date
T

Terry Olsen

Has anyone used Sockets to talk to an AS/400? I don't need to display
anything, I just need to scrape data.

From QWS3270, after connecting, I type 'logoff' to get in through a back
door. With my VB app, I'm able to connect and receive the logon screen, but
no matter what I try, when I send 'logoff', I always get the logon screen
back.

I've tried converting the 'logoff' string to EBCDIC but when I do that, it
doesn't recognize that i've sent anything at all.

I've also tried turning on "trace" in QWS3270 and it dumps everything in
byte form that was sent to and received from the host. I've tried sending
exactly the same byte array that QWS3270 sends for the 'logoff' command
(it's in EBCDIC), but still get nothing back.

Has anyone been successful in communicating with an AS/400 in this manner?
 
Has anyone used Sockets to talk to an AS/400? I don't need to display
anything, I just need to scrape data.

From QWS3270, after connecting, I type 'logoff' to get in through a back
door. With my VB app, I'm able to connect and receive the logon screen, but
no matter what I try, when I send 'logoff', I always get the logon screen
back.

I've tried converting the 'logoff' string to EBCDIC but when I do that, it
doesn't recognize that i've sent anything at all.

I've also tried turning on "trace" in QWS3270 and it dumps everything in
byte form that was sent to and received from the host. I've tried sending
exactly the same byte array that QWS3270 sends for the 'logoff' command
(it's in EBCDIC), but still get nothing back.

Has anyone been successful in communicating with an AS/400 in this manner?

I know Dart has .NET controls to talk to vt100 emulation but you are
able to specify an emulation and write your own protocols for how to
handle events. I did this with an AIX system.

Also see
http://www.codeproject.com/vb/net/Accessing_AS400.asp

http://www.codeproject.com/vb/net/IBM_Messenger.asp

http://www.zephyrcorp.com/News/host_integration_objects_2006.htm
 
Back
Top