US and Worldwide: +1 (866) 660-7555
Results 1 to 4 of 4

Thread: Set variables step

  1. #1

    Default Set variables step

    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.

  2. #2
    Join Date
    May 2006
    Posts
    4,882

    Default

    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

  3. #3
    Join Date
    Jan 2009
    Posts
    11

    Default Set variables step

    Quote Originally Posted by jagadish.varma View Post
    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})

  4. #4

    Default

    Hi thanks Guys for your help.......the problem is solved.....


    Regards,
    jagadish kumar varma.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •