Re: What are STC, JOB and TSU?

2014-11-21 Thread Shmuel Metz (Seymour J.)
In
CAFO-8toTThE4dNeA1xxZFRDByzWZts=m4sqst+6arue07gu...@mail.gmail.com,
on 11/20/2014
   at 01:49 PM, zMan zedgarhoo...@gmail.com said:

Any guesses

We don't need no stinking guesses.

what STC *means*?

Started Task Control.
 
-- 
 Shmuel (Seymour J.) Metz, SysProg and JOAT
 ISO position; see http://patriot.net/~shmuel/resume/brief.html 
We don't care. We don't have to care, we're Congress.
(S877: The Shut up and Eat Your spam act of 2003)

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: What are STC, JOB and TSU?

2014-11-20 Thread Lindy Mayfield
Thank you every one very much for your valuable input.

From all I've read, the answer really wasn't very straightforward.  But the two 
experts SDSF and MXG call it Task Type, but not sure about IOF, I got bored 
looking for it. 

And in some of my own Rexx code I just found there were five types used: JOB, 
SUB, STC, TSU, OTH.  There wasn't a title (like Task Type) but I did assign 
them to variables starting ASCB.   (Personally with this particular work I 
only have JOB, STC, TSU).

John, the Unix stuff is so super cool like you said, but for me in this very 
particular case I am working on when I see a TSO user ID racking up CPU time as 
an STC, with my inside information I now know exactly what is going on.  They 
are spawned client/server sessions.

Regards,
Lindy

-Original Message-
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf 
Of John McKown
Sent: Wednesday, November 19, 2014 3:08 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: What are STC, JOB and TSU?


I would probably say something like: On z/OS there are four classifications of 
address spaces. Three of them are controlled by the Job Entry Subsystem (JES), 
and the type can be derived from the JES job id.
Those three types are J, S, and T; for JOB (batch work), STC (started task), 
and TSU (TSO users) respectively. The fourth type of address space is called a 
system address space. This type of address space runs outside of the control of 
the JES and so, normally, does do any SPOOL activity.
This type of address space can be started with an operator command by adding 
the SUB=MSTR parameter to the START. It can also be created programmatically 
using internal facilities such as the ASCRE system service. Since they run 
outside the control of JES, they do not normally have a JES job id. There are 
facilities whereby such an address space can register itself with JES, at which 
time it is given an STC job id.

I.e. substitute address space for blank. I am fairly sure that when the 
CPU is not in a WAIT, that there is a value in the PSAAOLD which, IMO, makes 
that ASID the current ASID. Hum, is this true? The only thing I'm not sure of 
is a global SRB. Can PSAAOLD be zero while a global SRB is running? The STO 
control register has to have _something_ valid in it unless you are somehow 
running DAT OFF. Which is _extremely_ rare in z/OS.

Depending on the level of detail you want, you might not want to even mention 
the system address space in such detail. But you might want to mention it 
briefly because such will show up in SDSF, but without a JES assigned id.

I also don't know if you want to inject anything about the weird and 
wonderful way that z/OS UNIX works. I.e. a batch job, with a JOBn assigned 
to it, can be a UNIX process. But a child process, created with fork()/spawn(), 
runs as a separate STCn type address space (ignoring local spawn(), of 
course). But that may be too much information. I couldn't even make it clear to 
other experienced sysprogs (one of whom had been a vendor developer) very well. 
But that may be a personal (me) issue. grin/


--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


AW: Re: What are STC, JOB and TSU?

2014-11-20 Thread Peter Hunkeler
 John, the Unix stuff is so super cool like you said, but for me in this very 
 particular case I am working on when I see a TSO user ID racking up CPU time 
 as an STC, with my inside information I now know exactly what is going on.  
 They are spawned client/server sessions.

Not necessarily clinent/server stuff, nor necessarily TSO user. You just define 
a USERID with a proper OMVS segment and no TSO segment. This user will be able 
to login to a UNIX shell via telnet/ssh/rlogin and do interactive work. These 
adress spaces will also show up as STC.

--
Peter Hunkeler


--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: What are STC, JOB and TSU?

