Cobol prog LINKing another prog



Support for OS/VS COBOL, VS COBOL II, COBOL for OS/390 & VM and Enterprise COBOL for z/OS

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.?
sankar.guna
 
Posts: 11
Joined: Wed Apr 02, 2008 5:05 pm
Has thanked: 0 time
Been thanked: 0 time

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?
CICS Guy
 
Posts: 246
Joined: Wed Jun 20, 2007 4:08 am
Has thanked: 0 time
Been thanked: 0 time


Return to IBM Cobol

 


  • Related topics
    Replies
    Views
    Last post