Re: AW: Re: job output into dataset

2017-05-14 Thread venkat kulkarni
Hello Lizette,

So, After modifying STC job class JES2 Log parameter with spin, i will have
to use $S command to start this process.

Please suggest, as I have not used this before.

Thanks

On 14-May-2017 3:09 PM, "venkat kulkarni" 
wrote:

> 1) Finally, we wanted all STC JES DD to be spin off at morning 9 AM daily.
>
> 2) So, I set my STC Job class to
>
>
>
> RESPONSE=TST1
>
>   $HASP837 JOBCLASS(STC)
>
>   $HASP837 JOBCLASS(STC)   AUTH=(ALL),BLP=YES,COMMAND=EXECUTE,
>
>   $HASP837 CONDPURG=YES,DSENQSHR=ALLOW,
>
>   $HASP837 IEFUJP=YES,IEFUSO=YES,JESLOG=(SPIN,
>
>   $HASP837 +0:15),LOG=YES,MSGLEVEL=(1,1),
>
>   $HASP837 MSGCLASS=Z,OUTDISP=(HOLD,HOLD),
>
>   $HASP837 OUTPUT=YES,PERFORM=000,PROCLIB=00,
>
>   $HASP837 QAFF=(ANY),REGION=0004M,SWA=BELOW,
>
>   $HASP837 TIME=(000120,00),TYPE26=YES,
>
>   $HASP837 TYPE6=YES
>
>
>
>
>
> 3) My MSGCLASS Z is set to
>
>
>
> RESPONSE=TST1
>
>  $HASP842 OUTCLASS(Z)
>
>  $HASP842 OUTCLASS(Z)  OUTPUT=PRINT,BLNKTRNC=YES,
>
>  $HASP842  OUTDISP=(PURGE,HOLD),TRKCELL=NO
>
>
>
>
>
> 3) After all this above changes, I restarted my one of the STC task , IMS
> address space to test and result is
>
>
>
> a) I am able to spin JES DD manually by using "W" command or by using /$T
> JQ(IMS12IMS),SPIN,DDNAME=JESMSGLG command and I can see output in held
> queue.
>
> b) But if you look at changes, I made above in my JESLOG parameter in STC
> class to start spin in every 15 min, it’s not starting. I am not able to
> find root cause of this issue now.
>
>
>
> I want to know that what more I am missing to start this automated SPIN
> working for my all STC task
>
> On 12-May-2017 5:05 PM, "venkat kulkarni" 
> wrote:
>
>> Thanks and I made all these suggested changes in stc class jes parmlib
>> member.
>> But to take this in effect, do I need to restart the address space or it
>> will pick up these new value automatically after changing stc class using
>> $T command.
>>
>> On 12-May-2017 3:38 PM, "Lizette Koehler" 
>> wrote:
>>
>>> JESLOG can be coded in the JES2 INIT DECK.  It is not part of JCL.
>>>
>>> Check your JES2 INITDECK to see how your JOBCLASS(STC) is coded.
>>>
>>>
>>>
>>>
>>>
>>> Starting the STC with SPIN= is also helpful to spin all JES2 jcl DDs.
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> Either or both can be used.
>>>
>>>
>>>
>>> Review the JES2 INIT and TUNING manuals referenced early to see what you
>>> want to do.
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> Lizette
>>>
>>>
>>>
>>>
>>>
>>> *From:* venkat kulkarni [mailto:venkatkulkarn...@gmail.com]
>>> *Sent:* Friday, May 12, 2017 12:55 AM
>>> *To:* IBM Mainframe Discussion List ; Lizette
>>> Koehler 
>>> *Subject:* Re: AW: Re: job output into dataset
>>>
>>>
>>>
>>> Hello Lizette,
>>>
>>>
>>>
>>> Thanks for reply. I will add JESLOG=SPIN in my proc. But one of my
>>> query still answered that do we need to recycle address space after
>>> changing STC class outdisp paramter to write,write  to make this spin work
>>> . Or can we do it dynamically without shutting down address space.
>>>
>>>
>>>
>>> On Fri, May 12, 2017 at 10:05 AM, Lizette Koehler <
>>> stars...@mindspring.com> wrote:
>>>
>>> So the best option would be to do
>>>
>>> 1)  Check the STC in the JES2 Class and see if JESLOG=SPIN is included.
>>>
>>> 2)  Start the STC with the SPIN Option
>>>
>>> JESLOG=
>>> Specifies for the indicated jobclass that each job's JESLOG data
>>> (JESMSGLG and JESYSMSG data sets) is to be spun at a certain time interval,
>>> suppressed from being recorded, or not spun at all.
>>> Note: Specifying JESLOG=SPIN will cause a job in this class to use
>>> at least 2 additional track groups of SPOOL space for the two JESLOG data
>>> sets (JESMSGLG or JESYSMSG ). If this job class normally has a large number
>>> of jobs that use a minimal amount of SPOOL space, then an increase of 2
>>> track groups could significantly increase SPOOL utilization. Consider these
>>> additional SPOOL requirements when deciding whether to use JESLOG=SPIN.
>>>
>>> SPIN
>>> Jobs running in this job class are 'spinnable'. $TJ,SPIN can
>>> be used to immediately spin the JESMSGLG and JESYSMSG data sets.
>>>
>>> (SPIN,+hh:mm)
>>> Indicates to spin JESLOG every hh:mm time interval.
>>>
>>> where:
>>>
>>> hh is hours and has a range of 0 through 23
>>> mm is minutes and has a range of 00 through 59
>>>
>>> Note: You must specify a minimum of 10 minutes or JES2
>>> issues an error message. Also, for time intervals of less than one hour,
>>> you must specify the following format: JESLOG=(SPIN,+00:mm).
>>> (SPIN,hh:mm)
>>> Indicates to spin JESLOG at hh:mm 

