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

How to give a return command from a linked program


IBM Mainframe Forums -> CICS
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
karthick sivakumar

New User


Joined: 16 Mar 2006
Posts: 16
Location: india

PostPosted: Tue May 09, 2006 6:47 am
Reply with quote

Hi,

I tried to give a return command from a linked program and i got an abend saying i can't give return command from a program of a lower logical level. if i give xctl the parent program's linkage section ptr is set = 0 . so I'm unable to use a map variable from the parent program to which i need to pass a value got from the child program.but when i give a return xctl the map variable does not exist since the control starts from the procedure division..

is there any way to send and receive a map from a linked program and go back to the parent program.

please help me out asap.

Regards,
karthick
Back to top
View user's profile Send private message
BMKUMAR

New User


Joined: 09 May 2006
Posts: 3
Location: Bangalore

PostPosted: Tue May 09, 2006 5:13 pm
Reply with quote

Hi,

An EXEC LINK is similar to a call; it invokes a separate CICS program and ends with a RETURN to the invoking program. or

An EXEC XCTL which transfers control to another CICS program and does not get control back.

Hope this clears your doubt.

Cheers !
Back to top
View user's profile Send private message
BMKUMAR

New User


Joined: 09 May 2006
Posts: 3
Location: Bangalore

PostPosted: Tue May 09, 2006 5:23 pm
Reply with quote

Hi Karthick,
Can u send the error message u get icon_question.gif

Cheers,
bmk
Back to top
View user's profile Send private message
BMKUMAR

New User


Joined: 09 May 2006
Posts: 3
Location: Bangalore

PostPosted: Tue May 09, 2006 5:32 pm
Reply with quote

Hi Karthick,

I guess you are trying to Link a lower logical level program to a higher. Its not possible. Hence you are getting this error. Here This is my guess. Send me the exact error message.

Cheers,
bmkumar
Back to top
View user's profile Send private message
arunjosephaj

New User


Joined: 21 Mar 2006
Posts: 20
Location: India

PostPosted: Tue May 16, 2006 5:04 pm
Reply with quote

Y dont u just pass the map variable using the COMMAREA????
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 -> CICS

 


Similar Topics
Topic Forum Replies
No new posts RACF - Rebuild SETROPTS command which... All Other Mainframe Topics 3
No new posts Using API Gateway from CICS program CICS 0
No new posts Routing command Address SDSF to other... TSO/ISPF 2
No new posts DTL - how to define key with stacked ... TSO/ISPF 3
No new posts LTJ command CA Products 4
Search our Forums:

Back to Top