Re: DEQ dynamically

2019-02-15 Thread Seymour J Metz
Discussion List on behalf of Larry Chenevert Sent: Thursday, February 14, 2019 9:26 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: DEQ dynamically I wonder: can I deallocate a dataset with DYNALLOC, that has been allocated by the initiator because there is a DD statement? Kees. Table 1. Verb

Re: DEQ dynamically

2019-02-15 Thread Robert Garrett
Yes, you can. And it doesn't break anything. In CICS there is a utility transaction, ADYN, that can be used to allocate/deallocate datasets. It calls SVC 99 "under the covers". I've used it on many occasions to free allocations in a CICS region that had been made via DD statements in the regio

Re: DEQ dynamically

2019-02-14 Thread Larry Chenevert
I wonder: can I deallocate a dataset with DYNALLOC, that has been allocated by the initiator because there is a DD statement? Kees. Table 1. Verb code 02 (dynamic unallocation) – Text unit keys, mnemonics, and functions Hex text unit key MnemonicDYNALLOC function . 0007

Re: DEQ dynamically

2019-02-14 Thread Seymour J Metz
du/~smetz3 From: IBM Mainframe Discussion List on behalf of Paul Gilmartin <000433f07816-dmarc-requ...@listserv.ua.edu> Sent: Tuesday, February 12, 2019 1:31 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: DEQ dynamically On Tue, 12 Feb 2019 18:25:34 +, Seymour J Metz wrote: >Not i

Re: DEQ dynamically

2019-02-14 Thread Seymour J Metz
February 12, 2019 3:52 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: DEQ dynamically On Tue, 12 Feb 2019 18:35:39 +, Seymour J Metz wrote: >The free doesn't do a DEQ if another step needs the dataset. > Makes sense. Is it documented? Most probably in the description of SVC 99, sin

Re: DEQ dynamically

2019-02-12 Thread Paul Gilmartin
On Tue, 12 Feb 2019 18:35:39 +, Seymour J Metz wrote: >The free doesn't do a DEQ if another step needs the dataset. > Makes sense. Is it documented? Most probably in the description of SVC 99, since it applies alike to all programs, foreground and batch. -- gil ---

Re: DEQ dynamically

2019-02-12 Thread Seymour J Metz
ent: Monday, February 11, 2019 4:13 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: DEQ dynamically On Mon, 11 Feb 2019 20:15:29 +, Seymour J Metz wrote: >Only if the job doesn't have a subsequent step with a DD for the same dataset. > Why? I never did a DYNALLOC ALLOCATE; only a FREE, a

Re: DEQ dynamically

2019-02-12 Thread Paul Gilmartin
On Tue, 12 Feb 2019 18:25:34 +, Seymour J Metz wrote: >Not in the normal course of events. Don't try this at home. > Why not? o What's the hazard (beyond failure with a message)? o Is that documented? >From: Vernooij, Kees (ITOP NM) - KLM >Sent: Tu

Re: DEQ dynamically

2019-02-12 Thread Seymour J Metz
-MAIN@LISTSERV.UA.EDU Subject: Re: DEQ dynamically I wonder: can I deallocate a dataset with DYNALLOC, that has been allocated by the initiator because there is a DD statement? Kees. > -Original Message- > From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On

Re: DEQ dynamically

2019-02-12 Thread Seymour J Metz
u.edu/~smetz3 From: IBM Mainframe Discussion List on behalf of Vernooij, Kees (ITOP NM) - KLM Sent: Tuesday, February 12, 2019 2:24 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: DEQ dynamically Where does the term 'reference count' come from? If the initiator

Re: DEQ dynamically

2019-02-11 Thread Vernooij, Kees (ITOP NM) - KLM
Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On > Behalf Of Paul Gilmartin > Sent: 11 February, 2019 22:14 > To: IBM-MAIN@LISTSERV.UA.EDU > Subject: Re: DEQ dynamically > > On Mon, 11 Feb 2019 20:15:29 +, Seymour J Metz wrote: > > >Only if the job doesn'

Re: DEQ dynamically

2019-02-11 Thread Vernooij, Kees (ITOP NM) - KLM
, 2019 21:15 > To: IBM-MAIN@LISTSERV.UA.EDU > Subject: Re: DEQ dynamically > > Only if the job doesn't have a subsequent step with a DD for the same > dataset. > > > -- > Shmuel (Seymour J.) Metz > http://mason.gmu.edu/~smetz3 > >

Re: DEQ dynamically

2019-02-11 Thread Vernooij, Kees (ITOP NM) - KLM
r J Metz > Sent: 11 February, 2019 17:41 > To: IBM-MAIN@LISTSERV.UA.EDU > Subject: Re: DEQ dynamically > > When the Initiator frees a dataset and no subsequent step has a DD for > it, the Initiator does a DEQ. If there is a subsequent dynamic > allocation, then the In

Re: DEQ dynamically

