Forum Discussion
RoutingLoop_179
May 29, 2013Cirrus
Thanks Joe, Yes sorry in the case of my testing I've just been passing scalar strings. I have actually tried square brackets previously and it gives back an exception of Common::InvalidArgument for types. I'll have a look using the debug tomorrow as to why it might be as not in the office now. An example of the parameters i'm passing to the subroutine are:
files as a string e.g "wl-datagroup-1", (i've tried specifically stating the partition i.e /Common/wl-datagroup-1)
paths as a string e.g "filename", (i've used full path and/or relative path location)
types as integer e.g 2 for string datagroup (i've also tried the datagrouptype member name e.g DATA_GROUP_STRING)
as i said if types is set as an integer then wrapped in square brackets it gives an InvalidArgument exception.
Thanks for you help, I'll have a another look to what i've done wrong tomorrow. I'll post my whole script too.