Re: It's TGET not TPUT to get the data: Where do I start?
Gerhard Postpischil <[email protected]>
| Newsgroups | gmane.comp.emulators.turnkey-mvs |
|---|---|
| Message-ID | <[email protected]> |
On 5/25/2010 6:48 PM, Ron Hudson wrote: > Or set MDT on all fields and expect them all returned? The "obvious" way is to look at the length returned from TGET and use that to stop the scan. No need to waste cycles on clearing storage or reading unchanged fields. One thing not mentioned - depending on the model of 3270, or your emulator, when the user erases a field, the MDT may get set, and the input stream won't have any text (just the 11 field start). You'll need to decide whether to reinstate the previous text or treat it as cleared. Gerhard Postpischil Bradford, VT