Rob,
When faced with this sort of issue I try to make certain that the format defined for the transmission has the last character on each line defined as something other than a space. It can be, for instance, a record type indicator or, if nothing else, just a place holder that the mainframe import routine discards.
Thanks for the reply Larry, but your last comment on the subject is the deal breaker! I am in fact creating a fixed position export file to be used for import into a main-frame based accounting program. the (CHAR(160)) will most certainly cause them a problem. What about using another variable TYPE that won't truncate the trailing spaces? I can't believe that something so rudimentary is causing such grief! How'd something like this get accomplished in the past... Someone had to have needed the ability to format text in this manner... Right?!
Emmitt Dove Manager, DairyPak Business Systems Blue Ridge Paper Products, Inc. 40 Lindeman Drive Trumbull, CT 06611 (203) 673-2231 [EMAIL PROTECTED] [EMAIL PROTECTED]

