To Update DSParams file through DS Routine

Post questions here relative to DataStage Server Edition for such areas as Server job design, DS Basic, Routines, Job Sequences, etc.

Moderators: chulett, rschirm, roy

Post Reply
Amit_111
Participant
Posts: 134
Joined: Sat Mar 24, 2007 11:37 am

To Update DSParams file through DS Routine

Post by Amit_111 »

Can I update DSParams file to assign a value to a particular parameter declared in the DSParams file through a user defined DS routine?

If Yes, Please help me with some pointers to do the same.

Thanks.
Sreenivasulu
Premium Member
Premium Member
Posts: 892
Joined: Thu Oct 16, 2003 5:18 am

Post by Sreenivasulu »

You can do it by providing the right path in the code but its not advisable to change 'datastage system files as the datastage job runs'

Regards
Sreeni
Amit_111
Participant
Posts: 134
Joined: Sat Mar 24, 2007 11:37 am

Post by Amit_111 »

Thanks but then what should be the correct approach to do the same?
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

The right approach is not to touch DSParams programatically.

If you feel you really must (why?), make sure that the routine preserves the previous (last known good) version.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Post Reply