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