This got sent to Gilbert only. Reposting for the list. Good idea. I'll give it a try. We also created the worlds shortest Cobol program that does something. It calls the Assembler program thereby also creating an enclave.
Alan Schwartz Assurant Shared Business Services Lead Systems Programmer Phone: 651-361-4758 Fax: 651-361-5625 Gilbert Saint-Flour <[EMAIL PROTECTED]> Sent by: IBM Mainframe Discussion List <IBM-MAIN@BAMA.UA.EDU> 07/06/2006 04:28 PM Please respond to [EMAIL PROTECTED] To IBM-MAIN@BAMA.UA.EDU cc Subject Re: COBOL Working Storage being reset Alan, I suggest that you add CALL ILBOSTP0 at the beginning of the assembler program (make sure R13 is clean). This is the simplest way to create an enclave and tell the COBOL module that it's a sub-program, not a main program. ************************************************************************************** This e-mail message and all attachments transmitted with it may contain legally privileged and/or confidential information intended solely for the use of the addressee(s). If the reader of this message is not the intended recipient, you are hereby notified that any reading, dissemination, distribution, copying, forwarding or other use of this message or its attachments is strictly prohibited. If you have received this message in error, please notify the sender immediately and delete this message and all copies and backups thereof. Thank you. ************************************************************************************** ---------------------------------------------------------------------- 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