Hi am sundar, i have datas like
00023-1010
00086-1010
00184F2-1010
.
.
.
.
SCH-AS-1010
200-0196-039
.
.
.
Now i want the result as values before the delimiter should
come under the column ITEM_CODE and values after the
delimiter should come under the column LOC_CODE.. But some
datas like "SCH-AS-1010", for this, "SCHAS" should come
under the column ITEM_CODE and 1010 should come under the
column LOC_CODE.. Pls help me..



Hi am sundar, i have datas like 00023-1010 00086-1010 00184F2-1010 . . . . SCH-AS-10..

Answer / kiran

hi this is kiran..,

u can do manipulate in transformer stage.in tranformer
stage some functions is ther like
FIELD('sring',delimeter,occurence.....) like that
A=Field('SCH-AS-1010','-',1)
B=Field('SCH-AS-1010','-',2)
C=Field('SCH-AS-1010','-',3)
then
concatenate A and B in ITEM_CODE C in LOC_CODE.

Is This Answer Correct ?    7 Yes 1 No

Post New Answer

More Data Stage Interview Questions

Explain datastage architecture?

0 Answers  


is it possible to access the same job by two users at a time in DataStage?

2 Answers   IBM,


what is the difference between INROWNUM AND OUTROWNUM IN DATASTAGE SERVER EDITION?

2 Answers  


what is a force compile

2 Answers   Cap Gemini, IBM,


1)How to Duplicate Records Delete in Sequential file?

4 Answers   IBM, TCS,






how to sort two columns in single job in datastage.

1 Answers   TCS,


Can you explain engine tier in information server?

0 Answers  


What all are the different way to run a job?

0 Answers  


Differentiate between Symmetric Multiprocessing and Massive Parallel Processing?

0 Answers  


How many types of stage?

0 Answers  


parallel jobs run on cluster machines. server jobs run on smp and mpp. What do mean by cluster mechines and SMP and MPP..?

3 Answers  


What are some prerequisites for datastage?

0 Answers  


Categories