Is there a way inside a Before/After routine to retrieve a Windows system variable, not a DataStage variable, but a system variable defined on the Windows server?
Thanks
Using Windows System Variables inside Before/After routine
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
The non-viewable character is the line terminator, converted to a field mark.
Code: Select all
Call DSExecute('DOS', "echo %WIN_VARIABLE%", return_value, return_code)
Result = Convert(@FM, "", return_value)
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.