Page 1 of 1
Lat new line
Posted: Fri Sep 03, 2004 7:21 am
by denzilsyb
Hallo all
Is there a way to omit the last new line character in the constraint of a transformer? I dont want to have to revert to scripts and/or SEQ stages to do this.
I have tried LINK.COL > 0 and LINK.COL <> @NULL, but no luck.
Re: Lat new line
Posted: Fri Sep 03, 2004 10:06 am
by ogmios
denzilsyb wrote:Hallo all
Is there a way to omit the last new line character in the constraint of a transformer? I dont want to have to revert to scripts and/or SEQ stages to do this.
I have tried LINK.COL > 0 and LINK.COL <> @NULL, but no luck.
What do you mean with "last new line character in the constraint of transformer". The newlines in an outputfile are generated by the sequential stage.
Ogmios
Posted: Mon Sep 06, 2004 3:48 am
by denzilsyb
Hi ogmios
yes, the new line is generated in the SEQ stage, but i have an extra "line" of "data" after all my detail records are listed. i.e.
Code: Select all
col1|col2|col3|CR/LF
dat1|dat2|dat3|[color=red]CR/LF[/color]
<this is an extra record with nothing in, not even NULL>
i want to omit the CR/LF in red above. (ok, not red, but
CR/LF)
Posted: Mon Sep 06, 2004 4:34 am
by ogmios
In a sequential stage generating a file you have the option "Omit last new-line" on the inputs/format tab (left lower side of the tab).
I guess you need that one.
Ogmios
lat = last
Posted: Mon Sep 06, 2004 5:28 am
by denzilsyb
I was afaid of that. now i just need to go back and insert the stage to the job. thanks ogmios.