Header and Trailer
Moderators: chulett, rschirm, roy
-
- Charter Member
- Posts: 822
- Joined: Sat Sep 17, 2005 5:25 pm
- Location: USA
Header and Trailer
Hi all,
Can we have header and trailer records in the sequential file through datastage?
Thanks in advance
sam
Can we have header and trailer records in the sequential file through datastage?
Thanks in advance
sam
Sam
The answer is 'Yes'.
You can have header and trailer records in your sequential file. You may have to filter header and trailer records during the process if you don't want these to be processed inside your job
The answer is 'Yes'.
You can have header and trailer records in your sequential file. You may have to filter header and trailer records during the process if you don't want these to be processed inside your job
Regards
Siva
Listening to the Learned
"The most precious wealth is the wealth acquired by the ear Indeed, of all wealth that wealth is the crown." - Thirukural By Thiruvalluvar
Siva
Listening to the Learned
"The most precious wealth is the wealth acquired by the ear Indeed, of all wealth that wealth is the crown." - Thirukural By Thiruvalluvar
-
- Charter Member
- Posts: 13
- Joined: Tue Apr 08, 2003 9:51 pm
- Location: Australia
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
-
- Charter Member
- Posts: 822
- Joined: Sat Sep 17, 2005 5:25 pm
- Location: USA
I need to check the way to use it in after job subroutine.
But you can use the UserVariableActivity to pass these variable to a ExecuteCommandActivity. Which inturns will append the the file with these information.
By giving 'echo' in the command and Parameters (DSJobStartDate and DSJobStarTime) passed from the previous stage (UserVariableActivity) and >> filename.txt in the Parameters.
But you can use the UserVariableActivity to pass these variable to a ExecuteCommandActivity. Which inturns will append the the file with these information.
By giving 'echo' in the command and Parameters (DSJobStartDate and DSJobStarTime) passed from the previous stage (UserVariableActivity) and >> filename.txt in the Parameters.
Impossible doesn't mean 'it is not possible' actually means... 'NOBODY HAS DONE IT SO FAR'