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:
Ray Shahan <[log in to unmask]>
Reply To:
Ray Shahan <[log in to unmask]>
Date:
Fri, 26 Jan 2007 13:48:48 -0600
Content-Type:
text/plain
Parts/Attachments:
text/plain (149 lines)
Ok, brain kicked in a little bit, and I did a SETVAR CIERROR 0 prior to
my INPUT...that seems' to have cleared it all up.

Thanks everyone.


Raymond Shahan
Computer Programmer
 REPUBLIC TITLE OF TEXAS, INC.
  2701 W Plano Parkway 
Plano, TX 75075
 

direct 214.556.0202
main 972.578.8611
fax 972.424.5621
 www.republictitle.com
[log in to unmask]
 

-----Original Message-----
From: [log in to unmask]
[mailto:[log in to unmask]] 
Sent: Friday, January 26, 2007 1:12 PM
To: Ray Shahan; [log in to unmask]
Subject: RE: [HP3000-L] How to catch CIERROR before it's displayed

Ray

Try doing an ERRCLEAR prior to the input,
the value you are seeing may bave been left
over from a previous invocation of the command file.

Robert Schlosser
Global Business Systems
Premier Farnell plc
T 864 487-1362
F 864.487.1904
E [log in to unmask]
www.newarkinone.com



-----Original Message-----
From: Ray Shahan [mailto:[log in to unmask]]
Sent: Friday, January 26, 2007 1:23 PM
To: [log in to unmask]
Subject: Re: [HP3000-L] How to catch CIERROR before it's displayed


Yikes!  I get a CIERROR 9003 even if you enter a value and hit return.
Am I doing something wrong here (geez, this was going to be a quick CMD
file, but I'm having a Monday here).


SETVAR HPMSGFENCE 1
INPUT FILES_TO_COPY, &
"Enter file set to copy (ex: A@, JHK@)<@> "; &
DEFAULT=@;WAIT=60

IF CIERROR=9003
  ECHO
  ECHO Function cancelled
  DELETEVAR FILES_TO_COPY
  RETURN
ENDIF





Raymond Shahan
Computer Programmer
 REPUBLIC TITLE OF TEXAS, INC.
  2701 W Plano Parkway 
Plano, TX 75075
 

direct 214.556.0202
main 972.578.8611
fax 972.424.5621
 www.republictitle.com
[log in to unmask]
 

-----Original Message-----
From: HP-3000 Systems Discussion [mailto:[log in to unmask]] On
Behalf Of Vance, Jeff H (Cupertino)
Sent: Friday, January 26, 2007 11:56 AM
To: [log in to unmask]
Subject: Re: [HP3000-L] How to catch CIERROR before it's displayed

 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 *

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *


https://www.mailcontrol.com/sr/wQw0zmjPoHdJTZGyOCrrhg==
UKbH84k!OVNxNyiKYRJClaHFg5EtCq1ac3do803ND!0+Hsl+OSTK!jlT2N53Ia6TB7s0V!Vv
zm+c
TpOyZI+e9F+VZyfnczCQeKAqMEVNrar7REjCxc5LECuy4HyOTtcWgCPk754Nx8dKuB1ezc4k
L6ID
0cLiWVlAEuXzpNFzAAjWNIXit9O  
Click on the link above to report this email as spam to BlackSpider.

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

ATOM RSS1 RSS2