Re: release SYSOUT for a running STC

2012-07-03 Thread Shmuel Metz (Seymour J.)
In
caluepdh0cuszsusbuzhhtvkh-agnzegolynk6lhdbaueyea...@mail.gmail.com,
on 07/02/2012
   at 10:27 AM, Matan Cohen matancohen...@gmail.com said:

The DD I want to relese is a TDQ written to a DD - so I cant control
the PGM nor the JCL.

Then you can spin off segments[1] for early printing or archiving, but
I don't know how to reclaim the SPOOL space.

[1] $T for JES2; I don't know the JES3 command.

-- 
 Shmuel (Seymour J.) Metz, SysProg and JOAT
 Atid/2http://patriot.net/~shmuel
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: release SYSOUT for a running STC

2012-07-03 Thread Matan Cohen
itzchak - I didn't fully understand the 'CSSL' you mentioned .
Shmuel - I do have access to change the JCL , and did try the SPIN but
trying to release it  got me this :
 $TS 7987,SPIN,DDNAME=CEEMSG
 $HASP003 RC=(96),T S7987 SPIN  - NOT SPINNABLE
also I'm running in z/os 1.10 so the SPIN= is limited to 'NO' \ 'UNALLOC'

On Mon, Jul 2, 2012 at 4:24 PM, Shmuel Metz (Seymour J.) 
shmuel+...@patriot.net wrote:

 In
 caluepdh0cuszsusbuzhhtvkh-agnzegolynk6lhdbaueyea...@mail.gmail.com,
 on 07/02/2012
at 10:27 AM, Matan Cohen matancohen...@gmail.com said:

 The DD I want to relese is a TDQ written to a DD - so I cant control
 the PGM nor the JCL.

 Then you can spin off segments[1] for early printing or archiving, but
 I don't know how to reclaim the SPOOL space.

 [1] $T for JES2; I don't know the JES3 command.

 --
  Shmuel (Seymour J.) Metz, SysProg and JOAT
  Atid/2http://patriot.net/~shmuel
 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




-- 
__
best regards,
matan cohen
MF System Administrator.

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


Re: release SYSOUT for a running STC

2012-07-03 Thread Barkow, Eileen
For CICS extra partition sysout datasets, you can first close all of the 
indirect tdq's pointing the the DDNAME.
IE:  for CEEMSG DD, close TDQ CESE:  CEMT SET TDQ(CESE) CLO

Others DDnames may have more than 1  tdq using it so you will have to find all 
of them.
  CEMT I TDQ(C*) will show DDNAMES used if any

Then, use transaction ADYN to deallocate.

ADYN
FREE FILE(CEEMSG) UNALLOC
...   to reallocate:
ALLOC FILE(CEEMSG) SYSOUT(A)
..  to end ADYN, clear screen and  use
ALT-INSERT-ENTER  keys

-Original Message-
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf 
Of Matan Cohen
Sent: Monday, July 02, 2012 7:29 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: release SYSOUT for a running STC

and
'CEEMSG' .


On Mon, Jul 2, 2012 at 2:23 PM, Matan Cohen matancohen...@gmail.com wrote:

 'IXT0'


 On Mon, Jul 2, 2012 at 1:10 PM, Itschak Mugzach imugz...@gmail.comwrote:

 What is the sysout dd name?

 On Mon, Jul 2, 2012 at 12:49 PM, Matan Cohen matancohen...@gmail.com
 wrote:

  None of the suggestion above seems to help.
 
  On Mon, Jul 2, 2012 at 11:39 AM, Matan Cohen 
  matancohen...@gmail.com
  wrote:
 
   Hi Itschak,
   Nice to hear from you :)
   I'll try to Use it  - Hope it will help me.
  
  
   On Mon, Jul 2, 2012 at 11:19 AM, Itschak Mugzach 
  imugz...@gmail.com
  wrote:
  
   Hi Matan,
  
   This is the classic case for sysout fragmentation. At CICS STC 
   jcl
  provide
   multiple sysouts with FREE=CLOSE. Every time you close the file 
   (The transaction that writes to the sysout which is triggered 
   from the
 TDQ),
   the
   file is released and the next file is used at open time.
  
   ITschak
  
   On Mon, Jul 2, 2012 at 10:27 AM, Matan Cohen 
 matancohen...@gmail.com
   wrote:
  
Hi ,
Thank for the help .
I should have provide you with the following info :
the STC is a CICS .
The DD I want to relese is a TDQ written to a DD - so I cant
 control
  the
PGM nor the JCL.
   
   
On Sun, Jul 1, 2012 at 6:46 PM, Shmuel Metz (Seymour J.) 
shmuel+...@patriot.net wrote:
   
 In 99ab43dc-4e6d-42ea-9433-e0e02f33f...@yahoo.com, on
 06/29/2012
