You should supply a PGM name, which should run in the SRVJOB selected.
Barbara's input is correct: STRISDB MYLIB/MYPGM INVPGM(*NO)
SRVJOB(*SELECT).
Select the job in which MYPGM should be running and it will show you the
prograsmme source at the next statement. You can step through the source or
set a breakpoint.
With regards,
Carel Teijgeler
*********** REPLY SEPARATOR ***********
On 11-7-2008 at 17:49 Barbara Morris wrote:
Alan Shore wrote:
Thanks Barbara
I tried it using your method, but it was looking for a program called
SRVJOB (which does not exist)
What I think I have to do is STRISDB INVPGM(*NO) SRVJOB(*SELECT)
but then this responds with Parameter PGM required.
and according to the documentation - you shouldn't need that
information.
I had done STRISDB MYLIB/MYPGM INVPGM(*NO) SRVJOB(*SELECT). Sorry, I
was a bit too cryptic with what I wrote last time.
But ... I can't make it work any more. I just tried it again, to write
down the complete steps I did, and now the job ends as soon as I reply to
the message.
Sorry to have sent you down this path. I wish I knew what I did last time
differently ...