HP3000-L Archives

January 2007, Week 4

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
"Vance, Jeff H (Cupertino)" <[log in to unmask]>
Reply To:
Vance, Jeff H (Cupertino)
Date:
Fri, 26 Jan 2007 11:55:31 -0600
Content-Type:
text/plain
Parts/Attachments:
text/plain (42 lines)
 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 *

ATOM RSS1 RSS2