After moving the INVITE to the SFLCTL record only, the input inhibited works
like it should. The screens and windows in the program work fine, because
they all use EXFMT and not a combo of WRITE and READ.
Thanks Scott and to everyone who responded. Problem resolved!
Craig
-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[
mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Scott Klement
Sent: Friday, June 01, 2007 1:02 PM
To: Midrange Systems Technical Discussion
Subject: Re: Input inhibited
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.