[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index] [Date Index] [Thread Index]
[SQR-USERS Info] [SQRUG Home Page]

RE: [sqr-users] Error writing to file



Do you really want to write the number as a six byte binary number (an
integer up to 282 trillion)?  Or do you want to write a six digit number,
like 123456?  The latter is done like so:

let $number = edit(#number, '999999')
write 1 from $number:6

-----Original Message-----
From: sqr-users-bounces+steven.alexander=sanjoseca.gov@sqrug.org
[mailto:sqr-users-bounces+steven.alexander=sanjoseca.gov@sqrug.org]On
Behalf Of Murty Mirthipati Venkata Suryanarayan
Sent: Tuesday, January 04, 2005 12:02 PM
To: This list is for discussion about the SQR database reportinglanguage
fromHyperion Solutions.
Subject: RE: [sqr-users] Error writing to file


I doubt if you are attempting to write the number directly to file. This
seems to be code level error. Not related to the dabase level (with field
sizes and all)
 
Why not you post the portion of code that you are facing error with?
 
Murty ;)

        -----Original Message----- 
        From: Krishna Prasad Kommuri [mailto:kommuri@gmail.com] 
        Sent: Tue 04-Jan-2005 14:48 
        To: sqr-users@sqrug.org 
        Cc: 
        Subject: [sqr-users] Error writing to file
        
        

        Hi,
        
               When i try to write a numeric variable of length 6, it gives
me
        the following error. (SQR 3211) #Numeric variables and literals must
        have :length of 1, 2 or 4 bytes.
        
                Is it mandatory to have a numeric variable of the specified
        length (1,2 or 4)?
        
        Thanks,
        
        _______________________________________________
        sqr-users mailing list
        sqr-users@sqrug.org
        http://www.sqrug.org/mailman/listinfo/sqr-users
        
        


_______________________________________________
sqr-users mailing list
sqr-users@sqrug.org
http://www.sqrug.org/mailman/listinfo/sqr-users