In Sequential file, how can i split a column into two, and
that column contains string datatype.
For Example, i have column of string datatype as subedar
khaja. Now i want get output as separately with subedar in
one column and khaja in second column.
How?
Coula anybody, solve it?

Answer Posted / siva

SEQUENTIAL FILE.....>TRANSFORM.....>DATASET
IN TRANSFORM STAGE WE USE FIELD FUNCTION (OR)LEFT FUNCTION.
IN TRANSFORM >>>FUNCTIONS>>>STRINGS>>>FIELD(%string%,'%
delimter%',%occuarence%).
FIELD(subedar khaja.,' ',1)=column1.
FIELD(subedar khaja.,' ',2)=column2

Is This Answer Correct ?    18 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how to abort the job its matain duplicates?

2328


What is the differentiate between data file and descriptor file?

1100


What are orabulk and bcp stages?

856


WAT TYPE OF PL/SQL QUERRYS USED IN DATASTAGE

3428


What are the main differences you have observed between 7.x and 8.x version of datastage?

825


Where the datastage stored his repository?

784


Differentiate between datastage and datastage tx?

817


How do you import and export data into datastage?

944


If we take 2 tables(like emp and dept),we use join stage and how to improve the performance?

1825


Which algorithm you used for your hashfile?

883


1.what is repartionoing technique? 2.what deliverables transferred to client using datastage? 3.how to write loop statements using nested loop sequence?

1996


Describe link sort?

811


What is apt_config in datastage?

907


Can you explain players in datastage?

940


what are the errors,warnings in datastage

2383