Page 1 of 1

Cobol prog LINKing another prog

PostPosted: Thu May 15, 2008 7:29 pm
by sankar.guna
hi all,
i have cobol prog PRG1. That call another prog using LINK. PRG1 uses a group variable GRPVR1 to send data to PRG2(called program)
In PRG2 can we have a different group variable GRPVR2 in the RETRIEVE statement.
can we have a two different group variables in the calling prog and the called prog to send data.?

Re: Cobol prog LINKing another prog

PostPosted: Thu May 15, 2008 7:40 pm
by CICS Guy
sankar.guna wrote:i have cobol prog PRG1. That call another prog using LINK. PRG1 uses a group variable GRPVR1 to send data to PRG2(called program)
OK.....
In PRG2 can we have a different group variable GRPVR2 in the RETRIEVE statement.
RETRIEVE?
can we have a two different group variables in the calling prog and the called prog to send data.?
Huh? Yes (I think), but I'm not really sure what you are asking for?