I think what you are looking for is at: http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/dfhp3c00/1.3.4.1
I am not positive that this "matches my memory" but what it shows there is that BOTH EXEC CICS RETURN and GoBack are valid from a COBOL subprogram entered via EXEC CICS LINK or Dynamic CALL. However, what level they go back to "depends" "Bartosz R" <[EMAIL PROTECTED]> wrote in message news:<[EMAIL PROTECTED]>... > On 13 Sie, 15:44, Kevin Wailes <[EMAIL PROTECTED]> wrote: > > On 13 Aug, 07:31, Bartosz R <[EMAIL PROTECTED]> wrote: > > > Hi all, > > > > > does anyone know whether or not it is allowed to GOBACK from a COBOL > > > program that was EXEC CICS LINKed? Are there any repercussions of > > > this? The IBM manual for the CICS TS 3.1 says: > > > > > Return from subprogram > > > LINK > > > The linked subprogram must return using either RETURN or a native > > > language return command such as the COBOL statement GOBACK. > > > > > If I read it correctly there is no difference, whether I issue the > > > EXEC CICS RETURN or GOBACK. Is that true? How about the CICS logical > > > level, which is supposed to be increased by LINK and decreased by > > > RETURN? > > > Thanks in advance > > > > You can use either but what happens depends on how your subprogram is > > invoked. There's a fairly comprehensive description in the > > Infocentre : > > > > http://publib.boulder.ibm.com/infocenter/cicsts/v3r1/index.jsp?topic=...- Ukryj cytowany tekst - > > > > Well, that's what I though also. But the aforementioned sentence > states that even when you LINK a program you can ISSUE a GOBACK > instead of EXEC CICS RETURN (which IMHO is not true). The sentence I > quoted comes from exactly that infocenter article. Can anyone help? > Should I just experiment with this? ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html

