Code: |
--#SET TERMINATOR #
DROP PROCEDURE SYSPROC.MY_PROCEDURE # CREATE TYPE intArray AS INTEGER ARRAY[100] # CREATE PROCEDURE SYSPROC.MY_PROCEDURE ( --INPUT VARIABLES IN IN_IDS intArray, |
ed.sam13 wrote: |
Can stored procedures created for DB2 on z/OS support arrays? I tried the example in https://www-01.ibm.com/support/knowledgecenter/SSEPGG_9.7.0/com.ibm.db2.luw.apdv.sqlpl.doc/doc/c0052894.html but doesnt work.
This is my Native SP. Create Type doesnt throw an error but the usage of INTARRAY in the input or as other DECLARE variable type is throwing an error. |
output generated using printer-friendly topic mod. All times are GMT - 5 Hours