Hi,
I need to include the carriage return ascii char 13 or ^M at the end of the record.
I have tried these using the sequential file properties, format
1. Record delimiter string = DOS format
2. Final delimiter string = \13 ---> this give me the output ^K, but if i tried other numbers, ^M still does not come out.
Carriage Return ^M ascii character 13
Moderators: chulett, rschirm, roy
-
- Premium Member
- Posts: 22
- Joined: Wed Jul 23, 2008 5:59 pm
- Contact:
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
DOS-style Record Delimiter String gives \x0D\x0A (CR/LF).
A simple CR at the end is a very unusual requirement. Are you totally certain that's what you want?
If so try using hex notation (\x0D).
A simple CR at the end is a very unusual requirement. Are you totally certain that's what you want?
If so try using hex notation (\x0D).
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.
-
- Premium Member
- Posts: 22
- Joined: Wed Jul 23, 2008 5:59 pm
- Contact:
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
-
- Premium Member
- Posts: 22
- Joined: Wed Jul 23, 2008 5:59 pm
- Contact:
I tried this &h0D, but gave me fatal error
if i put backslash \ prior to that, it will actually print out the string itself
main_program: Syntax error: Error in "export" operator: Error in operator arg: Error parsing schema: In top-level property list: Expected value for property "final_delim_string", got: "&", line 44
if i put backslash \ prior to that, it will actually print out the string itself
main_program: Syntax error: Error in "export" operator: Error in operator arg: Error parsing schema: In top-level property list: Expected value for property "final_delim_string", got: "&", line 44