Can you specify DOS or UNIX format in Writeseq command?

Post questions here relative to DataStage Server Edition for such areas as Server job design, DS Basic, Routines, Job Sequences, etc.

Moderators: chulett, rschirm, roy

Post Reply
CharlesNagy
Premium Member
Premium Member
Posts: 66
Joined: Mon Feb 21, 2005 10:40 am
Location: Paris

Can you specify DOS or UNIX format in Writeseq command?

Post by CharlesNagy »

We have a server routine that writes out our metedata to sequential files on our server. We can then import them using Manager. This worked fine on Unix, however, since we changed to Linux, the import fails, and we now have to edit these files first, resave them in DOS format, and then we can import them.

I was wondering if there is some way to specify writing to dos format in the Openseq/Writeseq commands?

We can write a shell script to convert these files, but we were hoping to avoid this......
kduke
Charter Member
Charter Member
Posts: 5227
Joined: Thu May 29, 2003 9:47 am
Location: Dallas, TX
Contact:

Post by kduke »

You can fix this when you FTP to Windows from Linux. You can also use UNIX2DOS and DOS2UNIX commands.
Mamu Kim
CharlesNagy
Premium Member
Premium Member
Posts: 66
Joined: Mon Feb 21, 2005 10:40 am
Location: Paris

Post by CharlesNagy »

Thanks Kim,

Will play with your suggestions and see which works best for us.

much appreciated..
kduke wrote:You can fix this when you FTP to Windows from Linux. You can also use UNIX2DOS and DOS2UNIX commands.
Post Reply