Template task using 2 objects

53 views
Skip to first unread message

Mårten Peterson

unread,
Apr 30, 2012, 8:47:55 AM4/30/12
to CozyRoc
On page http://www.cozyroc.com/ssis/template-task there are an image
of the Template Editor using list1 and list2. How do i pass 2 objects
to the template Task? I only find it possible to specify one
variablename.

Any suggestions?

Best regards
Mårten

Ivan Peev

unread,
Apr 30, 2012, 9:23:26 AM4/30/12
to coz...@googlegroups.com
Hi Marten,

To pass two objects, you have to specify two parameters for your script. For example:

#macro( main $list1, $list2 )
...
...
#end
#main( $list1, $list2 )

Ivan Peev

unread,
Apr 30, 2012, 9:29:56 AM4/30/12
to coz...@googlegroups.com
Marten,

I'm sorry the correct syntax is:

#macro( main $list1 $list2 )
...
...
#end
#main( $list1 $list2 )

On Monday, April 30, 2012 8:47:55 AM UTC-4, Mårten Peterson wrote:

Mårten Peterson

unread,
Apr 30, 2012, 11:00:02 AM4/30/12
to CozyRoc
Amazing! That helped a lot.
Reply all
Reply to author
Forward
0 new messages