Talk to an AS/400

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?
 
S

scorpion53061

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top