Professional Documents
Culture Documents
Datastage commands
Orchadmin & dsrecords
Objectives
Understanding Dataset Pre-Reqeuisit setup for datastage commands orchadmin command dsrecords commands
DS Environment Setup
DSHOME displays the Datastage engine directory.
The unix rm utility cannot be used to delete the datasets, since it would actually delete only the descriptor file, in other words the real data would be lying on different nodes of server as orphans, thereby blocking the memory. The orchadmin delete or rm command should be used to delete one or more persistent data sets. -f option makes a force delete. If some nodes are not accesible then -f forces to delete the dataset partitions from accessible nodes and leave the other partitions in inaccesible nodes as orphans.
-x option forces to use the current config file to be used while deleting than the one stored in data set.
Note: There are no difference between delete/del/rm command. All the three perform the same operations.
-field
: Lists only the given field instead of all fields. Eg: orchadmin dump -field COL1 field COL10 Test.ds - will display only COL1 and COL10 from the dataset Test.ds
: List all the values preceded by field name and a colon : List only the given number of records per partition. : Lists every Nth record from each partition starting from first record. : Skip the first N records from each partition. : Use the current system configuration file rather than the one stored in dataset.
-name -n -p -skip -x
Q&A