I do not kow the debug tool. But from other languages, should there be a semicolon before the DO as well as After.
Check the documentation for this. Sometimes examples are not 100% correct. I suggest testing the following lines ( I could not tell how the actual line was coded so I just copied the lines that were in the posting): > ON ENTRY C2IE11JB::>C2IE11 ; DO; SET SOURCE ON C2IE11 > PDEND.USS.IDILANGX(C2IE11JB); LDD C2IE11;END; You notice the END has a before and after semi colon because the previous command needed to be terminate. Lizette > -----Original Message----- > From: IBM Mainframe Assembler List [mailto:[email protected]] > On Behalf Of Bodoh John Robert > Sent: Thursday, August 16, 2012 7:52 AM > To: [email protected] > Subject: IBM Debug Question > > I don't know if this is the right list to ask but I am learning the IBM Debug Tool and am > getting a syntax error where I think I am using the correct syntax. I am dealing with > only assembler code and have the following command in my SAVESETS data set: > > ON ENTRY C2IE11JB::>C2IE11 DO; SET SOURCE ON C2IE11 > PDEND.USS.IDILANGX(C2IE11JB); LDD C2IE11;END; > > I get the following error: > > An error was found at line 8 in the current input file. > The partially parsed command is: > AT OCCURRENCE ENTRY > C2IE11JB::>C2IE11 > The command element DO is invalid. > > What am I doing wrong. I'm following examples in the book. > > John
