WHAT are unix quentios in datastage

Answer Posted / subhash

1. patterns finding and replacing..
SED -n '1,$p' file_name ----> displays 1st & last line
SED -n '1,$d' file_name ----> deletes from O/P 1st & last
line. etc
2. First N records & last N records
HEAD -5
TAIL -5
3. to find word/line count in file
WC -l--- no of line
WC -w--- no of words count
4. AWK, FIND, CUT etc are also useful

Is This Answer Correct ?    6 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are sequencers?

611


What are some different alternative commands associated with "dsjob"?

646


hi.... am facing typical problem in every interview " I need some critical scenarios faced in real time" plz help me guys

2422


CHANGE CAPTURE

884


What is the difference between in process and inter process?

661






How to convert RGB Value to Hexadecimal values in datastage?

3450


how many rows sorted in sort stage by default in server jobs

3551


What are the steps required to kill the job in Datastage?

679


How will you move hashed file from one location to another location?

1651


what is use of SDR function?

4705


in oracle target stage when we use load option and when we use upsert option?

1745


How do you reject records in a transformer?

624


What is the different type of jobs in datastage?

568


why do u need the IOS upgradation in a FC switch

1865


What are the functionalities of link partitioner?

613