Pass the User variable activity output to new sequence

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

Moderators: chulett, rschirm, roy

Post Reply
ajithaselvan
Participant
Posts: 75
Joined: Mon Jul 12, 2010 4:11 am
Location: Chennai

Pass the User variable activity output to new sequence

Post by ajithaselvan »

Hi,

I have a sequence job1, where I called uservariable activity to receive a value from execute command activity and pass it to one of the job activities.
I need the output of same uservariable activity to be used to sequence job2 as well. Is there anyway to be reused, instead of redesigning activities?
Ajitha S
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Unless sequence1 calls sequence2, the answer is no. And unless something has changed, there are no 'reusable' components in Sequence jobs other than routines... although I would think you could just cut-and-paste the User Variables stage from one job to the other. Depending on what "new sequence" means.
-craig

"You can never have too many knives" -- Logan Nine Fingers
ajithaselvan
Participant
Posts: 75
Joined: Mon Jul 12, 2010 4:11 am
Location: Chennai

Post by ajithaselvan »

Thanks Craig
Yes, I may need to cut and paste the required user variable activities to new job.
Ajitha S
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

You can copy/paste the User Variables activity to a new sequence; you'd also need to copy/paste the Execute Command activity. And each sequence would therefore run the command.
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