Re: [EXTERNAL] Re: SoftAudit ?

2017-05-14 Thread Cheryl Watson
FYI - The Tivoli License Compliance Manager was replaced in 2009 by IBM's TADz 
- https://www-01.ibm.com/common/ssi/rep_ca/7/897/ENUS909-167/ENUS909-167.PDF.

Cheryl
Cheryl Watson
Watson & Walker, Inc.
www.watsonwalker.com

-Original Message-
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf 
Of Craig Pace
Sent: Wednesday, May 10, 2017 12:27 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: [EXTERNAL] Re: SoftAudit ?

When IBM picked up Softaudit, they renamed it to Tivoli License Compliance 
Manager for z/OS.

There are some others out there; however, used it up to V4R2 and it was the 
best on the market by far.

http://www-03.ibm.com/software/products/en/tivolilicensecompliancemanagerforzos



Thanks,


Craig


This communication contains information which is confidential and may also be 
privileged. It is for the exclusive use of the intended recipient(s). If you 
are not the intended recipient(s), please note that any distribution, copying 
or use of this communication or the information in it is strictly prohibited. 
If you have received this communication in error, please notify the sender 
immediately and then destroy any copies of 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: AUTOIPL SADUMP LOADPARM flag value

2017-05-14 Thread Bruce Hewson
Hello Skip,

GDPS-PPRC - doesn't like any IPL activity that is not performed via the GDPS 
panels.

extract from:-

https://www.ibm.com/support/knowledgecenter/en/SSLTBW_2.2.0/com.ibm.zos.v2r2.ieag300/wsat.htm

Note:
AutoIPL is not appropriate in a GDPS® environment.


Regards
Bruce

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


Re: AW: Re: job output into dataset

2017-05-14 Thread venkat kulkarni
Hello Steve,

So, After modifying STC job class JES2 Log parameter with spin, i will have
to use $S command to start this process.

Please suggest, as I have not used this before.

Thanks

On Sun, May 14, 2017 at 7:17 PM, Steve Horein 
wrote:

