datastage

User Variable Activity Scope in datastage


for example,

enter image description here

if I set parameter (ex: index = 3) at UserVariable and then, If i want to use this parameter in Job_Acitivity_312, I have to set paramter also like this(in Job_Activity_312 job), right? enter image description here

I'm confusing about parameter's scope. like local varaible, globla varaible .etc


Solution

  • The value of a user variable is accessible anywhere downstream of the User Variables activity - there must be an unbroken set of links from the User Variable activity to where its value is needed.