When using the Information Modeler you don't need to write the CREATE TYPE... command yourself.
All you got to do is to simply specify the input/output structures of your procedure and the types will be generated automagically during activation.
- Lars