> Regarding item #1, absent any "formal" automation solution (CA OPS/MVS, IBM
> NetView, etc.), review the information found in these topics:
>
> https://www.ibm.com/support/knowledgecenter/SSLTBW_2.2.0/
> com.ibm.zos.v2r2.hasa200/sacp.htm
>
> https://www.ibm.com/support/knowledgecenter/SSLTBW_2.2.0/
> com.ibm.zos.v2r2.hasa200/dsmac.htm
>
> https://www.ibm.com/support/knowledgecenter/SSLTBW_2.2.0/
> com.ibm.zos.v2r2.hasa200/cac.htm
>
> https://www.ibm.com/support/knowledgecenter/SSLTBW_2.2.0/
> com.ibm.zos.v2r2.hasa200/hacp.htm
>
>
> On Sun, May 14, 2017 at 7:09 AM, venkat kulkarni <
> venkatkulkarn...@gmail.com
> > wrote:
>
> > 1) Finally, we wanted all STC JES DD to be spin off at morning 9 AM
> daily.
> >
> > 2) So, I set my STC Job class to
> >
> >
> >
> > RESPONSE=TST1
> >
> >   $HASP837 JOBCLASS(STC)
> >
> >   $HASP837 JOBCLASS(STC)   AUTH=(ALL),BLP=YES,COMMAND=EXECUTE,
> >
> >   $HASP837 CONDPURG=YES,DSENQSHR=ALLOW,
> >
> >   $HASP837 IEFUJP=YES,IEFUSO=YES,JESLOG=(SPIN,
> >
> >   $HASP837 +0:15),LOG=YES,MSGLEVEL=(1,1),
> >
> >   $HASP837 MSGCLASS=Z,OUTDISP=(HOLD,HOLD),
> >
> >   $HASP837 OUTPUT=YES,PERFORM=000,PROCLIB=00,
> >
> >   $HASP837 QAFF=(ANY),REGION=0004M,SWA=BELOW,
> >
> >   $HASP837 TIME=(000120,00),TYPE26=YES,
> >
> >   $HASP837 TYPE6=YES
> >
> >
> >
> >
> >
> > 3) My MSGCLASS Z is set to
> >
> >
> >
> > RESPONSE=TST1
> >
> >  $HASP842 OUTCLASS(Z)
> >
> >  $HASP842 OUTCLASS(Z)  OUTPUT=PRINT,BLNKTRNC=YES,
> >
> >  $HASP842  OUTDISP=(PURGE,HOLD),TRKCELL=NO
> >
> >
> >
> >
> >
> > 3) After all this above changes, I restarted my one of the STC task , IMS
> > address space to test and result is
> >
> >
> >
> > a) I am able to spin JES DD manually by using "W" command or by using /$T
> > JQ(IMS12IMS),SPIN,DDNAME=JESMSGLG command and I can see output in held
> > queue.
> >
> > b) But if you look at changes, I made above in my JESLOG parameter in STC
> > class to start spin in every 15 min, it’s not starting. I am not able to
> > find root cause of this issue now.
> >
> >
> >
> > I want to know that what more I am missing to start this automated SPIN
> > working for my all STC task
> >
> >
>
> --
> 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: AW: Re: job output into dataset

2017-05-14 Thread Steve Horein
Regarding item #1, absent any "formal" automation solution (CA OPS/MVS, IBM
NetView, etc.), review the information found in these topics:

https://www.ibm.com/support/knowledgecenter/SSLTBW_2.2.0/com.ibm.zos.v2r2.hasa200/sacp.htm

https://www.ibm.com/support/knowledgecenter/SSLTBW_2.2.0/com.ibm.zos.v2r2.hasa200/dsmac.htm

https://www.ibm.com/support/knowledgecenter/SSLTBW_2.2.0/com.ibm.zos.v2r2.hasa200/cac.htm

https://www.ibm.com/support/knowledgecenter/SSLTBW_2.2.0/com.ibm.zos.v2r2.hasa200/hacp.htm


On Sun, May 14, 2017 at 7:09 AM, venkat kulkarni  wrote:

> 1) Finally, we wanted all STC JES DD to be spin off at morning 9 AM daily.
>
> 2) So, I set my STC Job class to
>
>
>
> RESPONSE=TST1
>
>   $HASP837 JOBCLASS(STC)
>
>   $HASP837 JOBCLASS(STC)   AUTH=(ALL),BLP=YES,COMMAND=EXECUTE,
>
>   $HASP837 CONDPURG=YES,DSENQSHR=ALLOW,
>
>   $HASP837 IEFUJP=YES,IEFUSO=YES,JESLOG=(SPIN,
>
>   $HASP837 +0:15),LOG=YES,MSGLEVEL=(1,1),
>
>   $HASP837 MSGCLASS=Z,OUTDISP=(HOLD,HOLD),
>
>   $HASP837 OUTPUT=YES,PERFORM=000,PROCLIB=00,
>
>   $HASP837 QAFF=(ANY),REGION=0004M,SWA=BELOW,
>
>   $HASP837 TIME=(000120,00),TYPE26=YES,
>
>   $HASP837 TYPE6=YES
>
>
>
>
>
> 3) My MSGCLASS Z is set to
>
>
>
> RESPONSE=TST1
>
>  $HASP842 OUTCLASS(Z)
>
>  $HASP842 OUTCLASS(Z)  OUTPUT=PRINT,BLNKTRNC=YES,
>
>  $HASP842  OUTDISP=(PURGE,HOLD),TRKCELL=NO
>
>
>
>
>
> 3) After all this above changes, I restarted my one of the STC task , IMS
> address space to test and result is
>
>
>
> a) I am able to spin JES DD manually by using "W" command or by using /$T
> JQ(IMS12IMS),SPIN,DDNAME=JESMSGLG command and I can see output in held
> queue.
>
> b) But if you look at changes, I made above in my JESLOG parameter in STC
> class to start spin in every 15 min, it’s not starting. I am not able to
> find root cause of this issue now.
>
>
>
> I want to know that what more I am missing to start this automated SPIN
> working for my all STC task
>
>

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


