Cobol prog LINKing another prog

Support for OS/VS COBOL, VS COBOL II, COBOL for OS/390 & VM and Enterprise COBOL for z/OS
sankar.guna
Posts: 11
Joined: Wed Apr 02, 2008 5:05 pm
Skillset: COBOL,CICS,DB2,IMS,VSAM,JCL
Referer: Friend

Cobol prog LINKing another prog

Postby sankar.guna » Thu May 15, 2008 7:29 pm

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.?

CICS Guy
Posts: 246
Joined: Wed Jun 20, 2007 4:08 am

Re: Cobol prog LINKing another prog

Postby CICS Guy » Thu May 15, 2008 7:40 pm

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?


  • Similar Topics
    Replies
    Views
    Last post