jitendra kumar


{ City } bangalore
< Country > india
* Profession *
User No # 111546
Total Questions Posted # 2
Total Answers Posted # 0

Total Answers Posted for My Questions # 6
Total Views for My Questions # 15395

Users Marked my Answers as Correct # 0
Users Marked my Answers as Wrong # 0
Questions / { jitendra kumar }
Questions Answers Category Views Company eMail

This is UNIX question asked in DataStage Interview. Say I have n numbers of records in a text file. I want first 3 records in 1st file, last three records in 3rd file and remaining n-6 records in 2nd file. (Note: we don't know how many records are there in the File. I am getting one file on daily basis and I want three target files as asked above)

CTS,

2 Data Stage 8580

eno ename 1 qaz 1 wsx 1 edc 2 zxc 2 asd 3 qwe 3 wer 3 tru 4 rgj Output: eno ename count 1 qaz,wsx,edc 3 2 zxc,asd 2 3 qwe,wer,tru 3 4 rgj 1 I want the above output to be solved by DataStage as well and I have to write SQL query for the same output.

Wipro,

4 Data Stage 6815




Answers / { jitendra kumar }