2014-11-20 Thread J O Skip Robinson
We run APPC/ASCH. Here's what I see in SDSF. APPC and ASCH have no JES jobid. 
(Excuse the spacing; I can't seem to set the font in this note.)

JOBNAME  Sys StepName JobIDASIDX
APPC XX  APPC  0049
ASCH XX  ASCH  004E
ASCHINT  XX  ASCHINT  STC00503 0061

.
.
.
J.O.Skip Robinson
Southern California Edison Company
Electric Dragon Team Paddler 
SHARE MVS Program Co-Manager
626-302-7535 Office
323-715-0595 Mobile
jo.skip.robin...@sce.com

-Original Message-
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf 
Of Peter Hunkeler
Sent: Thursday, November 20, 2014 7:23 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: AW: Re: What are STC, JOB and TSU?

 John, the Unix stuff is so super cool like you said, but for me in this very 
 particular case I am working on when I see a TSO user ID racking up CPU time 
 as an STC, with my inside information I now know exactly what is going on.  
 They are spawned client/server sessions. 

Not necessarily clinent/server stuff, nor necessarily TSO user. You just define 
a USERID with a proper OMVS segment and no TSO segment. This user will be able 
to login to a UNIX shell via telnet/ssh/rlogin and do interactive work. These 
adress spaces will also show up as STC.

--
Peter Hunkeler

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


AW: Re: What are STC, JOB and TSU?

2014-11-20 Thread Peter Hunkeler
We run APPC/ASCH. Here's what I see in SDSF. APPC and ASCH have no JES jobid. 
(Excuse the spacing; I can't seem to set the font in this note.)

JOBNAME  Sys StepName JobIDASIDX
APPC XX  APPC  0049
ASCH XX  ASCH  004E
ASCHINT  XX  ASCHINT  STC00503 0061




APPC and ASCH are the system address spaces for APPC, ASCHINts are the 
initiator ASs analoguous to JES initiators seen as INIT. Both show up as STC 
when idle. JES Inits show up as Jnnn with the current jobname when a job is 
running inside. ASCHINTs probably show up as Annn (with what jobname) 
when an APPC transaction is running inside.


--
Peter Hunkeler



--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: What are STC, JOB and TSU?

2014-11-20 Thread zMan
Any guesses what STC *means*? Started TasC?

On Thu, Nov 20, 2014 at 12:07 PM, Peter Hunkeler p...@gmx.ch wrote:

 We run APPC/ASCH. Here's what I see in SDSF. APPC and ASCH have no JES
 jobid. (Excuse the spacing; I can't seem to set the font in this note.)

 JOBNAME  Sys StepName JobIDASIDX
 APPC XX  APPC  0049
 ASCH XX  ASCH  004E
 ASCHINT  XX  ASCHINT  STC00503 0061




 APPC and ASCH are the system address spaces for APPC, ASCHINts are the
 initiator ASs analoguous to JES initiators seen as INIT. Both show up as
 STC when idle. JES Inits show up as Jnnn with the current jobname when
 a job is running inside. ASCHINTs probably show up as Annn (with what
 jobname) when an APPC transaction is running inside.


 --
 Peter Hunkeler



 --
 For IBM-MAIN subscribe / signoff / archive access instructions,
 send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN




-- 
zMan -- I've got a mainframe and I'm not afraid to use it

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: What are STC, JOB and TSU?

2014-11-20 Thread Skeldum, William
I think it is Started Task Control.

Bill

-Original Message-
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf 
Of zMan
Sent: Thursday, November 20, 2014 11:50 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: What are STC, JOB and TSU?

Any guesses what STC *means*? Started TasC?

On Thu, Nov 20, 2014 at 12:07 PM, Peter Hunkeler p...@gmx.ch wrote:

 We run APPC/ASCH. Here's what I see in SDSF. APPC and ASCH have no
 JES
 jobid. (Excuse the spacing; I can't seem to set the font in this
 note.)

 JOBNAME  Sys StepName JobIDASIDX
 APPC XX  APPC  0049
 ASCH XX  ASCH  004E
 ASCHINT  XX  ASCHINT  STC00503 0061




 APPC and ASCH are the system address spaces for APPC, ASCHINts are the
 initiator ASs analoguous to JES initiators seen as INIT. Both show up
 as STC when idle. JES Inits show up as Jnnn with the current
 jobname when a job is running inside. ASCHINTs probably show up as
 Annn (with what
 jobname) when an APPC transaction is running inside.


 --
 Peter Hunkeler



 --
 For IBM-MAIN subscribe / signoff / archive access instructions, send
 email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN




--
zMan -- I've got a mainframe and I'm not afraid to use it

--
For IBM-MAIN subscribe / signoff / archive access instructions, send email to 
lists...@listserv.ua.edu with the message: INFO IBM-MAIN

The information contained in this electronic communication and any document 
attached hereto or transmitted herewith is confidential and intended for the 
exclusive use of the individual or entity named above. If the reader of this 
message is not the intended recipient or the employee or agent responsible for 
delivering it to the intended recipient, you are hereby notified that any 
examination, use, dissemination, distribution or copying of this communication 
or any part thereof is strictly prohibited. If you have received this 
communication in error, please immediately notify the sender by reply e-mail 
and destroy this communication. Thank you.

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: What are STC, JOB and TSU?

2014-11-20 Thread Ted MacNEIL
Started Task Control

-
-teD
-
  Original Message  
From: zMan
Sent: Thursday, November 20, 2014 13:49
To: IBM-MAIN@LISTSERV.UA.EDU
Reply To: IBM Mainframe Discussion List
Subject: Re: What are STC, JOB and TSU?

Any guesses what STC *means*? Started TasC?

On Thu, Nov 20, 2014 at 12:07 PM, Peter Hunkeler p...@gmx.ch wrote:

 We run APPC/ASCH. Here's what I see in SDSF. APPC and ASCH have no JES
 jobid. (Excuse the spacing; I can't seem to set the font in this note.)

 JOBNAME Sys StepName JobID ASIDX
 APPC XX APPC 0049
 ASCH XX ASCH 004E
 ASCHINT XX ASCHINT STC00503 0061




 APPC and ASCH are the system address spaces for APPC, ASCHINts are the
 initiator ASs analoguous to JES initiators seen as INIT. Both show up as
 STC when idle. JES Inits show up as Jnnn with the current jobname when
 a job is running inside. ASCHINTs probably show up as Annn (with what
 jobname) when an APPC transaction is running inside.


 --
 Peter Hunkeler



 --
 For IBM-MAIN subscribe / signoff / archive access instructions,
 send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN




-- 
zMan -- I've got a mainframe and I'm not afraid to use it

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: What are STC, JOB and TSU?

2014-11-20 Thread Paul Gilmartin
On Thu, 20 Nov 2014 14:04:37 -0500, Ted MacNEIL wrote:

Started Task Control
 
This was only confusing to me when I worked for Storage Technology Corporation
and was new to MVS.

-- gil

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: What are STC, JOB and TSU?

2014-11-20 Thread R.S.

W dniu 2014-11-20 o 21:39, Paul Gilmartin pisze:

On Thu, 20 Nov 2014 14:04:37 -0500, Ted MacNEIL wrote:


Started Task Control


This was only confusing to me when I worked for Storage Technology Corporation
and was new to MVS.
Well, when I was working as Storagetek consultant, an STK acronym was 
in use. I think it stands for StorageTeK.



--
Radoslaw Skorupka
Lodz, Poland






---
Treść tej wiadomości może zawierać informacje prawnie chronione Banku 
przeznaczone wyłącznie do użytku służbowego adresata. Odbiorcą może być jedynie 
jej adresat z wyłączeniem dostępu osób trzecich. Jeżeli nie jesteś adresatem 
niniejszej wiadomości lub pracownikiem upoważnionym do jej przekazania 
adresatowi, informujemy, że jej rozpowszechnianie, kopiowanie, rozprowadzanie 
lub inne działanie o podobnym charakterze jest prawnie zabronione i może być 
karalne. Jeżeli otrzymałeś tę wiadomość omyłkowo, prosimy niezwłocznie 
zawiadomić nadawcę wysyłając odpowiedź oraz trwale usunąć tę wiadomość 
włączając w to wszelkie jej kopie wydrukowane lub zapisane na dysku.

This e-mail may contain legally privileged information of the Bank and is 
intended solely for business use of the addressee. This e-mail may only be 
received by the addressee and may not be disclosed to any third parties. If you 
are not the intended addressee of this e-mail or the employee authorized to 
forward it to the addressee, be advised that any dissemination, copying, 
distribution or any other similar activity is legally prohibited and may be 
punishable. If you received this e-mail by mistake please advise the sender 
immediately by using the reply facility in your e-mail software and delete 
permanently this e-mail including any copies of it either printed or saved to 
hard drive.

mBank S.A. z siedzibą w Warszawie, ul. Senatorska 18, 00-950 Warszawa, www.mBank.pl, e-mail: kont...@mbank.pl 
Sąd Rejonowy dla m. st. Warszawy XII Wydział Gospodarczy Krajowego Rejestru Sądowego, nr rejestru przedsiębiorców KRS 025237, NIP: 526-021-50-88. Według stanu na dzień 01.01.2014 r. kapitał zakładowy mBanku S.A. (w całości wpłacony) wynosi 168.696.052 złote.



--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: What are STC, JOB and TSU?

2014-11-20 Thread Ted MacNEIL
When I started working,in 1981, they called themselves Storage Technology 
Corporation, or STC.
They changed to STK in later yeats.

-
-teD
-
  Original Message  
From: R.S.
Sent: Thursday, November 20, 2014 16:38
To: IBM-MAIN@LISTSERV.UA.EDU
Reply To: IBM Mainframe Discussion List
Subject: Re: What are STC, JOB and TSU?

W dniu 2014-11-20 o 21:39, Paul Gilmartin pisze:
 On Thu, 20 Nov 2014 14:04:37 -0500, Ted MacNEIL wrote:

 Started Task Control

 This was only confusing to me when I worked for Storage Technology Corporation
 and was new to MVS.
Well, when I was working as Storagetek consultant, an STK acronym was 
in use. I think it stands for StorageTeK.


-- 
Radoslaw Skorupka
Lodz, Poland






---
Treść tej wiadomości może zawierać informacje prawnie chronione Banku 
przeznaczone wyłącznie do użytku służbowego adresata. Odbiorcą może być jedynie 
jej adresat z wyłączeniem dostępu osób trzecich. Jeżeli nie jesteś adresatem 
niniejszej wiadomości lub pracownikiem upoważnionym do jej przekazania 
adresatowi, informujemy, że jej rozpowszechnianie, kopiowanie, rozprowadzanie 
lub inne działanie o podobnym charakterze jest prawnie zabronione i może być 
karalne. Jeżeli otrzymałeś tę wiadomość omyłkowo, prosimy niezwłocznie 
zawiadomić nadawcę wysyłając odpowiedź oraz trwale usunąć tę wiadomość 
włączając w to wszelkie jej kopie wydrukowane lub zapisane na dysku.

This e-mail may contain legally privileged information of the Bank and is 
intended solely for business use of the addressee. This e-mail may only be 
received by the addressee and may not be disclosed to any third parties. If you 
are not the intended addressee of this e-mail or the employee authorized to 
forward it to the addressee, be advised that any dissemination, copying, 
distribution or any other similar activity is legally prohibited and may be 
punishable. If you received this e-mail by mistake please advise the sender 
immediately by using the reply facility in your e-mail software and delete 
permanently this e-mail including any copies of it either printed or saved to 
hard drive.

mBank S.A. z siedzibą w Warszawie, ul. Senatorska 18, 00-950 Warszawa, 
www.mBank.pl, e-mail: kont...@mbank.pl 
Sąd Rejonowy dla m. st. Warszawy XII Wydział Gospodarczy Krajowego Rejestru 
Sądowego, nr rejestru przedsiębiorców KRS 025237, NIP: 526-021-50-88. 
Według stanu na dzień 01.01.2014 r. kapitał zakładowy mBanku S.A. (w całości 
wpłacony) wynosi 168.696.052 złote.


--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: What are STC, JOB and TSU?

2014-11-20 Thread Paul Gilmartin
On Thu, 20 Nov 2014 17:04:51 -0500, Ted MacNEIL wrote:

When I started working,in 1981, they called themselves Storage Technology 
Corporation, or STC.

Which had severe trademark problems.

They changed to STK in later yeats.
 
NYSE ticker symbol.  Branding police attempted (remarkably
unsuccessfully) to dissuade its use in other contexts.  Keystroke
parsimony.

-- gil

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: What are STC, JOB and TSU?

2014-11-20 Thread Tony Harminc
On 20 November 2014 17:18, Paul Gilmartin
000433f07816-dmarc-requ...@listserv.ua.edu wrote:
When I started working,in 1981, they called themselves Storage Technology 
Corporation, or STC.

 Which had severe trademark problems.

In the 1970s we got in STC tape drives (3420 clones). The STC logo,
including colour scheme, was almost identical to that of Tone Software
Corporation (TSC), who made a TSO under VS/1 product that we were
looking at. They -- or a similarly named company --  seem to be around
still.

Tony H.

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


What are STC, JOB and TSU?

2014-11-19 Thread Lindy Mayfield
Hi group,

I'm having a bit of a problem identifying what classification those names are.

I know what started tasks and TSO users and batch jobs are, but if I were to 
say:

On MVS there are three blank  (or three types of blank) which can be 
derived from the JES job ID.  J or JOB means batch, S or STC means started task 
and T or TSU means a TSO user.

(My best guess was 'job type')

Are there more than these three?  I'm simply writing some high-level 
documentation, and I've already used up my quota of writing thingy when I 
don't know what it is.  MVS has a lot of thingies.

Thanks for your help.
Lindy


--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: What are STC, JOB and TSU?

2014-11-19 Thread Klaus Stanislawiak
Hi Lindy,

This is what I find on the related SDSF help panel (ISFJDF2):

TypeType of address space: job, started task,
TSO user, or initiator

And there are address spaces that run under the master subsystem and do not 
have a JES job id.
And in JES3 you cannot derive the ... type from the job id as it will always 
begin with a 'J'.

HTH (a little)
Klaus

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: What are STC, JOB and TSU?

2014-11-19 Thread John McKown
On Wed, Nov 19, 2014 at 6:23 AM, Lindy Mayfield lindy.mayfi...@sas.com
wrote:

 Hi group,

 I'm having a bit of a problem identifying what classification those names
 are.

 I know what started tasks and TSO users and batch jobs are, but if I were
 to say:

 On MVS there are three blank  (or three types of blank) which can be
 derived from the JES job ID.  J or JOB means batch, S or STC means started
 task and T or TSU means a TSO user.


I would probably say something like: On z/OS there are four
classifications of address spaces. Three of them are controlled by the Job
Entry Subsystem (JES), and the type can be derived from the JES job id.
Those three types are J, S, and T; for JOB (batch work), STC (started
task), and TSU (TSO users) respectively. The fourth type of address space
is called a system address space. This type of address space runs outside
of the control of the JES and so, normally, does do any SPOOL activity.
This type of address space can be started with an operator command by
adding the SUB=MSTR parameter to the START. It can also be created
programmatically using internal facilities such as the ASCRE system
service. Since they run outside the control of JES, they do not normally
have a JES job id. There are facilities whereby such an address space can
register itself with JES, at which time it is given an STC job id.

I.e. substitute address space for blank. I am fairly sure that when
the CPU is not in a WAIT, that there is a value in the PSAAOLD which, IMO,
makes that ASID the current ASID. Hum, is this true? The only thing I'm
not sure of is a global SRB. Can PSAAOLD be zero while a global SRB is
running? The STO control register has to have _something_ valid in it
unless you are somehow running DAT OFF. Which is _extremely_ rare in z/OS.

Depending on the level of detail you want, you might not want to even
mention the system address space in such detail. But you might want to
mention it briefly because such will show up in SDSF, but without a JES
assigned id.

I also don't know if you want to inject anything about the weird and
wonderful way that z/OS UNIX works. I.e. a batch job, with a JOBn
assigned to it, can be a UNIX process. But a child process, created with
fork()/spawn(), runs as a separate STCn type address space (ignoring
local spawn(), of course). But that may be too much information. I couldn't
even make it clear to other experienced sysprogs (one of whom had been a
vendor developer) very well. But that may be a personal (me) issue. grin/


 (My best guess was 'job type')

 Are there more than these three?  I'm simply writing some high-level
 documentation, and I've already used up my quota of writing thingy when I
 don't know what it is.  MVS has a lot of thingies.

 Thanks for your help.
 Lindy


 --
 For IBM-MAIN subscribe / signoff / archive access instructions,
 send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN




-- 
The temperature of the aqueous content of an unremittingly ogled
culinary vessel will not achieve 100 degrees on the Celsius scale.

Maranatha! 
John McKown

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: What are STC, JOB and TSU?

2014-11-19 Thread Vernooij, CP (ITOPT1) - KLM
A different view:
From my first MVS courses: there a 3 ways to create an address space: Start, 
Logon and Mount.
Mount is a special case, not seen often.
Logon creates a TSO address space, with a T* jobid.
Start creates an STC address space, with a S* jobid, which can nowadays also be 
created by more ways.
One of the STCs you can start is the INIT STC, which runs the initiator task, 
which gets a job from JES and runs it. It then transforms its address space to 
a J* jobid.

HTH,
Kees.


-Original Message-
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf 
Of Klaus Stanislawiak
Sent: 19 November, 2014 14:01
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: What are STC, JOB and TSU?

Hi Lindy,

This is what I find on the related SDSF help panel (ISFJDF2):

TypeType of address space: job, started task,
TSO user, or initiator

And there are address spaces that run under the master subsystem and do not 
have a JES job id.
And in JES3 you cannot derive the ... type from the job id as it will always 
begin with a 'J'.

HTH (a little)
Klaus

--
For IBM-MAIN subscribe / signoff / archive access instructions, send email to 
lists...@listserv.ua.edu with the message: INFO IBM-MAIN

For information, services and offers, please visit our web site: 
http://www.klm.com. This e-mail and any attachment may contain confidential and 
privileged material intended for the addressee only. If you are not the 
addressee, you are notified that no part of the e-mail or any attachment may be 
disclosed, copied or distributed, and that any other action related to this 
e-mail or attachment is strictly prohibited, and may be unlawful. If you have 
received this e-mail by error, please notify the sender immediately by return 
e-mail, and delete this message. 

Koninklijke Luchtvaart Maatschappij NV (KLM), its subsidiaries and/or its 
employees shall not be liable for the incorrect or incomplete transmission of 
this e-mail or any attachments, nor responsible for any delay in receipt. 
Koninklijke Luchtvaart Maatschappij N.V. (also known as KLM Royal Dutch 
Airlines) is registered in Amstelveen, The Netherlands, with registered number 
33014286




--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: What are STC, JOB and TSU?

2014-11-19 Thread Vernooij, CP (ITOPT1) - KLM
This answer 'clarifies' the situation?

Kees.

-Original Message-
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf 
Of John McKown
Sent: 19 November, 2014 14:08
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: What are STC, JOB and TSU?

On Wed, Nov 19, 2014 at 6:23 AM, Lindy Mayfield lindy.mayfi...@sas.com
wrote:

 Hi group,

 I'm having a bit of a problem identifying what classification those 
 names are.

 I know what started tasks and TSO users and batch jobs are, but if I 
 were to say:

 On MVS there are three blank  (or three types of blank) which can 
 be derived from the JES job ID.  J or JOB means batch, S or STC means 
 started task and T or TSU means a TSO user.


I would probably say something like: On z/OS there are four classifications of 
address spaces. Three of them are controlled by the Job Entry Subsystem (JES), 
and the type can be derived from the JES job id.
Those three types are J, S, and T; for JOB (batch work), STC (started task), 
and TSU (TSO users) respectively. The fourth type of address space is called a 
system address space. This type of address space runs outside of the control of 
the JES and so, normally, does do any SPOOL activity.
This type of address space can be started with an operator command by adding 
the SUB=MSTR parameter to the START. It can also be created programmatically 
using internal facilities such as the ASCRE system service. Since they run 
outside the control of JES, they do not normally have a JES job id. There are 
facilities whereby such an address space can register itself with JES, at which 
time it is given an STC job id.

I.e. substitute address space for blank. I am fairly sure that when the 
CPU is not in a WAIT, that there is a value in the PSAAOLD which, IMO, makes 
that ASID the current ASID. Hum, is this true? The only thing I'm not sure of 
is a global SRB. Can PSAAOLD be zero while a global SRB is running? The STO 
control register has to have _something_ valid in it unless you are somehow 
running DAT OFF. Which is _extremely_ rare in z/OS.

Depending on the level of detail you want, you might not want to even mention 
the system address space in such detail. But you might want to mention it 
briefly because such will show up in SDSF, but without a JES assigned id.

I also don't know if you want to inject anything about the weird and 
wonderful way that z/OS UNIX works. I.e. a batch job, with a JOBn assigned 
to it, can be a UNIX process. But a child process, created with fork()/spawn(), 
runs as a separate STCn type address space (ignoring local spawn(), of 
course). But that may be too much information. I couldn't even make it clear to 
other experienced sysprogs (one of whom had been a vendor developer) very well. 
But that may be a personal (me) issue. grin/


 (My best guess was 'job type')

 Are there more than these three?  I'm simply writing some high-level 
 documentation, and I've already used up my quota of writing thingy 
 when I don't know what it is.  MVS has a lot of thingies.

 Thanks for your help.
 Lindy


 --
 For IBM-MAIN subscribe / signoff / archive access instructions, send 
 email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN




--
The temperature of the aqueous content of an unremittingly ogled culinary 
vessel will not achieve 100 degrees on the Celsius scale.

Maranatha! 
John McKown

--
For IBM-MAIN subscribe / signoff / archive access instructions, send email to 
lists...@listserv.ua.edu with the message: INFO IBM-MAIN

For information, services and offers, please visit our web site: 
http://www.klm.com. This e-mail and any attachment may contain confidential and 
privileged material intended for the addressee only. If you are not the 
addressee, you are notified that no part of the e-mail or any attachment may be 
disclosed, copied or distributed, and that any other action related to this 
e-mail or attachment is strictly prohibited, and may be unlawful. If you have 
received this e-mail by error, please notify the sender immediately by return 
e-mail, and delete this message. 

Koninklijke Luchtvaart Maatschappij NV (KLM), its subsidiaries and/or its 
employees shall not be liable for the incorrect or incomplete transmission of 
this e-mail or any attachments, nor responsible for any delay in receipt. 
Koninklijke Luchtvaart Maatschappij N.V. (also known as KLM Royal Dutch 
Airlines) is registered in Amstelveen, The Netherlands, with registered number 
33014286




--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: What are STC, JOB and TSU?

2014-11-19 Thread Martin Packer
Don't forget ASCH and OMVS. And for 7-digit Ids expect to see eg J1234567.

Cheers, Martin

Martin Packer,
zChampion, Principal Systems Investigator,
Worldwide Banking Center of Excellence, IBM

+44-7802-245-584

email: martin_pac...@uk.ibm.com

Twitter / Facebook IDs: MartinPacker
Blog: 
https://www.ibm.com/developerworks/mydeveloperworks/blogs/MartinPacker



From:   Lindy Mayfield lindy.mayfi...@sas.com
To: IBM-MAIN@LISTSERV.UA.EDU
Date:   19/11/2014 12:24
Subject:What are STC, JOB and TSU?
Sent by:IBM Mainframe Discussion List IBM-MAIN@LISTSERV.UA.EDU



Hi group,

I'm having a bit of a problem identifying what classification those names 
are.

I know what started tasks and TSO users and batch jobs are, but if I were 
to say:

On MVS there are three blank  (or three types of blank) which can be 
derived from the JES job ID.  J or JOB means batch, S or STC means started 
task and T or TSU means a TSO user.

(My best guess was 'job type')

Are there more than these three?  I'm simply writing some high-level 
documentation, and I've already used up my quota of writing thingy when 
I don't know what it is.  MVS has a lot of thingies.

Thanks for your help.
Lindy


--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN



Unless stated otherwise above:
IBM United Kingdom Limited - Registered in England and Wales with number 
741598. 
Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: What are STC, JOB and TSU?

2014-11-19 Thread Barry Merrill
And SUBSYS helps; this is the MXG Software logic to define the TYPETASK
and extract the JESNR from the JCTJOBID and SUBSYS fields
in the job-related SMF records.


 /* COPYRIGHT (C) 2002,2013 MERRILL CONSULTANTS, DALLAS, TEXAS, USA */
 /* LAST UPDATED: JUN  4, 2013.  CHANGE 31.106. */
 /* THIS ROUTINE EXPECTS JCTJOBID AND JOB AS 8-BYTE CHARACTERS, */
 /* AND SUBSYS AS A 4-BYTE CHARACTER AS INPUT.  */

 /* IT CREATES THE 4-BYTE CHARACTER TYPETASK AND NUMERIC JESNR  */
 /* VARIABLES TYPETASK AND JESNR NEED TO BE LABELED IN INVOKER. */

 TYPETASK='';
 JESNR=.;
 IF SUBSYS=''  THEN SUBSYS=''; /*EARLY ASIDS,TMNT */
 IF JCTJOBID=JOB OR (JCTJOBID LE ' ' AND SUBSYS='STC') THEN DO;
   JESNR=.;
   TYPETASK='STC';
 END;
 ELSE DO;
   IF INPUT(SUBSTR(JCTJOBID,2,7),?? 7.) GT . THEN DO;
 JESNR=INPUT(SUBSTR(JCTJOBID,2,7),?? 7.);
 TYPETASK=SUBSTR(JCTJOBID,1,1);
   END;
   ELSE IF INPUT(SUBSTR(JCTJOBID,3,6),?? 6.) GT . THEN DO;
 JESNR=INPUT(SUBSTR(JCTJOBID,3,6),?? 6.);
 TYPETASK=SUBSTR(JCTJOBID,1,2);
   END;
   ELSE IF INPUT(SUBSTR(JCTJOBID,4,5),?? 5.) GT . THEN DO;
 JESNR=INPUT(SUBSTR(JCTJOBID,4,5),?? 5.);
 TYPETASK=SUBSTR(JCTJOBID,1,3);
   END;
   ELSE IF INPUT(SUBSTR(JCTJOBID,5,4),?? 4.) GT . THEN DO;
 JESNR=INPUT(SUBSTR(JCTJOBID,5,4),?? 4.);
 TYPETASK=SUBSTR(JCTJOBID,1,4);
   END;
   IF SUBSYS='TCP ' THEN TYPETASK='TCP ';
   ELSE IF SUBSYS='PSF ' THEN TYPETASK='PSF ';
   ELSE IF SUBSYS='VPS ' THEN TYPETASK='VPS ';
   ELSE IF TYPETASK=:'J' THEN DO;
 IF  SUBSYS='TSO ' THEN TYPETASK='TSU ';
 ELSE IF SUBSYS='JES2' THEN TYPETASK='JOB ';
 ELSE IF SUBSYS='JES3' THEN TYPETASK='JOB ';
 ELSE IF SUBSYS='STC ' THEN TYPETASK='STC ';
 ELSE IF SUBSYS='OMVS' THEN TYPETASK='OMVS';
 ELSE   TYPETASK='JOB ';
   END;
   ELSE IF TYPETASK=:'O' OR SUBSYS='OMVS' THEN TYPETASK='OMVS';
   ELSE IF TYPETASK=:'S' THEN TYPETASK='STC ';
   ELSE IF TYPETASK=:'A' THEN TYPETASK=SUBSYS;
   ELSE IF TYPETASK=:'T' THEN TYPETASK='TSU ';
   ELSE IF TYPETASK=:'I' AND SUBSYS='STC' THEN TYPETASK='STC  ';
   ELSE DO;
 IF  SUBSYS='STC ' THEN TYPETASK='STC ';
 ELSE IF SUBSYS='TSO ' THEN TYPETASK='TSU ';
 ELSE IF SUBSYS='JES2' THEN TYPETASK='JOB ';
 ELSE IF SUBSYS='JES3' THEN TYPETASK='JOB ';
 ELSE IF SUBSYS='STC ' THEN TYPETASK='STC ';
 ELSE IF SUBSYS='OMVS' THEN TYPETASK='OMVS';
 ELSE DO;
   IF PRODUCT='' THEN PRODUCT='';;
   IF SUBTYPE=.  THEN SUBTYPE=.;
   IF PRODUCT='PERFMON ' AND SUBTYPE=3 THEN DO;
 TYPETASK='STC';
 SUBSYS='PERFMON';
   END;
 END;
   END;
   IF TYPETASK=' ' THEN DO;
 BADVJESN+1;
 IF BADVJESN LE 2 THEN
   PUT '*** WARNING - TYPETASK NOT DECODED: ' /  +10
   _N_= SYSTEM= ID= SUBTYPE= JOB=
   JCTJOBID= SUBSYS= TYPETASK= JESNR= ;
   END;
 END;
  /* END OF MEMBER VGETJESN - GET JESNR AND TYPETASK FROM JCTJOBID */


-Original Message-
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf 
Of Martin Packer
Sent: Wednesday, November 19, 2014 8:38 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: What are STC, JOB and TSU?

Don't forget ASCH and OMVS. And for 7-digit Ids expect to see eg J1234567.

Cheers, Martin

Martin Packer,
zChampion, Principal Systems Investigator, Worldwide Banking Center of 
Excellence, IBM

+44-7802-245-584

email: martin_pac...@uk.ibm.com

Twitter / Facebook IDs: MartinPacker
Blog: 
https://www.ibm.com/developerworks/mydeveloperworks/blogs/MartinPacker



From:   Lindy Mayfield lindy.mayfi...@sas.com
To: IBM-MAIN@LISTSERV.UA.EDU
Date:   19/11/2014 12:24
Subject:What are STC, JOB and TSU?
Sent by:IBM Mainframe Discussion List IBM-MAIN@LISTSERV.UA.EDU



Hi group,

I'm having a bit of a problem identifying what classification those names are.

I know what started tasks and TSO users and batch jobs are, but if I were to 
say:

On MVS there are three blank  (or three types of blank) which can be 
derived from the JES job ID.  J or JOB means batch, S or STC means started task 
and T or TSU means a TSO user.

(My best guess was 'job type')

Are there more than these three?  I'm simply writing some high-level 
documentation, and I've already used up my quota of writing thingy when I 
don't know what it is.  MVS has a lot of thingies.

Thanks for your help.
Lindy


--
For IBM-MAIN subscribe / signoff / archive access instructions, send email to 
lists...@listserv.ua.edu with the message: INFO IBM-MAIN



Unless stated otherwise above:
IBM United Kingdom Limited - Registered in England and Wales with number 
741598. 
Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU

--
For IBM-MAIN subscribe / signoff / archive access instructions, send email to 
lists...@listserv.ua.edu with the message

AW: Re: What are STC, JOB and TSU?

2014-11-19 Thread Peter Hunkeler
 Don't forget ASCH and OMVS. And for 7-digit Ids expect to see eg J1234567.


I have not seen an APPC initiator in action, so I can't remember whether they 
will show as Annn or as S but there definitely is no OMVS type of 
address space in the sense Lindy was asking.


Each of STC, TSU and JOB can run UNIX work inside, but only fork() and 
non-local spawn() will create OMVS type of WLM work units, and they all run 
as STC in BPXAS STC address spaces.


--
Peter Hunkeler

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: What are STC, JOB and TSU?

2014-11-19 Thread Charles Mills
Jobs scheduled by the APPC/MVS transaction scheduler (ASCH) start with an
A followed by a seven-digit number.

-- System Management Facilities

Charles

-Original Message-
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On
Behalf Of Peter Hunkeler
Sent: Wednesday, November 19, 2014 12:52 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: AW: Re: What are STC, JOB and TSU?

 Don't forget ASCH and OMVS. And for 7-digit Ids expect to see eg J1234567.



I have not seen an APPC initiator in action, so I can't remember whether
they will show as Annn or as S but there definitely is no OMVS
type of address space in the sense Lindy was asking.  

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: What are STC, JOB and TSU?

2014-11-19 Thread Shmuel Metz (Seymour J.)
In 45fcfbbb8bc8eb4a9dfedc6fa2cc7fdf99ac1...@sdkmbx02.emea.sas.com,
on 11/19/2014
   at 12:23 PM, Lindy Mayfield lindy.mayfi...@sas.com said:

Are there more than these three? 

Yes, e.g., APPC.
 
-- 
 Shmuel (Seymour J.) Metz, SysProg and JOAT
 ISO position; see http://patriot.net/~shmuel/resume/brief.html 
We don't care. We don't have to care, we're Congress.
(S877: The Shut up and Eat Your spam act of 2003)

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: AW: Re: What are STC, JOB and TSU?

2014-11-19 Thread Shmuel Metz (Seymour J.)
In ez-269135484.751380...@gmx.ch, on 11/19/2014
   at 09:51 PM, Peter Hunkeler p...@gmx.ch said:

I have not seen an APPC initiator in action, so I can't remember
whether they will show as Annn or as S

My recollection is APPC and ASCH; that was long before 7 digit
job numbers in JES2.
 
-- 
 Shmuel (Seymour J.) Metz, SysProg and JOAT
 ISO position; see http://patriot.net/~shmuel/resume/brief.html 
We don't care. We don't have to care, we're Congress.
(S877: The Shut up and Eat Your spam act of 2003)

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN