>What we need is some method to lock a cursor in
>the field once the first character has been
>entered into it, so that the field exit keywords
>could control or at least display a keyboard error.

There is no method that I am aware of.

>If you enter the first number in a numeric field
>now, the Enter Key becomes disabled (You get a keyboard
>error and the cursor stays where it is. ).  What controls
>that?

The 5250 architecture controls that.  It's the way the 5250 designers built
it.  It's not a matter of changing something at the sending side; it's a
matter of changing how the 5250 client (the physical display or emulation
program AND attached controller) handles the cursor.  Unless you intend to
write your own 5250 client AND use User Defined Data in your RPG program,
you will have to live within the parameters outlined by the architects of
the 5250 datastream.

This link is the 5494 Functions Reference manual
http://publib.boulder.ibm.com/cgi-bin/bookmgr/BOOKS/CO2E2200/CCONTENTS?SHELF
=QBKAYC06&DN=SC30-3533-03&DT=19941018084222
It contains specifics about how 5250 datastreams are architected and
interpreted.  Perhaps you'll have better luck than I did trying to find a
remedy...

  --buck

"This box Rocks!" - related to 2002 NE IBM
Conference attendees by IBM's Stephanie Joy


As an Amazon Associate we earn from qualifying purchases.

This thread ...


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.