Edan
use the BYTVAL function to determine the value of your crlf character. You'll actually have to copy and paste it into the BYTVAL function..they seem to appear as a little square box...which can represent several different BYTVALs.
Then CTRAN out that paraticular value into some other temporary value (like a pipe?) that won't cause a problemwith a hold file.
Then CTRAN it right back when you want to reload your SYBASE, if i understand your task correctly.
If you want that CRLF to actually differentiate fields, you can dump your column containing the CRLF into a flat file which you then read back with a DFIX master , such as
FILE=BMSFAKE ,SUFFIX=DFIX
$$ use this master in stetlbms.fex to run that component field into fields
SEGNAME=BMSFAKE ,SEGTYPE=S0
FIELDNAME=STYLE,,A8,$
FIELDNAME=DIV,,A2,A2,$
FIELDNAME =FAKE1 ,E01 ,A150 ,A150 ,$
FIELDNAME =FAKE2 ,E01 ,A150 ,A150 ,$
FIELDNAME =FAKE3 ,E01 ,A150 ,A150 ,$
FIELDNAME =FAKE4 ,E01 ,A150 ,A150 ,$
FIELDNAME=DELIMITER,ALIAS = '', A1,A1,$
hmm the little square box character that is in between the '' in the DELIMITER isn't showing up on this board... That little square box is the ascii manifestation of the crlf.
| In Focus since 1979///7706m/5 ;wintel 2008/64;OAM security; Oracle db, ///MRE/BID |