orchadmin dump problem
Moderators: chulett, rschirm, roy
orchadmin dump problem
"Orchadmin dump" copies a datset to a sequential file. However, the problem is, by default, it puts a space after every field. Is there any way to adoid that? I would like to copy a dataset to a sequential file as is, that is, the length of all columns should be exactly the same in the dataset as in the sequential file.
The default separator for the dump option of orchadmin is space, if you wish another character such as the semicolon, you need to add -delim ';'
<a href=http://www.worldcommunitygrid.org/team/ ... TZ9H4CGVP1 target="WCGWin">
</a>
</a>
I can't recall, but I'm sure it is in the documentation somewhere. I don't have any pdf's available on this pc, but if it isn't in the advanced programmer's guide then it might be found in the original orchestrate documentation.
<a href=http://www.worldcommunitygrid.org/team/ ... TZ9H4CGVP1 target="WCGWin">
</a>
</a>
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
Page 173 of AdminInstall.pdf
-delim 'string' Use the string 'string' as a delimiter on top-level fields. Other possible values for this are: nl (newline), tab, and space. The default is a space character.
However, why don't you try Peek stage since this command is almost identical to the peek operator in a data flow.
-delim 'string' Use the string 'string' as a delimiter on top-level fields. Other possible values for this are: nl (newline), tab, and space. The default is a space character.
However, why don't you try Peek stage since this command is almost identical to the peek operator in a data flow.