Header row is missing in ftp enterprise stage

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
premupdate
Participant
Posts: 47
Joined: Thu Oct 04, 2007 3:37 am
Location: chennai

Header row is missing in ftp enterprise stage

Post by premupdate »

Hello folks,

Job Design:

Sequentialfile-->copy-->ftpenterprise stage


I want to transfer the file to another server through FTP stage.

In file it contains 50 data records and one header record has column name.

The target server receives file which has only data records and not header record.

Sequential file Options:

Enabled first line is column name to true.

Kindly help me to resolve this issue.


:o :o
Cheers,
prem
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Re: Header row is missing in ftp enterprise stage

Post by chulett »

premupdate wrote:Sequential file Options: Enabled first line is column name to true.
That option causes the headers to be skipped, turn it off so the header record just flows through as data.
-craig

"You can never have too many knives" -- Logan Nine Fingers
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Change First Line is Column Names property value to False. Make sure that your metadata allow the header line to be read (even if you have to read each entire line as a single string), rather than be rejected/dropped.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
premupdate
Participant
Posts: 47
Joined: Thu Oct 04, 2007 3:37 am
Location: chennai

Post by premupdate »

Thanks for your help. It is working fine. :lol:
Cheers,
prem
Post Reply