You need to see the program is being run with the same user ID you
specified when starting the debugger. If the user profiles do not match, it
will not stop.
I also put the first executable statement in the program as a breakpoint.
Then change the properties of the breakpoint to be the SEP. Then run the
program. You can test it on a simple program.
You can also call the program from the debugger if you can do that. If you
are trying to debug something like a production job, you need to get the
set up of the break points correct. As you are on PUB400, it is not a
production job so change the debug setting to allow you to call the program
in the debugger, if it is not an interactive job.
When you start debug, check the first option, "Submit and Debug program in
batch job".
If you are doing an interactive job, Select "debug an existing job on
system". Go down to the Existing job box. Click browse. It will display all
jobs. Enter your user profile in the user portion of the search box. Leave
job and job number = All. Click Search. Then double click on your session
in the panel below and call your program from the command line or menu.That
should work.

Darryl.



On Sun, Jun 25, 2023 at 1:03 PM Sam_L <lennon_s_j@xxxxxxxxxxx> wrote:

I'm trying to use the system debugger for iACS. I can set breakpoints,
but the program never stops and always runs to completion.

In the job log of the debug server is see "MCH1004 Thread is not
authorized to perform instruction requiring a special authority."

I'm running on PUB400.COM so does anyone know what authority might be
needed so I can stop on breakpoints?

In this case I'm debugging a store procedure, but I've run into a
similar problem on RPG.

Sam
Additional Message Information



Message ID . . . . . . : MCH1004 Severity . . . . . . . : 40

Message type . . . . . : Escape

Date sent . . . . . . : 06/25/23 Time sent . . . . . . :
16:42:40


Message . . . . : Thread is not authorized to perform instruction
requiring
a special authority.

Cause . . . . . : You tried to perform an instruction which requires
a
special authority in a thread which does not have that special
authority
available to it.




--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/midrange-l.

Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related
questions.



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.