Whacking a Job, or Getting rid of an Address Space

2017-05-14 Thread Sam Golob

Hi Folks,

 Hopefully this info will help get you out of a jam sometime..

Sam

GETTING RID OF AN ADDRESS SPACE (or WHACKING A JOB)

 In my career as a system doctor, I've had trouble, more than
once, in getting rid of an address space that was malfunctioning, and
starting over.  Sometimes the address space was marked "NON-CANCELABLE"
and I've even seen address spaces marked "NON-FORCIBLE".

 Mentioning this problem to fellow sysprogs, I've gotten answers
like: "You've got to learn how to use FORCE correctly."  Or they'd say
some similar nonsense.  Sometimes they're right.  But a bunch of times,
there are a couple of bits in the way.  And if you can't get past them,
you can't get rid of the job or other address space.  I've seen this
situation force an IPL in the middle of the day.  (NO GOOD!!!)

 So what do you do?  There are two free APF-authorized TSO commands
which can help you.

 One is called CSCF, and it is on CBT File 954.  The other is
called CNCLPG, and it is on CBT File 826 (Updates Page).  CSCF can

get rid of the main offending bits.  CNCLPG (with the KILL option)

can do that, and then whack the job or address space.

 Both of these commands do multiple functions.  But to get rid of
a job or system task, you first need to change its status to CANCELABLE
or FORCIBLE, and then you need to CANCEL it or FORCE it. Sometimes,
you can just "whack it".  To do so, use the KILL subcommand of the
CNCLPG command (Updates page of www.cbttape.org).

 The KILL subcommand of CNCLPG will do a CALLRTM TYPE=MEMTERM
operation on the address space, but before it does so, it turns off the
ASCBNOMT and ASCBNOMD bits in the ASCB.  ASCBNOMT is what makes a job
"NON-FORCIBLE", and ASCBNOMD off, makes it FORCIBLE even if the error
was a DAT error.  THEN the KILL subcommand does the CALLRTM MEMTERM.
In that way, KILL makes sure that nothing will get in the way of the
"FORCE" operation, and the address space will be duly "whacked".  Then
you can start it over.

 One note of caution:  You have to whack or alter he correct
address space.  If you don't, you can cause havoc.

 WHY?  Both CNCLPG and CSCF have to run the CSCB chain. This is
a chain representing all the active jobs, system tasks, and TSU's in
the system.  Sometimes there are many address spaces with the SAME
name.  And there can be more than one address space with the SAME
ASID (I bet you didn't know that).  So in order to make sure you are
altering the correct address space, you have to specify BOTH the ASID
and the JOBNAME when you run CNCLPG.

 How do you get that information in the first place?

 Run CNCLPG with the DISPLAY command.

 The DISPLAY command will show all matches and all occurrences.

 So if you run CNCLPG jobname DISP, you will see all the CSCB
entries matching your jobname, and you can specify the one with the
correct ASID by using the ASID(hex) parameter together with the
jobname parameter.

 Do this first, and you won't be sorry later.  Do DISP several
times, until you see only one entry--the entry that you want to alter.

 Best of everything.  Use this in good health..

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


Re: AW: Re: job output into dataset

2017-05-14 Thread venkat kulkarni
1) Finally, we wanted all STC JES DD to be spin off at morning 9 AM daily.

2) So, I set my STC Job class to



RESPONSE=TST1

  $HASP837 JOBCLASS(STC)

  $HASP837 JOBCLASS(STC)   AUTH=(ALL),BLP=YES,COMMAND=EXECUTE,

  $HASP837 CONDPURG=YES,DSENQSHR=ALLOW,

  $HASP837 IEFUJP=YES,IEFUSO=YES,JESLOG=(SPIN,

  $HASP837 +0:15),LOG=YES,MSGLEVEL=(1,1),

  $HASP837 MSGCLASS=Z,OUTDISP=(HOLD,HOLD),

  $HASP837 OUTPUT=YES,PERFORM=000,PROCLIB=00,

  $HASP837 QAFF=(ANY),REGION=0004M,SWA=BELOW,

  $HASP837 TIME=(000120,00),TYPE26=YES,

  $HASP837 TYPE6=YES





3) My MSGCLASS Z is set to



