To Create a job to generate the output file name with the data from input file for each record.
Ex: Input File
dob_year,dob_month,dob_date,name
1985,10,05,Kannan
1986,11,05,Kumar
Output file name should be:
Employee_Kannan_1985-10-05.txt
output file name with the data from input file for each rec
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 12
- Joined: Fri Apr 12, 2013 7:12 am
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
Again with the posting of what seems to be a work assignment without questions or any evidence you've even tried to solve it. More of this 'testing' going on?
chaithanya wrote:I am a datastage trainee in my company. My lead gave this scenario to test my design capability.
-craig
"You can never have too many knives" -- Logan Nine Fingers
"You can never have too many knives" -- Logan Nine Fingers
-
- Participant
- Posts: 12
- Joined: Fri Apr 12, 2013 7:12 am
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
You can get a training class on Programming with DataStage BASIC, which has a comprehensive treatment of working with BASIC routines, from DSXchange
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.