IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Global Variable or Session Variable?


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
tututnb56

New User


Joined: 15 Oct 2008
Posts: 2
Location: Hyderabad,India

PostPosted: Sat Oct 18, 2008 11:31 am
Reply with quote

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
View user's profile Send private message
Terry Heinze

JCL Moderator


Joined: 14 Jul 2008
Posts: 1249
Location: Richfield, MN, USA

PostPosted: Sat Oct 18, 2008 8:01 pm
Reply with quote

Yes -- see GLOBAL and EXTERNAL in the COBOL Language Reference Manual.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Sat Oct 18, 2008 8:01 pm
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> COBOL Programming

 


Similar Topics
Topic Forum Replies
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
No new posts Variable Output file name DFSORT/ICETOOL 8
No new posts Moving Or setting POINTER to another ... COBOL Programming 2
No new posts parsing variable length/position data... DFSORT/ICETOOL 5
No new posts Masking variable size field - min 10 ... DFSORT/ICETOOL 4
Search our Forums:

Back to Top