2019-02-11 Thread Paul Gilmartin
On Mon, 11 Feb 2019 20:15:29 +, Seymour J Metz wrote: >Only if the job doesn't have a subsequent step with a DD for the same dataset. > Why? I never did a DYNALLOC ALLOCATE; only a FREE, and that should set the reference count to 0. Or does the reference count count each step mentioning the

Re: DEQ dynamically

2019-02-11 Thread Seymour J Metz
v.ua.edu> Sent: Monday, February 11, 2019 2:54 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: DEQ dynamically On Mon, 11 Feb 2019 16:40:49 +, Seymour J Metz wrote: > >BPXWDYN is just a fron end; ultimately it goes to the same DYNALLOC (SVC 99) >as any other allocation. > >GRS ma

Re: DEQ dynamically

2019-02-11 Thread Seymour J Metz
Discussion List on behalf of Jake Anderson Sent: Sunday, February 10, 2019 11:55 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: DEQ dynamically Hi Is it possible to deallocate a dataset without recycling address space. The dataset is users one and for some reason I would like to know if we can

Re: DEQ dynamically

2019-02-11 Thread Paul Gilmartin
On Mon, 11 Feb 2019 16:40:49 +, Seymour J Metz wrote: > >BPXWDYN is just a fron end; ultimately it goes to the same DYNALLOC (SVC 99) >as any other allocation. > >GRS maintains a global reference count for any resource, not just SYSDSN. > Does that imply that if I have a DSN allocated by a JC

Re: DEQ dynamically

2019-02-11 Thread Seymour J Metz
Paul Gilmartin <000433f07816-dmarc-requ...@listserv.ua.edu> Sent: Monday, February 11, 2019 11:13 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: DEQ dynamically On Mon, 11 Feb 2019 06:43:14 -0600, John McKown wrote: > >One thing that I sometimes do is include a FREE=CLOSE on a DD if I am

Re: DEQ dynamically

2019-02-11 Thread John McKown
On Mon, Feb 11, 2019 at 10:13 AM Paul Gilmartin < 000433f07816-dmarc-requ...@listserv.ua.edu> wrote: > On Mon, 11 Feb 2019 06:43:14 -0600, John McKown wrote: > > > >One thing that I sometimes do is include a FREE=CLOSE on a DD if I am > >certain that the application will only read if once, say

Re: DEQ dynamically

2019-02-11 Thread Paul Gilmartin
On Mon, 11 Feb 2019 06:43:14 -0600, John McKown wrote: > >One thing that I sometimes do is include a FREE=CLOSE on a DD if I am >certain that the application will only read if once, say at start up, for >configuration information. > How does that work if a subsequent job step contains a DD stateme

Re: DEQ dynamically

2019-02-11 Thread Elardus Engelbrecht
Jake Anderson wrote: >Is it possible to deallocate a dataset without recycling address space. Why? What are you trying to solve? Or, rather, what are you trying to break? In short - no. You stop the application [1]. >The dataset is users one and for some reason I would like to know if we can

Re: DEQ dynamically

2019-02-11 Thread Lizette Koehler
List On Behalf Of > Jake Anderson > Sent: Sunday, February 10, 2019 9:55 PM > To: IBM-MAIN@LISTSERV.UA.EDU > Subject: DEQ dynamically > > Hi > > Is it possible to deallocate a dataset without recycling address space. > > The dataset is users one and for some reason I w

Re: DEQ dynamically

2019-02-11 Thread Allan Staller
@LISTSERV.UA.EDU Subject: DEQ dynamically Hi Is it possible to deallocate a dataset without recycling address space. The dataset is users one and for some reason I would like to know if we can Dynamically remove it from allocation Jake

Re: DEQ dynamically

2019-02-11 Thread John McKown
On Mon, Feb 11, 2019 at 6:14 AM Vernooij, Kees (ITOP NM) - KLM < kees.verno...@klm.com> wrote: > I am happy there is no command to deallocate a dataset behind the back of > the application that enqueued it. > Jikes. > > Kees. > > I can envision writing an APF authorized program which could schedul

Re: DEQ dynamically

2019-02-11 Thread Vernooij, Kees (ITOP NM) - KLM
52 > To: IBM-MAIN@LISTSERV.UA.EDU > Subject: Re: DEQ dynamically > > Do you mean using something like an operator command? If so, not that I > know of. > > On Sun, Feb 10, 2019, 22:55 Jake Anderson wrote: > > > Hi > > > > Is it possible to deallocate a

Re: DEQ dynamically

2019-02-11 Thread John McKown
Do you mean using something like an operator command? If so, not that I know of. On Sun, Feb 10, 2019, 22:55 Jake Anderson Hi > > Is it possible to deallocate a dataset without recycling address space. > > The dataset is users one and for some reason I would like to know if we can > Dynamically r

DEQ dynamically

2019-02-10 Thread Jake Anderson
Hi Is it possible to deallocate a dataset without recycling address space. The dataset is users one and for some reason I would like to know if we can Dynamically remove it from allocation Jake -- For IBM-MAIN subscribe / sign