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
Differentiate between hash file and sequential file?
Is possible to create skid in dim,fact tables?
WAT TYPE OF PL/SQL QUERRYS USED IN DATASTAGE
Can you explain how could anyone drop the index before loading the data in target in datastage?
What is the differentiate between data file and descriptor file?
DB2 connector> transformer > sequential file Data will be exported into a csv format in a sequential file. This file will be send in a email using a sequence job. Problem here is, how to avoid sending a blank csv file? When I ran the job there are chances that it might return zero records but in the sequence job csv file is going blank. how can I avoid this? thanks
What is ibm datastage flow designer?
what is the custome stage in datastage? how can we impliment that one? plz tell me
If we take 2 tables(like emp and dept),we use join stage and how to improve the performance?
What is a datastage job?
What steps should be taken to improve Datastage jobs?
What is a folder? Difference types of stages?
What is difference between server jobs & parallel jobs?
What are the benefits of datastage?
Nls stands for what in datastage?