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" <venkatkulkarn...@gmail.com> 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" <stars...@mindspring.com> 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 <IBM-MAIN@listserv.ua.edu>; Lizette >> Koehler <stars...@mindspring.com> >> *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'. $TJnnnn,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. >> (SPIN,nnnM) >> Indicates to spin JESLOG whenever either JESMSGLG or JESYSMSG >> has "nnnM" lines, where "M" indicates millions of lines. >> >> >> Lizette >> >> >> > ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN