Albert worked with me via email and was really helpful. We are lucky that
even though he’s retired he checks his email.

I have to code some waits and Dow loops looking for the next screen to
arrive.

So everything is working now. Albert gave me some other things to try and
I’m sending him more logs. If he finds a bug in his API I will give him
access to my IBM I to test.

I remember working with him 10+ years ago when I first tried his API. He’s
still giving great support.

Thanks Albert

On Thu, Aug 9, 2018 at 9:52 AM Art Tostaine, Jr. <atostaine@xxxxxxxxx>
wrote:

Yes Albert, thank you. I'm trying :-). I don't know if any other people
go through this but the system people on the other side are uncooperative.
Actually that's too nice. They can be real jerks.

Art

On Thu, Aug 9, 2018 at 9:46 AM Albert York <alfromme@xxxxxxxxx> wrote:

Hi Art. This is Albert.

If you’re not able to get the developer to give you the information that
you requested then try using DSPFFD on the display file. It should give me
the information I need.

Thanks,

Albert

On Wednesday, August 8, 2018, Art Tostaine, Jr. <atostaine@xxxxxxxxx>
wrote:

I emailed Albert and he responded! That's great. I sent him my logs
and
he agrees what we are seeing is strange. He asked me to get info from
the
developer. Believe it or not the guy isn't cooperative and I doubt I'll
get the info Albert wants.

Art

On Wed, Aug 8, 2018 at 11:20 AM Art Tostaine, Jr. <atostaine@xxxxxxxxx>
wrote:

Thanks for the reply. I wonder if I'm having a problem because I am
using
TELNET to go to another system.
I tried changing the TNAPIFUNC to start to the other IP Address but
that
didn't work. I have to look at that some more.

Art

On Wed, Aug 8, 2018 at 10:43 AM Kevin Bucknum <
Kevin@xxxxxxxxxxxxxxxxxxx

wrote:

I had not used this before, but it looked interesting so I gave it a
try. I was able to get it into our main application and move around
without any major problems. I would have to get deep into something
to
get to a numeric field, so I threw together a small test and it works
for me. I did have to tweak TNAPIFUNC. It is hardcoded to 127.0.0.1
and
the box I am working on doesn't allow unnamed display connections.
This
looks interesting but it looks like I would have to know more about
the
5250 stream to use it for anything productive.

My test - https://code.midrange.com/3cbbfd852b.html





Kevin Bucknum
Senior Programmer Analyst
MEDDATA/MEDTRON
Tel: 985-893-2550

-----Original Message-----
From: RPG400-L [mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of
Art
Tostaine, Jr.
Sent: Tuesday, August 7, 2018 6:30 PM
To: RPG programming on the AS400 / iSeries
Subject: TNAPI (was Virtual Terminal API's)

Art Tostaine, Jr. <atostaine@xxxxxxxxx>
6:34 PM (32 minutes ago)
to RPG
With TNAPI I got through our login screen, typing TELNET to the
other
system, signing on there, and pressing enter a few times, but I
fail
once I get
to the first field in the user program. It's a menu and a 3 digit
numeric.

I tried SendtoLoc and also SendScrn but none of them are putting
003
in the
field.

Here is the log with some stuff removed.

R/T FUNCTIONS
Select: 000

##########################################################
######################
2018-08-07-19.02.05.328 SENT: 003

2018-08-07-19.02.05.355 RECV: 06,22 1 127.0.0.1
c XXX Inc.

Option can not be bl

ank||

I See the 003 being sent but it's not on the screen capture. Looks
like the
Enter is going. But the app says operation can't be blank. If I
runi
it manually I
can enter 003 and press enter and it works.

Thanks, Art

--
Art Tostaine
--
--
This is the RPG programming on the IBM i (AS/400 and iSeries)
(RPG400-L)
mailing list
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/rpg400-l.

Please contact support@xxxxxxxxxxxx for any subscription related
questions.

Help support midrange.com by shopping at amazon.com with our
affiliate
link: http://amzn.to/2dEadiD



--
Art Tostaine



--
Art Tostaine
--
This is the RPG programming on the IBM i (AS/400 and iSeries) (RPG400-L)
mailing list
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/rpg400-l.

Please contact support@xxxxxxxxxxxx for any subscription related
questions.

Help support midrange.com by shopping at amazon.com with our affiliate
link: http://amzn.to/2dEadiD

--
This is the RPG programming on the IBM i (AS/400 and iSeries) (RPG400-L)
mailing list
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/rpg400-l.

Please contact support@xxxxxxxxxxxx for any subscription related
questions.

Help support midrange.com by shopping at amazon.com with our affiliate
link: http://amzn.to/2dEadiD



--
Art Tostaine


This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2019 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].