PDA

View Full Version : Set variables step



jagadish.varma
07-17-2009, 08:29 AM
Hi all,

can you please tell me how to set a variable in the set variable step and i have to call that varaible in to the GET FTP step.

so what is the process to set and call the vaiable in those steps.

If any one have any idea please let me know to move forward.....hope u will guys...........

Regards,
jagadish kumar varma.:)

sboden
07-17-2009, 09:40 AM
make a transformation that uses set variable step to set the variable (valid in root job e.g.) and then call that transformation in a job before you do the ftp job entry.

Mentioned before a "couple" of times. You can't reliably use a variable in the same transformation as where you defined it in. But the above does not have such a problem ;)

Regards,
Sven

jma01
07-17-2009, 09:45 AM
Hi all,

can you please tell me how to set a variable in the set variable step and i have to call that varaible in to the GET FTP step.

so what is the process to set and call the vaiable in those steps.

If any one have any idea please let me know to move forward.....hope u will guys...........

Regards,
jagadish kumar varma.:)

I have do it :
In a job, make a transformation.
In this transformation, init the variable (in my case :
setEnvironmentVar("ZZMMJJ",date2str(DATEMOD.getDate() , "MMdd" ));

So in the job you can use it
(in my case : the FTP file name is FRA${ZZMMJJ})

jagadish.varma
07-20-2009, 02:01 AM
Hi thanks Guys for your help.......the problem is solved.....


Regards,
jagadish kumar varma.