semigeezer Supermod
Joined: 03 Jan 2003 Posts: 1014 Topics: 13 Location: Atlantis
|
Posted: Wed Nov 19, 2008 1:37 pm Post subject: |
|
|
it sounds like a macro has redefined the CANCEL command to be something else, but it could also be a few other things - command tables are screwed up, you are running in an application id that has CANCEL redefined, and some other much less likely things. From the description, I'm not sure what panel is being displayed when you get this error. You can type the PANELID command to see that.
To see if it is a command table problem, type >CANCEL instead of CANCEL. That will skip the command tables
To see if it is a redefined command in the editor type BUILTIN CANCEL instead of CANCEL.
I think though that the design here is flawed. The user should never have to enter details like job name and job number. You should submit the job and trap that information from your program. You need to do the submit after they end the edit session. Use a temporary data set if you need to. _________________ New members are encouraged to read the How To Ask Questions The Smart Way FAQ at http://www.catb.org/~esr/faqs/smart-questions.html. |
|