passing values to start loop using execute command
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 437
- Joined: Fri Oct 15, 2004 6:13 am
- Location: Pune, India
Never used the loops n all.
But may be a work around I would have gone for - Use the routine to perform looping as per the no. of values in input. Call the job or sequence in the loop in routine.
Other option could be a job param, but I think there is a limitation to its length.
But may be a work around I would have gone for - Use the routine to perform looping as per the no. of values in input. Call the job or sequence in the loop in routine.
Other option could be a job param, but I think there is a limitation to its length.
Regards,
S. Kirtikumar.
S. Kirtikumar.
-
- Participant
- Posts: 65
- Joined: Fri Nov 19, 2004 12:00 am
Hi Thanks,
our is like we have input file where we are maintaining the client code.
That code is passed as where condition in few jobs based on the client code o/p file is produced for that particular code.
We can generalise the process by using parameter in where condition like
where client code = $CD.
But my question is like how to make this as generic in sequencer...
if there is any limit of passing the values to parameters..
I tried user variable stage but iam not able to add var.its not showing any add button.
Could you please tell me how to use user variable and will it be solution for the above?
Thanks in advance
our is like we have input file where we are maintaining the client code.
That code is passed as where condition in few jobs based on the client code o/p file is produced for that particular code.
We can generalise the process by using parameter in where condition like
where client code = $CD.
But my question is like how to make this as generic in sequencer...
if there is any limit of passing the values to parameters..
I tried user variable stage but iam not able to add var.its not showing any add button.
Could you please tell me how to use user variable and will it be solution for the above?
Thanks in advance
With Regards,
Poornagirija.
"Don't limit your challenges - challenge your limits"
Poornagirija.
"Don't limit your challenges - challenge your limits"
-
- Participant
- Posts: 612
- Joined: Thu May 03, 2007 4:59 am
- Location: Melbourne
Right click and you will get the option for this.
No limits
Poornagirija wrote: I tried user variable stage but iam not able to add var.its not showing any add button.
No limits
But my question is like how to make this as generic in sequencer...
if there is any limit of passing the values to parameters..
Joshy George
<a href="http://www.linkedin.com/in/joshygeorge1" ><img src="http://www.linkedin.com/img/webpromo/bt ... _80x15.gif" width="80" height="15" border="0"></a>
<a href="http://www.linkedin.com/in/joshygeorge1" ><img src="http://www.linkedin.com/img/webpromo/bt ... _80x15.gif" width="80" height="15" border="0"></a>
-
- Participant
- Posts: 65
- Joined: Fri Nov 19, 2004 12:00 am
-
- Participant
- Posts: 612
- Joined: Thu May 03, 2007 4:59 am
- Location: Melbourne
You can do this in many ways.
Pls. refer THIS post for one way of doing it.
Pls. refer THIS post for one way of doing it.
Joshy George
<a href="http://www.linkedin.com/in/joshygeorge1" ><img src="http://www.linkedin.com/img/webpromo/bt ... _80x15.gif" width="80" height="15" border="0"></a>
<a href="http://www.linkedin.com/in/joshygeorge1" ><img src="http://www.linkedin.com/img/webpromo/bt ... _80x15.gif" width="80" height="15" border="0"></a>
-
- Participant
- Posts: 65
- Joined: Fri Nov 19, 2004 12:00 am
Hi Josh,
Thank you very much for redirecting me to the exact one!
You were also involved in that discussion.
My file is like
AA
BB
CC
I need to pass these values to start loop.I have used char(10) as ray suggested.But iam getting DSSetParam(CLIENT),code=-4 error.I know its related to new line character...
but dont know how to get rid of these.
The same job is working fine for , delimiter...
like AA,BB,CC
Any suggestions for me...
Thanks
Thank you very much for redirecting me to the exact one!
You were also involved in that discussion.
My file is like
AA
BB
CC
I need to pass these values to start loop.I have used char(10) as ray suggested.But iam getting DSSetParam(CLIENT),code=-4 error.I know its related to new line character...
but dont know how to get rid of these.
The same job is working fine for , delimiter...
like AA,BB,CC
Any suggestions for me...
Thanks
With Regards,
Poornagirija.
"Don't limit your challenges - challenge your limits"
Poornagirija.
"Don't limit your challenges - challenge your limits"
-
- Participant
- Posts: 65
- Joined: Fri Nov 19, 2004 12:00 am
Hi,
Thanks to all.
Now i got rid of the error.
But i have changed the file format to loop as below.
AA,BB,CC
its working with this format not with
AA
BB
CC
Anyway i found a workaround.
Is there any limit of passing values to start loop?
Thanks to all.
Now i got rid of the error.
But i have changed the file format to loop as below.
AA,BB,CC
its working with this format not with
AA
BB
CC
Anyway i found a workaround.
Is there any limit of passing values to start loop?
With Regards,
Poornagirija.
"Don't limit your challenges - challenge your limits"
Poornagirija.
"Don't limit your challenges - challenge your limits"