Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Passing group items out of a COBOL stored procedure

Status
Not open for further replies.

sumituk1

Programmer
Nov 17, 2004
1
GB
Hi,

does anyone know if we can pass a repeating group (group item) out of a cobol stored procedure . I know I can pass out a result set(i.e. a cursor) .

Can I pass out something like:

01 OUTGROUP OCCURS 5 TIMES.
03 IFIN1-PLANNED-PYT
05 PP-DUE-DATE PIC X(8).
05 PP-AMT PIC S9(12).
03 IFIN1-PC
05 PC-OS-AMT PIC S9(12).

out of a COBOL stored procedure?

Regards,
Sumit
 
Sumit,
I'm not awhere of any reason why not. Craig Mullins describes on this page: how to pass an array TO the stored procedure (find and click on "listing 13.1" on the page), so I guess you can use the same method to pass back ie. pass the 01 level

Hope this helps,

Marc
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top