Coding Array in Stored Procedure from RPG

I have a requirement where I am calling an RPG module which is returning an array as a result , I need to accept that array in my Stored Procedure

How can I do that in my INOUT parameters ?

arrays are not part of SQL. You can put it in XML or table variable

Can you show me one example

Thanks, But I am trying to get the code from RPGLE

this is a microsoft SQL Server T-SQL forum .. you will get much better help in RPGLE forums

Can you send me the link for RPGL forums ?