Hi Guys,
I am having one Macro that will convert seq file to xls file. Now I don't know how to use Macro in DS job.
Please give suggestion me how to use.
Thanks in advance.
Venkat
How to use Macro
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
You would need to create a small executable (probably in Visual Basic) that invoked Excel and ran the macro. DataStage itself can only access Excel via ODBC, and there is no mechanism within ODBC for running Excel macros. DataStage can, however, invoke the executable via ExecDOS as a before/after subroutine, or via DSExecute() from within one of your own routines.
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.