View previous topic :: View next topic
|
Author |
Message |
tututnb56
New User
Joined: 15 Oct 2008 Posts: 2 Location: Hyderabad,India
|
|
|
|
Hello Friends,
Can anyone tell me is there any concept in Mainframe which will work like either Global Variable or Session Variable? Which is helpful to move value of a variable from 1 program to another. if it is plz tell me how to use it. |
|
Back to top |
|
|
Terry Heinze
JCL Moderator
Joined: 14 Jul 2008 Posts: 1249 Location: Richfield, MN, USA
|
|
|
|
Yes -- see GLOBAL and EXTERNAL in the COBOL Language Reference Manual. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
There is no global cobol variable (i.e. across tso/ispf, cics, batch, etc).
Most requirements for some common data is to put this in a database where it is available "globally".
If you have some particular situation, post what you are looking for and someone may have a suggestion. |
|
Back to top |
|
|
|