Is it possible to use a value returned by a DSMacro and update a Env Variable dynamically, without using shellscript??
what i want to do exactly is, get the DSJobStartTimestamp and use next time job runs and extract data greater than that timestamp.
Value from DSMacro to Environmental variable
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
A DataStage macro can only be run from within a job.
However you can do this with a routine, using DataStage API calls (specifically DSAttachJob(), DSGetJobInfo() and DSDetachJob() functions), but you'd need to do this before starting the job itself.
However you can do this with a routine, using DataStage API calls (specifically DSAttachJob(), DSGetJobInfo() and DSDetachJob() functions), but you'd need to do this before starting the job itself.
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.