how can you generate sequence number using only the sequential
file stage?

Answers were Sorted based on User's Feedback



how can you generate sequence number using only the sequential file stage?..

Answer / ankit gosain

Hi All,

Open you Sequential File then
Output>Properties>Options>RowNumberColum and name the
column as SeqNumber.
And don't forget to add SeqNumber to the Column Definitions.
Otherwise, if RCP is disabled, DataStage will drop that
column.

If you have more queries, you can mail me on
ankitgosain@gmail.com

Cheers,
Ankit :)

Is This Answer Correct ?    4 Yes 1 No

how can you generate sequence number using only the sequential file stage?..

Answer / revanth

Use the row number column in options of sequential file.

Is This Answer Correct ?    3 Yes 1 No

how can you generate sequence number using only the sequential file stage?..

Answer / suneel

Hi Ankit,

That will be fine but here one thing
At what place you are disable the RCP.

Thanks

Is This Answer Correct ?    1 Yes 2 No

Post New Answer

More Data Stage Interview Questions

sed,awk,head

0 Answers   CTS,


how to read 100 records at a time in source a) hw is it fr metadata Same and b) if metadata is nt same?

0 Answers   HCL,


how many stages are there in Datastage... Please clarify mee??

3 Answers  


A flatfile contains 200 records.I want to load first 50 records at first time running the job,second 50 records at second time running and so on,how u can develop the job?pls give the steps?

3 Answers   TCS,


What are constraints and derivations?

0 Answers  






I HAVE EMP TABLE, 4 COLS R THERE COL1,COL2,COL3,COL4 ID-- 101,102,103,104 SAL-- 1000,4000,2000,5000 DATE-- COLUMN. I WANT TO DISPLAY THE DATA PREVIOUS MONTH HIGEST SAL ?

2 Answers   Wipro,


How you can fix the truncated data error in datastage?

0 Answers  


What are the types of containers and how to create them?

0 Answers  


What are the different database update actions available?

1 Answers   HP,


HOW CAN U DO ERROR HANDLING IN DATA STAGE?

8 Answers   ME,


How do u call shellscript/Batch file from DS?

4 Answers   HP,


To see hidden files in LINIX?

0 Answers   CTS,


Categories