hi all,
o/p
"hellohow are u " : parameter
this parameter need to be print in next line
like
hello how are
parameter
how to achive this ?
o/p is seq file how get data into in newline
Moderators: chulett, rschirm, roy
o/p is seq file how get data into in newline
In Adv Thanks
---------s
---------s
Most Windows files use <CR><LF> as the line separator. All you need to do is to add those to characters to your line and it will ensure a line break.
A Derivation such as "'Hello how are you ':CHAR(13):CHAR(10):#ParameterName#" will do this.
(Please note, I corrected the original CHAR() defintions; the first post had them listed incorrectly )
A Derivation such as "'Hello how are you ':CHAR(13):CHAR(10):#ParameterName#" will do this.
(Please note, I corrected the original CHAR() defintions; the first post had them listed incorrectly )
I thought I had remembered it correctly but did a quick check in the BASIC PDF document before posting and managed to look at the octal column by mistake and managed to get the post wrong. I wouldn't have caught the error if another person hadn't posted the exact same question in a separate thread and discovered the mistake for me...
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
This post is very similar to that post - but you can't use Convert() because Windows uses more than one character as its line termination.
Create a stage variable called svCRLF as described in that post to gain some efficiency.
Create a stage variable called svCRLF as described in that post to gain some efficiency.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.