Subject: | |
From: | |
Reply To: | Vance, Jeff H (Cupertino) |
Date: | Fri, 26 Jan 2007 11:55:31 -0600 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
You can set the HPMSFENCE variable to 1. See HELP HPMSGFENCE for more
values.
E.g.
setvar savemsgfence hpmsgfence
setvar hpmsgfence 1
continue
input files_to_copy, & ...
if hpcierr = -9003 then
# input timed out...
endif
setvar hpmsgfence savemsgfence
HTH,
Jeff Vance, vCSY
> -----Original Message-----
>> Hi all,
>
> It seems like I ought to know this but can't recall how to
> do it. I'm doing an MPE INPUT statement with the WAIT parm, and when
> the INPUT times out, I get the CIERROR 9003. I don't want the CIERROR
> to display - I want to trigger an action if the INPUT times
> out, and not have the error display.
>
> Here's my code snippet:
>
> INPUT FILES_TO_COPY, &
> "Enter file set to copy (ex: A@, JHK@)<@> "; &
> DEFAULT=@;WAIT=25
>
> IF CIERROR=9003
> ECHO
> ECHO Function cancelled
> DLETEVAR FILES_TO_COPY
> RETURN
> ENDIF
>
* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
|
|
|