SEQ File

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
naren6876
Participant
Posts: 233
Joined: Mon Feb 07, 2005 7:19 pm

SEQ File

Post by naren6876 »

Hi All,

How can we read a sequential file data based on Column Header as i am interested in only few columns.

Any input would be highly appreciated.

Thanks in advance.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

You have to 'read' all of the columns, that's the nature of sequential media. Feel free to immediately drop the columns you don't need but they must be read.
-craig

"You can never have too many knives" -- Logan Nine Fingers
arunkumarmm
Participant
Posts: 246
Joined: Mon Jun 30, 2008 3:22 am
Location: New York
Contact:

Post by arunkumarmm »

Will that be possible if we use ODBC stage to read a sequential file? I'm sure we can use ODBC stage to read a sequential file, I even tried but couldnt make it to work.
Arun
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

I would assume an ODBC text driver could read the file and pass back only certain columns but under the covers it would still read each record in its entirety. I don't see the need to complicate this, however, read the record and only pass along the columns you need.
-craig

"You can never have too many knives" -- Logan Nine Fingers
Post Reply