IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.



#Automation


#Applicationintegration
#webMethods
#Integration
 View Only
  • 1.  Arrays in 5.2 & 8.2

    Posted 03/18/13 02:38 PM

    Hi,

    We are in process of migrating from 5.2 to 8.2.

    We would like to know how the below condition will work in 5.2, so that we can re-write same in 8.2

    If Is(Trim((Exec_Proc_2_Out/StatusScript[]) ) = “XYZZZZ” )

    Appreciate your help

    Regards,
    Vamsi


    #ApplinX
    #Mainframe-Integration
    #webMethods


  • 2.  RE: Arrays in 5.2 & 8.2

    Posted 03/19/13 09:20 AM

    Hi Vasmi,

    I’m not sure I understand the question, the syntax you mentioned is from 8.2, so why do you need it converted to 5.2.5 and then re-write it again in 8.2.2?

    As for the condition itself, I’m not sure if you can use it without specifying an index for the StatusScript array as there are multiple values expected and you’re comparing it with just one value.
    When I tried a similar condition, in version 8.2.2, I get this: If Is(Trim((Exec_Proc_2_Out/StatusScript[index]) ) = “XYZZZZ” ), where “index” is an expression that you’re expected to define.
    In run-time it seems to take the first value, if no index was specified.

    Regards,
    Gadi


    #ApplinX
    #Mainframe-Integration
    #webMethods