Hi Craig,
Do you think it will work if I put the 'INVITE' at the appropriate format
level?
INVITE means "unlock the keyboard and allow input, even though I haven't
tried to READ the record yet". (Or "terminal is invited to provide input")
Obviously, you want to make certain that you don't use INVITE if you
want the keyboard to be locked! If you supplied the INVITE keyword at
the file level, then every time you write a format (including the SFLCTL
or footer) it'll immediately unlock the keyboard and let the user type
stuff, which is exactly what you're trying to avoid.
Do you really need the INVITE keyword at all? Usually the only time
you supply INVITE is if you want to wait on a data queue rather than
waiting on a READ (or EXFMT) operation. In that situation you supply
INVITE, then the user can input stuff while you're waiting on the data
queue.
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.