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

Variables value in called program


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

New User


Joined: 13 Apr 2006
Posts: 7

PostPosted: Thu Jul 27, 2006 1:00 pm
Reply with quote

Hi All,

If a variabke value is set in the called program is it accessible in the calling program

Do reply ASAP.


regards,
Soumya
Back to top
View user's profile Send private message
sri.mainframes

New User


Joined: 16 Feb 2006
Posts: 29
Location: MUMBAI

PostPosted: Thu Jul 27, 2006 1:15 pm
Reply with quote

hi soumya,

your question is not clear,

the calling program can access the parameters,( that are passed to the called program and these parameters may or may not updated in the called program, that is dependent on the arguments passing technique, however the calling program can not access other variables in the called program.


if you really need to access any other variables from the called program
then simply move the variable you want to access to the parameters,
they directly reflected in the calling program

if this is not clear revert back

regards
PRINCE
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 Using API Gateway from CICS program CICS 0
No new posts DB2 Event passed to the Application P... DB2 1
No new posts How to pass the PARM value to my targ... COBOL Programming 8
No new posts REXX code to expand copybook in a cob... CLIST & REXX 2
No new posts EZT program to build a flat file with... All Other Mainframe Topics 9
Search our Forums:

Back to Top