at 11:28 AM, Scott Ford scott_j_f...@yahoo.com said:

 Someone mentioned in a previous post about SPIN and 
 FREE...is
 this
  a
 vendor STC or in house written?

 No. FREE=CLOSE et al have been standard JCL for ages. But 
 does
 the
  OP
 want something in JCL or something in the STC itself?

 --
  Shmuel (Seymour J.) Metz, SysProg and JOAT
  Atid/2http://patriot.net/~shmuel
 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

   
   
   
--
__
best regards,
matan cohen
MF System Administrator.
   
   
 -
 -
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
  
  
  
  
   --
   __
   best regards,
   matan cohen
   MF System Administrator.
  
  
 
 
  --
  __
  best regards,
  matan cohen
  MF System Administrator.
 
  ---
  --- 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




 --
 __
 best regards,
 matan cohen
 MF System Administrator.




--
__
best regards,
matan cohen
MF System Administrator.

--
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: release SYSOUT for a running STC

2012-07-03 Thread Matan Cohen
thanks , I will try it soon , but I'm wondering what will happen if
I'll free the File and application try to write to TDQ? will it be allocate
automatically?


On Tue, Jul 3, 2012 at 4:58 PM, Barkow, Eileen ebar...@doitt.nyc.govwrote:

 For CICS extra partition sysout datasets, you can first close all of the
 indirect tdq's pointing the the DDNAME.
 IE:  for CEEMSG DD, close TDQ CESE:  CEMT SET TDQ(CESE) CLO

 Others DDnames may have more than 1  tdq using it so you will have to find
 all of them.
   CEMT I TDQ(C*) will show DDNAMES used if any

 Then, use transaction ADYN to deallocate.

 ADYN
 FREE FILE(CEEMSG) UNALLOC
 ...   to reallocate:
 ALLOC FILE(CEEMSG) SYSOUT(A)
 ..  to end ADYN, clear screen and  use
 ALT-INSERT-ENTER  keys

 -Original Message-
 From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On
 Behalf Of Matan Cohen
 Sent: Monday, July 02, 2012 7:29 AM
 To: IBM-MAIN@LISTSERV.UA.EDU
 Subject: Re: release SYSOUT for a running STC

 and
 'CEEMSG' .


 On Mon, Jul 2, 2012 at 2:23 PM, Matan Cohen matancohen...@gmail.com
 wrote:

  'IXT0'
 
 
  On Mon, Jul 2, 2012 at 1:10 PM, Itschak Mugzach imugz...@gmail.com
 wrote:
 
  What is the sysout dd name?
 
  On Mon, Jul 2, 2012 at 12:49 PM, Matan Cohen matancohen...@gmail.com
  wrote:
 
   None of the suggestion above seems to help.
  
   On Mon, Jul 2, 2012 at 11:39 AM, Matan Cohen
   matancohen...@gmail.com
   wrote:
  
Hi Itschak,
Nice to hear from you :)
I'll try to Use it  - Hope it will help me.
   
   
On Mon, Jul 2, 2012 at 11:19 AM, Itschak Mugzach
   imugz...@gmail.com
   wrote:
   
Hi Matan,
   
This is the classic case for sysout fragmentation. At CICS STC
jcl
   provide
multiple sysouts with FREE=CLOSE. Every time you close the file
(The transaction that writes to the sysout which is triggered
from the
  TDQ),
the
file is released and the next file is used at open time.
   
ITschak
   
On Mon, Jul 2, 2012 at 10:27 AM, Matan Cohen 
  matancohen...@gmail.com
wrote:
   
 Hi ,
 Thank for the help .
 I should have provide you with the following info :
 the STC is a CICS .
 The DD I want to relese is a TDQ written to a DD - so I cant
  control
   the
 PGM nor the JCL.


 On Sun, Jul 1, 2012 at 6:46 PM, Shmuel Metz (Seymour J.) 
 shmuel+...@patriot.net wrote:

  In 99ab43dc-4e6d-42ea-9433-e0e02f33f...@yahoo.com, on
  06/29/2012
 at 11:28 AM, Scott Ford scott_j_f...@yahoo.com said:
 
  Someone mentioned in a previous post about SPIN and
  FREE...is
  this
   a
  vendor STC or in house written?
 
  No. FREE=CLOSE et al have been standard JCL for ages. But
  does
  the
   OP
  want something in JCL or something in the STC itself?
 
  --
   Shmuel (Seymour J.) Metz, SysProg and JOAT
   Atid/2http://patriot.net/~shmuel
  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
 



 --
 __
 best regards,
 matan cohen
 MF System Administrator.


  -
  -
 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
   
   
   
   
--
__
best regards,
matan cohen
MF System Administrator.
   
   
  
  
   --
   __
   best regards,
   matan cohen
   MF System Administrator.
  
   ---
   --- 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
 
 
 
 
  --
  __
  best regards,
  matan cohen
  MF System Administrator.
 
 


 --
 __
 best regards,
 matan cohen
 MF System Administrator.

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

Re: release SYSOUT for a running STC

