× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Thanks for the info.
I don't know the client's other emulator. I can ask if you care.

You were right:
void tn5250_session_write_display_structured_field(...)
{
  /*
    This order is not really implemented.  We just do enough to checking so
    we can handle data stream errors.
  */
(...)
}

And quoting from IBM:
"Writing data to an entry field or initializing an entry field is complicated 
(...)"
eheh

I'm new to tn5250 code but I guess I have to look into that. I'll check how to 
do the same kind of fix. But having no access to an AS/400 is really miserable.

M-A


-----Original Message-----
From: MarkB@xxxxxxxxxx [mailto:MarkB@xxxxxxxxxx]
Sent: 21 juillet, 2003 14:18
To: Linux 5250 Development Project
Subject: Re: [LINUX5250] Field mask

I don't want to speak on behalf of tn5250, but having written an emulator
of my own I may be able to shed some light on this topic.

Warning: The following is a bit of a guess.

Certain command or "Order" implementations are optional:
http://publib.boulder.ibm.com/cgi-bin/bookmgr/BOOKS/CO2E2001/15.6.3
I beleive it is a subcommand of the "Write To Display Structured Field
Order" which is responsible for setting up a field with field masks.

These commands are not required and a pain to implement. Therefore they are
missing from several emulators.

I have used some little tricks in my own emulator to avoid implementing
these commands.
One is, if there are any illegal characters in a field (such as '/' which
is illegal in a Numeric field), I just assume they must be
seperators/masks.

Just my two cents.

Which emulators do you have that it works in? Client Access and ___ ?

-Mark



                                                                                
                                                        
                      "Marc-Antoine Ruel"                                       
                                                        
                      <maruel@xxxxxxxxxxx        To:       "Linux 5250 
Development Project" <linux5250@xxxxxxxxxxxx>                    
                      .com>                      cc:                            
                                                        
                      Sent by:                   Subject:  [LINUX5250] Field 
mask                                                       
                      linux5250-bounces@x                                       
                                                        
                      idrange.com                                               
                                                        
                                                                                
                                                        
                                                                                
                                                        
                      21/07/2003 09:53 AM                                       
                                                        
                      Please respond to                                         
                                                        
                      Linux 5250                                                
                                                        
                      Development Project                                       
                                                        
                                                                                
                                                        
                                                                                
                                                        




hi

I got this comment from a user of the ActiveX. Is this a generalized
problem? Or isn't it? I don't have access to an AS/400 so I can't reproduce
it.

There is a special field, sometimes referred to as a field mask.
It allows us for example to define an 8 digit date field and specify "/" as
a separator.  Both of our emulators support this by either showing the
separator and protecting it so the cursor just skips over it, or they leave
it blank but also skip over it.

Marc-Antoine Ruel, ing. jr.

_______________________________________________
This is the Linux 5250 Development Project (LINUX5250) mailing list
To post a message email: LINUX5250@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/linux5250
or email: LINUX5250-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/linux5250.






_______________________________________________
This is the Linux 5250 Development Project (LINUX5250) mailing list
To post a message email: LINUX5250@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/linux5250
or email: LINUX5250-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/linux5250.



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

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

This mailing list archive is Copyright 1997-2024 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.