|
If you create a file named TNAPILOG with a record length of 80 bytes, the
screens will be logged automatically, although the attributes are not logged
You don't need to use UDDS to apply the attributes. Just create an output
field of 1919 bytes to contain the screen data. Scan thru the attribute
bytes and when there is a change, insert that byte in the corresponding
position in the output field.
If you need more help contact me off line.
Albert York
-----Original Message-----
From: Goodbar, Loyd (AFS-Water Valley)
[SMTP:LGoodbar@afs.bwauto.com]
Sent: Wednesday, July 03, 2002 12:05 PM
To: 'midrange-l@midrange.com'
Subject: Displaying TNAPI screens in full glory
This message is in MIME format. Since your mail reader does not
understand
this format, some or all of this message may not be legible.
--
[ Picked text/plain from multipart/alternative ]
I've written my first program to utilize TNAPI, and it works great.
Since
this program will run interactively, I would like to view the
screens
returned from TNAPI.
I am able to view the ParmScrnChar through an invited display file
(so it
automatically times out in 2 seconds), but it is plain text only
with no
attributes.
How can I apply the attributes in ParmScrnAttr also?
Currently I'm just using a display file with a 1919 field and using
%subst(ParmScrnChar:2) to view it correctly. I'm not worried about
losing
screen position 1:1. Would this involve UDDS? I've never fooled with
UDDS or
displaying data other than UIM and display files.
Thanks,
Loyd
--
Loyd Goodbar
Programmer/analyst
BorgWarner Incorporated
Air/Fluid Systems, Water Valley, MS
_______________________________________________
This is the Midrange Systems Technical Discussion (MIDRANGE-L)
mailing list
To post a message email: MIDRANGE-L@midrange.com
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/cgi-bin/listinfo/midrange-l
or email: MIDRANGE-L-request@midrange.com
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.