How to delete the data in dataset?types of deleting the data
in dataset?

Answers were Sorted based on User's Feedback



How to delete the data in dataset?types of deleting the data in dataset?..

Answer / shilpasagar

We can delete the data in the dataset in 2 ways
1) Use Orchadmin command (orchadmin rm abc.ds)
2) Through Dataset Management option that is available in
the Director Client

Is This Answer Correct ?    16 Yes 0 No

How to delete the data in dataset?types of deleting the data in dataset?..

Answer / venkat

We have two types of ways is there,
first one, we have to go dataset management in delete option
is there, and second one is via unix command
$orchadmin truncate[-f or -x] descriptor file name

Is This Answer Correct ?    8 Yes 0 No

How to delete the data in dataset?types of deleting the data in dataset?..

Answer / arjun

if we want to delete the dataset file completely we have to delete the 3 dataset files
1.Descriptor file
2.Data file
3.Control File

Is This Answer Correct ?    2 Yes 0 No

How to delete the data in dataset?types of deleting the data in dataset?..

Answer / chandrakant swain (hara)

suppose we have one file HSBC.ds ,having 5 fields or
columns,and
20 records,for deleting the all record
then

>$head -1 HSBC.ds > NEW_HSBC.ds
then rename the new file use mv command ,like this mannaer
>$mv NEW_HSBC.ds HSBC.ds



Is This Answer Correct ?    3 Yes 18 No

Post New Answer

More Data Stage Interview Questions

On which interface you will be working as a developer?

0 Answers  


How do you find the number of rows in a sequential file?

1 Answers  


How do u convert the columns to rows in datastage?

0 Answers  


Differentiate between Join, Merge and Lookup stage?

0 Answers  


Can we use Round Robin for aggregator?is there any benefit underlying?

3 Answers   TCS,






Explain the ChangeApply stage?

11 Answers  


Source have 1000 records and it can have three nodes ok but i want how many records are executed on each node?

3 Answers   TCS,


what is the unix script to run the job? Please mention commands which we use often?

3 Answers   TCS,


When we will go for Data elements?

3 Answers   TCS,


how do u reduce warnings

1 Answers   CGI,


How one source columns or rows to be loaded in to two different tables?

0 Answers  


Difference in the implementation of lookup and join stages,in joining two tables?

7 Answers   TCS,


Categories