UniBasic does not prevent you from writing out a record or ID with char(0)
imbedded. It is a legal character.
No guesses as to the cause of your particular issue.
To assist in diagnosis, you can search your problem file for all occurances
of char(0) in data records or keys using an option on 'guide'.
For instance:

guide -U0 PROBLEM.FILE.NAME

option is -U followed by the ascii charcter number you want to search for.
                                                                           
 Wally Terhune                                                             
 SWG Client Support -                                                      
 Information Management Software                                           
 U2 Support Architect b IBM U2                                             
 Client Support Team                                                       
 4700 S. Syracuse St., Denver,                                             
 CO  80237                                                                 
 Tel: (303) 773-7969   T/L                                                 
 656-7969                                                                  
 Mobile: (303) 807-6222                                                    
 [EMAIL PROTECTED]                                                         
                                                                           
                                                                           
                                                                           
                                                                           
 Register today for the premier                                            
 U2 technical event!                                                       
                                                                           








                                                                           
             "Burwell, Ed"                                                 
             <[EMAIL PROTECTED]                                             
             om>                                                        To 
             Sent by:                  <[email protected]>      
             [EMAIL PROTECTED]                                          cc 
             stserver.u2ug.org                                             
                                                                   Subject 
                                       [U2] [UD] Possible causes of        
             11/01/2007 12:35          corrupt data on a UniData static    
             PM                        file                                
                                                                           
                                                                           
             Please respond to                                             
             [EMAIL PROTECTED]                                             
                er.u2ug.org                                                
                                                                           
                                                                           




Hello,

I have been getting corrupt data lately.  Stuff like this:

sort: warning: first character of the record is '\0' discard it!
sort: warning: the record contain '\0' character, discard it!
sort: warning: the record contain '\0' character, discard it!
sort: warning: the record contain '\0' character, discard it!
sort: warning: the record contain '\0' character, discard it!
sort: warning: the record contain '\0' character, discard it!
sort: warning: the record contain '\0' character, discard it!

Are there any programming no-no's that could cause stuff like this, for
instance:

1. Putting logic in an UPDATE trigger that calls a UniData function that
run a UniQuery statement that creates XML, then writes that XML to a file
(to be HTTP transmitted later by a separate background task).

2. Putting logic in an UPDATE trigger that compares the prior record to the
one about to be written, then updates a log file if the records are
different.

3. Four separate indexes on a file.

I'm getting desperate.  Any help would be GREATLY appreciated!

Thanks.

Ed

______________________________________________________________________
This e-mail has been scanned by MCI Managed Email Content Service, using
Skeptic(tm) technology powered by MessageLabs. For more information on
MCI's Managed Email  Content Service, visit http://www.mci.com.
______________________________________________________________________
-------
u2-users mailing list
[email protected]
To unsubscribe please visit http://listserver.u2ug.org/

[demime 1.01d removed an attachment of type image/jpeg which had a name of 
25739582.jpg]

[demime 1.01d removed an attachment of type image/jpeg which had a name of 
25465054.jpg]

[demime 1.01d removed an attachment of type image/gif which had a name of 
graycol.gif]

[demime 1.01d removed an attachment of type image/gif which had a name of 
pic28597.gif]

[demime 1.01d removed an attachment of type image/gif which had a name of 
ecblank.gif]
-------
u2-users mailing list
[email protected]
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to