Re: How to cancel with just the JES jobid?

2008-05-14 Thread Mark Jones
On Fri, 9 May 2008 23:14:56 -0500, Kenneth E Tomiak [EMAIL PROTECTED] wrote: How is it you came to have a jobid and not know the jobname? Maybe instead of fighting to find the name you can backtrack to what captured the jobid, it must have had a jobname at that point too. No. The assembler

Re: How to cancel with just the JES jobid?

2008-05-10 Thread Jack Schudel
SSI function code 54 can be used to retrieve the JES command character. It will also tell you if you are running under JES2 or JES3, the version level, and lots more information. Title: z/OS V1R9.0 MVS Using the Subsystem Interface Document Number: SA22-7642-06 Has the details, and even has a

Re: How to cancel with just the JES jobid?

2008-05-10 Thread Edward Jaffe
Jack Schudel wrote: Note that the z/OS 1.9 level of the manual does not show the COMMAND_PREFIX= value, which may imply that it is not yet available for JES3 sites. It has been available in JES2 since z/OS 1.5. I doubt IBM JES3 would ever populate this field to make it compatible with JES2.

Re: How to cancel with just the JES jobid?

2008-05-10 Thread Jack Schudel
Going back to the OP's question about finding the current installation's command character to allow him to issue a JES cancel by jobid command, would it be sufficient in a JES3 environment to just extract any of the JES3 command characters from a D OPDATA console command, since JES3 sites do

Re: How to cancel with just the JES jobid?

2008-05-10 Thread Edward Jaffe
Jack Schudel wrote: Going back to the OP's question about finding the current installation's command character to allow him to issue a JES cancel by jobid command, would it be sufficient in a JES3 environment to just extract any of the JES3 command characters from a D OPDATA console command,

Re: How to cancel with just the JES jobid?

2008-05-10 Thread Wayne Driscoll
Ed, I agree, the SSI manual is (almost) useless. I was in the process of writing a NOTIFY like process at my third employer before it was brought to my attention that the SSI was now documented, I think I wrote the first one in 1990 or something like it. Wayne Driscoll Product Developer NOTE:

How to cancel with just the JES jobid?

2008-05-09 Thread Mark Jones
From an authorized assembler program, I've got just a JES jobid (JOBn) and need to cancel it. This needs to work with both JES2 and JES3. There are two possible ways to do this, z/OS cancel or JES cancel. Build a command and issue SVC 34. z/OS Cancel A z/OS cancel (C jobname,A=asid)

Re: How to cancel with just the JES jobid?

2008-05-09 Thread McKown, John
From looking at the documentation on the IAZXJSAB macro, you can step through the ASVT and get information about the job running in that address space. Including the JOBNAME, JOBID (JES job number JOBn, STCn, TSUn). -- John McKown Senior Systems Programmer HealthMarkets Keeping the

Re: How to cancel with just the JES jobid?

2008-05-09 Thread Edward Jaffe
Mark Jones wrote: From an authorized assembler program, I've got just a JES jobid (JOBn) and need to cancel it. This needs to work with both JES2 and JES3. There are two possible ways to do this, z/OS cancel or JES cancel. Build a command and issue SVC 34. Are you able to use SSI

Re: How to cancel with just the JES jobid?

2008-05-09 Thread Mark Jones
On Fri, 9 May 2008 13:06:08 -0700, Edward Jaffe [EMAIL PROTECTED] wrote: Mark Jones wrote: From an authorized assembler program, I've got just a JES jobid (JOBn) and need to cancel it. This needs to work with both JES2 and JES3. There are two possible ways to do this, z/OS cancel or

Re: How to cancel with just the JES jobid?

2008-05-09 Thread Kenneth E Tomiak
How is it you came to have a jobid and not know the jobname? Maybe instead of fighting to find the name you can backtrack to what captured the jobid, it must have had a jobname at that point too. On Fri, 9 May 2008 14:34:39 -0500, Mark Jones [EMAIL PROTECTED] wrote: From an authorized

Re: How to cancel with just the JES jobid?

2008-05-09 Thread Edward Jaffe
Mark Jones wrote: On Fri, 9 May 2008 13:06:08 -0700, Edward Jaffe [EMAIL PROTECTED] wrote: Are you able to use SSI function code 2 (CANCEL)? IEFSSCS has the SSOB mapping. Yes I guess, but it isn't documented in the MVS Using the Subsystem Interface manual. I could try to figure it