HP3000-L Archives

March 2001, Week 5

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:
"Paveza, Gary" <[log in to unmask]>
Reply To:
Paveza, Gary
Date:
Fri, 30 Mar 2001 14:26:55 -0500
Content-Type:
text/plain
Parts/Attachments:
text/plain (40 lines)
Put it in quotes.  It's treating it as a number which overflows the buffer.
This is a case where a number is not a number, but a string.

-------------------------------------------------------------
Gary L. Paveza, Jr.
Production Support Analyst - Lead
(302) 761-3173 - voice
(877) 720-2970 - pager

        -----Original Message-----
        From:   Donald Frantum [SMTP:[log in to unmask]]
        Sent:   Friday, March 30, 2001 2:24 PM
        To:     [log in to unmask]
        Subject:        [HP3000-L] SETVAR

        I am trying to use the following two INPUT expressions to create a
SETVAR expression, but I keep getting the following error.

        Commmand File:
        INPUT FRSTDATE;PROMPT="PLEASE ENTER THE PERIOD START DATE, E.G.
20010101:";&
        READCNT=8
        INPUT ENDDATE;PROMPT="PLEASE ENTER THE PERIOD END DATE, E.G.
20010101:";&
        READCNT=8
        SETVAR FRSTEND1 !FRSTDATE!ENDDATE

        Error Msg:
        SETVAR FRSTEND1 2001020120010101
                                       ^
        Integer overflow in the expression. (CIERR 9740)

        I have read the error manual, but it doesn't give me much to go on.
Does anyone have any idea how to get around this?


        Thank in advance.

        Donald

ATOM RSS1 RSS2