OK, so here is the final diagnosis: They had an error in their automated build process that was causing the programs to be translated by the CICS translator, which prefixed the LINKAGE SECTION with the CICS EIB area. That meant that the LINKAGE section mapping didn't match the actual passed in data.
Whew. That was fun :) David Logan -----Original Message----- From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf Of Richard Peurifoy Sent: Thursday, May 28, 2009 9:33 AM To: [email protected] Subject: Re: IMS..IMS..Gotta love IMS. Why is my PCB failing? David Logan wrote: > Just to provide an interesting update on this: It appears that the engineers > are compiling these COBOL programs in some odd way. When I compile them, > they work. I wonder if it could be that they are compiling them on a > different platform. I know they like to compile their stuff on z/OS 1.4 > still (and all of our IMS testing has been done on z/OS 1.8) > > Anyway, that's the update. No coding error, it's somehow environmental. > Thanks again to those who gave me the tips to speed up my productivity! This might be caused by using uninitialized fields, or indexing past the end of an array. What you get depends on what happens to be in memory. The SSRANGE COBOL option can help find array index problems. For uninitialized fields, you either have to find them and initialized them before you use them or use the set the LE option to clear memory. -- Richard ---------------------------------------------------------------------- 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 ---------------------------------------------------------------------- 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

