I have a very complex COBOL program where I am investigating a calculation error, but the code test bed winds up invoking it for quite q few more times than I am interested in seeing variable values during the calculation process.
What I would like to do is to turn on LE COBOL DEBUG at the start of the batch driving program then turn it off dynamically until one specific place where the program at issue is called, turn it ON before the call and then turn is off again on return from that call. I have been reading the LE Vendor Interfaces chapter on the various debug hooks, but I am a little lost. What I want to do is to turn off COBOL "debug" lines like: DEBUG>D DISPLAY MY-PGM-ID ': VARNAME1=' VARNAME1 In the program being researched and turn them ON again just before the specific CALL to that program and OFF again on return from that program. I am getting the sense from my LE reading that this is probably NOT possible, but I thought it was worth asking here where there is more expertise than I have. Peter This message and any attachments are intended only for the use of the addressee and may contain information that is privileged and confidential. If the reader of the message is not the intended recipient or an authorized representative of the intended recipient, you are hereby notified that any dissemination of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by e-mail and delete the message and any attachments from your system. ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
