 | Hi Willi, > > In the link listing of the program I found a static called subroutine > who has some entry points, and the calls using only the entry points, > not the main entry. > The subroutine was written in COBOL/VSE and the calling program too. > > My question is now, can we use such a constuction under CICS or is it > disallowed? > Until now I did not found any hint in the books. > > All hints and tips or experience are wellcome. >
The COBOL/VSE Language Reference guide under the "Call Statement" states : "When the called subprogram is entered through an ENTRY statement, literal-1 or the contents of identifier-1 must be the same as the name specified in the called subprograms ENTRY statement."
The only limitation I could find regarding calling ENTRY statements rather than program-names is that the caller and callee must be in the same load module (or PHASE). This is explained on Pg 56 "Conventions for Program-Names" in the same manual. You can reference the updated version of this and other COBOL/VSE manuals in PDF form from the COBOL/VSE website which is at : http://www-306.ibm.com/software/awdtools/cobol/vse/library/
>From your description of how your COBOL/VSE programs are constructed, I would not think this would be your problem. But if you would like, you can send me the complete compile listings (please use CBL LIST) and linkedit map from the two COBOL/VSE programs involved and I will review them for you to confirm what you have setup is correct.
Regards, Garry Hasler VM/VSE Systems Programmer APC - Perth,WA
> Thanks in advance. > > Willi Kuhn > > msg systems ag > Huerth/Germany
|
|