Adding enviornmental Variable

A forum for discussing DataStage<sup>®</sup> basics. If you're not sure where your question goes, start here.

Moderators: chulett, rschirm, roy

ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

It is not possible (not supported) to change the value of a job parameter once that job is running.

You need to find another approach.

If you want to allocate the parameter value dynamically but before the job starts running (for example using a job sequence), that IS supported.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
sjordery
Premium Member
Premium Member
Posts: 202
Joined: Thu Jun 08, 2006 5:58 am

Post by sjordery »

Ok Brian,

Can you please send me the routine that will call a small routine that cats the file and reads its contents using DSExecute().
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Have you built an routines yet? Used DSExecute to run a command? Pretty straight forward. Pass in the filename to be cat'd as an argument and the result back out the other end. Check this post for one example. There are others out there a search will turn up.

ps. He's no Brian.
-craig

"You can never have too many knives" -- Logan Nine Fingers
DSguru2B
Charter Member
Charter Member
Posts: 6854
Joined: Wed Feb 09, 2005 3:44 pm
Location: Houston, TX

Post by DSguru2B »

chulett wrote: ps. He's no Brian.
:lol:
Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.
Post Reply