View previous topic :: View next topic
|
Author |
Message |
karthick sivakumar
New User
Joined: 16 Mar 2006 Posts: 16 Location: india
|
|
|
|
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 |
|
|
BMKUMAR
New User
Joined: 09 May 2006 Posts: 3 Location: Bangalore
|
|
|
|
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 |
|
|
BMKUMAR
New User
Joined: 09 May 2006 Posts: 3 Location: Bangalore
|
|
|
|
Hi Karthick,
Can u send the error message u get
Cheers,
bmk |
|
Back to top |
|
|
BMKUMAR
New User
Joined: 09 May 2006 Posts: 3 Location: Bangalore
|
|
|
|
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 |
|
|
arunjosephaj
New User
Joined: 21 Mar 2006 Posts: 20 Location: India
|
|
|
|
Y dont u just pass the map variable using the COMMAREA???? |
|
Back to top |
|
|
|