Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
How to give a return command from a linked program

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS
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    Post subject: How to give a return command from a linked program
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    Post subject: LINK Vs XCTL
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    Post subject:
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    Post subject:
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    Post subject:
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    IBMMAINFRAMES.com Support Forums -> CICS All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts How to write Rexx program to size and... sreejeshcs CLIST & REXX 14 Thu Oct 12, 2017 7:26 am
No new posts Accessing CICS tran with map from JCL... navdeepaggarwal CICS 5 Tue Oct 03, 2017 6:15 pm
No new posts MQ command in option 6 of ISPF! Vignesh Sid All Other Mainframe Topics 3 Tue Sep 26, 2017 6:01 pm
No new posts Return a Non Numeric value from REXX Learncoholic CLIST & REXX 3 Fri Sep 01, 2017 8:33 pm
No new posts How to change a string containing the... chong.zhou TSO/ISPF 6 Tue Aug 29, 2017 4:54 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us