RESPONSE=TST1

 $HASP842 OUTCLASS(Z)

 $HASP842 OUTCLASS(Z)  OUTPUT=PRINT,BLNKTRNC=YES,

 $HASP842  OUTDISP=(PURGE,HOLD),TRKCELL=NO





3) After all this above changes, I restarted my one of the STC task , IMS
address space to test and result is



a) I am able to spin JES DD manually by using "W" command or by using /$T
JQ(IMS12IMS),SPIN,DDNAME=JESMSGLG command and I can see output in held
queue.

b) But if you look at changes, I made above in my JESLOG parameter in STC
class to start spin in every 15 min, it’s not starting. I am not able to
find root cause of this issue now.



I want to know that what more I am missing to start this automated SPIN
working for my all STC task

On 12-May-2017 5:05 PM, "venkat kulkarni" 
wrote:

> Thanks and I made all these suggested changes in stc class jes parmlib
> member.
> But to take this in effect, do I need to restart the address space or it
> will pick up these new value automatically after changing stc class using
> $T command.
>
> On 12-May-2017 3:38 PM, "Lizette Koehler"  wrote:
>
>> JESLOG can be coded in the JES2 INIT DECK.  It is not part of JCL.
>>
>> Check your JES2 INITDECK to see how your JOBCLASS(STC) is coded.
>>
>>
>>
>>
>>
>> Starting the STC with SPIN= is also helpful to spin all JES2 jcl DDs.
>>
>>
>>
>>
>>
>>
>>
>> Either or both can be used.
>>
>>
>>
>> Review the JES2 INIT and TUNING manuals referenced early to see what you
>> want to do.
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> Lizette
>>
>>
>>
>>
>>
>> *From:* venkat kulkarni [mailto:venkatkulkarn...@gmail.com]
>> *Sent:* Friday, May 12, 2017 12:55 AM
>> *To:* IBM Mainframe Discussion List ; Lizette
>> Koehler 
>> *Subject:* Re: AW: Re: job output into dataset
>>
>>
>>
>> Hello Lizette,
>>
>>
>>
>> Thanks for reply. I will add JESLOG=SPIN in my proc. But one of my query
>> still answered that do we need to recycle address space after changing STC
>> class outdisp paramter to write,write  to make this spin work . Or can we
>> do it dynamically without shutting down address space.
>>
>>
>>
>> On Fri, May 12, 2017 at 10:05 AM, Lizette Koehler <
>> stars...@mindspring.com> wrote:
>>
>> So the best option would be to do
>>
>> 1)  Check the STC in the JES2 Class and see if JESLOG=SPIN is included.
>>
>> 2)  Start the STC with the SPIN Option
>>
>> JESLOG=
>> Specifies for the indicated jobclass that each job's JESLOG data
>> (JESMSGLG and JESYSMSG data sets) is to be spun at a certain time interval,
>> suppressed from being recorded, or not spun at all.
>> Note: Specifying JESLOG=SPIN will cause a job in this class to use at
>> least 2 additional track groups of SPOOL space for the two JESLOG data sets
>> (JESMSGLG or JESYSMSG ). If this job class normally has a large number of
>> jobs that use a minimal amount of SPOOL space, then an increase of 2 track
>> groups could significantly increase SPOOL utilization. Consider these
>> additional SPOOL requirements when deciding whether to use JESLOG=SPIN.
>>
>> SPIN
>> Jobs running in this job class are 'spinnable'. $TJ,SPIN can
>> be used to immediately spin the JESMSGLG and JESYSMSG data sets.
>>
>> (SPIN,+hh:mm)
>> Indicates to spin JESLOG every hh:mm time interval.
>>
>> where:
>>
>> hh is hours and has a range of 0 through 23
>> mm is minutes and has a range of 00 through 59
>>
>> Note: You must specify a minimum of 10 minutes or JES2 issues
>> an error message. Also, for time intervals of less than one hour, you must
>> specify the following format: JESLOG=(SPIN,+00:mm).
>> (SPIN,hh:mm)
>> Indicates to spin JESLOG at hh:mm every 24 hours.
>> (SPIN,nnn)
>> Indicates to spin JESLOG whenever either JESMSGLG or JESYSMSG
>> has nnn lines.'nnn is the number (1–999) of lines in the data set.
>> Note:
>> You must specify a minimum of 500 lines or JES2 issues an
>> error message.
>> (SPIN,nnnK)
>> Indicates to spin JESLOG whenever either JESMSGLG or JESYSMSG
>> has "nnnK" lines, where "K" indicates thousands of lines.
>>