2012-07-01 Thread Shmuel Metz (Seymour J.)
In
caluepdg0d1-zceg9dlbgpienh5oevxdqp1ldgsjjog+ar0n...@mail.gmail.com,
on 06/28/2012
   at 09:29 AM, Matan Cohen matancohen...@gmail.com said:

I wonder if there is a way to release a specific sysout DD for a
running STC?

Assuming that you want a solution in the STC code rather than in the
JCL, use SETPRT DISP=SCHEDULE. If the DD has FREE=CLOSE, DISP=EXTERNAL
will also work.

the main idea is to free some of the space which a specific STC is
holding while avoiding restarting the STC.

For JES2 you must ensure that the dataset has its own IOT.

-- 
 Shmuel (Seymour J.) Metz, SysProg and JOAT
 Atid/2http://patriot.net/~shmuel
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: release SYSOUT for a running STC

2012-07-01 Thread Shmuel Metz (Seymour J.)
In 99ab43dc-4e6d-42ea-9433-e0e02f33f...@yahoo.com, on 06/29/2012
   at 11:28 AM, Scott Ford scott_j_f...@yahoo.com said:

Someone mentioned in a previous post about SPIN and FREE...is this a
vendor STC or in house written?

No. FREE=CLOSE et al have been standard JCL for ages. But does the OP
want something in JCL or something in the STC itself?

-- 
 Shmuel (Seymour J.) Metz, SysProg and JOAT
 Atid/2http://patriot.net/~shmuel
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: release SYSOUT for a running STC

2012-06-29 Thread Gary Puchkoff
Starting in z/OS 1.13 any JES2 sysout dataset can be spun

Add the keyword SPIN=(UNALLOC,xxx) on the sysout JCL.  

Where xxx is one of:

• ‘hh:mm’ – Spin data set at specified time
• ‘+hh:mm’ – Spin data set at interval specified
• nnn [K|M] – Spin every nnn records
• NOCMD – Cannot spin data set by command (current processing)
• CMDONLY – Spin only when a command is issued (default)

This is also supported in dynamic allocation and TSO ALLOC

For the cmdonly option you can issue the JES2 command:
$T JQ(xxx),SPIN,DDNAME=ddname – command can spin data set on demand
– If you omit DDNAME= all active spin data sets will be spun for that job

Gary Puchkoff - IBM

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


release SYSOUT for a running STC

2012-06-28 Thread Matan Cohen
Hi,
I wonder if there is a way to release a specific sysout DD for a running
STC?
the main idea is to free some of the space which a specific STC is holding
while avoiding restarting the STC.


-- 
__
best regards,
matan cohen
MF System Administrator.

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


Re: release SYSOUT for a running STC

2012-06-28 Thread McKown, John
 -Original Message-
 From: IBM Mainframe Discussion List 
 [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of Matan Cohen
 Sent: Thursday, June 28, 2012 1:29 AM
 To: IBM-MAIN@LISTSERV.UA.EDU
 Subject: release SYSOUT for a running STC
 
 Hi,
 I wonder if there is a way to release a specific sysout DD 
 for a running
 STC?
 the main idea is to free some of the space which a specific 
 STC is holding
 while avoiding restarting the STC.

So long at it is not open, you can use DYNALLOC to unallocate any DD. How to 
invoke it depends on the source language. 

Or, since you specifically said SYSOUT, perhaps you could use the SEGMENT= 
parameter on the DD statement.
http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/IEA2B6A0/12.59

-- 
John McKown 
Systems Engineer IV
IT

Administrative Services Group

HealthMarkets(r)

9151 Boulevard 26 * N. Richland Hills * TX 76010
(817) 255-3225 phone * 
john.mck...@healthmarkets.com * www.HealthMarkets.com

Confidentiality Notice: This e-mail message may contain confidential or 
proprietary information. If you are not the intended recipient, please contact 
the sender by reply e-mail and destroy all copies of the original message. 
HealthMarkets(r) is the brand name for products underwritten and issued by the 
insurance subsidiaries of HealthMarkets, Inc. -The Chesapeake Life Insurance 
Company(r), Mid-West National Life Insurance Company of TennesseeSM and The 
MEGA Life and Health Insurance Company.SM

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


Re: release SYSOUT for a running STC

2012-06-28 Thread Mary Anne Matyaz
Look into the SPIN= parm on the DD Statement.  Then you could issue: $TS 
0990484,SPIN,DDNAME=SYSPRINT

We set these up to spin every 120K lines: JESLOG=(SPIN,120K) on the job card. 

MA

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


Re: release SYSOUT for a running STC

2012-06-28 Thread Williamson, James R
 I have successfully used $OS,RECORDS=nn. You can specify which sysout 
other 
ways, like OUTGRP=n.n.n 
 


-Original Message-
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf 
Of Matan Cohen
Sent: Thursday, June 28, 2012 1:29 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: release SYSOUT for a running STC

Hi,
I wonder if there is a way to release a specific sysout DD for a running
STC?
the main idea is to free some of the space which a specific STC is holding
while avoiding restarting the STC.


-- 
__
best regards,
matan cohen
MF System Administrator.

--
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