On Wed, Mar 5, 2008 at 9:15 AM, Thomas Berg <[EMAIL PROTECTED]> wrote: > > [mailto:[EMAIL PROTECTED] För Don Leahy > > Skickat: den 5 mars 2008 14:49 > > > Till: IBM-MAIN@BAMA.UA.EDU > > Ämne: Re: SV: Debug Tool know how... > > > > > > On Wed, Mar 5, 2008 at 8:09 AM, Thomas Berg > > <[EMAIL PROTECTED]> wrote: > > > Yes, I have looked into it. > > > But my problems is like: The manual says You can > > > use the DT variable %CU or %BLOCK in place of > > > names of current items, e g " AT CHANGE %CU:>VARIABLE-NAME ", > > > etc. But I get syntax error for that and so on. > > > I also get other errors regarding qualification of > > > variables. The manual is very short on syntax and its > > > restrictions. > > > > > > So I need some advice from someone that have used DT > > > a lot. Or whatever examples of DT code that can be > > > found. > > > > I am a DT user but unfortunately I do not know the answer to your > > question. What I do know is that the concepts of CU and BLOCK seem to > > be language-dependent and I have never found them very helpful when > > debugging Cobol programs. Also, our shop is still using version 5.1, > > which is not very current, and DT seems to change quite substantially > > from release to release. > > We runs ver 7.1 (upgraded recently from 6.1). > If You have some examples of AT CHANGE and LIST with > qualified variables I would be pleased if You can send > any to me. > > BTW, I'm trying to use this code in pre-saved PDS-members > to be run automatically in DT, if that make any difference. > > Thanks, > > > Thomas
Fully qualified names work for me: AT LABEL CXXMU21::>CXXMU21:>CXXMU21:>MAIN-OUTPUT Where CXXMU21 is my load module name. This also works for me: AT LABEL %BLOCK:>MAIN-OUTPUT And so does AT LABEL %CU:>MAIN-OUTPUT But not: AT LABEL %CU:>%BLOCK:>MAIN-OUTPUT and AT LABEL %LOAD::>%CU:>%BLOCK:>MAIN-OUTPUT For the Cobol programs that I work with the variables %LOAD, %CU and %BLOCK always have the same value. But DT doesn't seem to like it when you use multiple variables. ---------------------------------------------------------------------- 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