Lizette,

The file names have a dynamic component to them so I can't hard code them as 
pre-req's.

– Vignesh
Mainframe Infrastructure

-----Original Message-----
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf 
Of Lizette Koehler
Sent: Friday, June 24, 2016 9:24 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: Dynamic enqueue creation

If you have scheduling software (CA-7, CA Workload Automation ESP, Tivoli)

They should be able to trigger work based upon when a dataset is receive 
(Allocate/Catalog)

Jobs needing this file would be successors to the MQ process.


Lizette


> -----Original Message-----
> From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU]
> On Behalf Of Walt Farrell
> Sent: Friday, June 24, 2016 8:27 AM
> To: IBM-MAIN@LISTSERV.UA.EDU
> Subject: Re: Dynamic enqueue creation
>
> On Fri, 24 Jun 2016 15:17:50 +0000, Sankaranarayanan, Vignesh
> <vignesh.v.sankaranaraya...@marks-and-spencer.com> wrote:
>
> >This is to cope with MQ FTE's "feature" of not locking datasets for
> >the
> duration of a transfer.
> >
> >Using ANT scripts to initiate a transfer of a list of datasets that
> >resolve to a wildcard, we've found that in the time gap between the
> >initial resolve of the wildcard and the transfer of datasets found in
> >the
> wildcard, those datasets are processed by some other entity, leaving
> the MQ FTE step to fail saying dataset deleted (already processed).
> >There's the outcome=defer option in the ANT script but I don't
> >believe it has led to the job to stay active until the MQ FTE
> >transfer completes
> fully.
>
> I am concerned that your allocation as OLD will prevent the subsequent
> use of them for transfer in a later job-step. It may work, but it may
> not. That is, if you have a data set allocated OLD by your exec, and
> then a later step in your job tries to do a dynamic allocation either
> SHR or OLD I think that later allocation may fail.
>
> However, I can't test this (no longer having access to z/OS).
>
> Plus, you have my initial concern that your use of ALLOC in the exec
> may itself fail if someone else has the data set allocated already.
>
> --
> Walt
>

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

MARKSANDSPENCER.COM
________________________________
 Unless otherwise stated above:
Marks and Spencer plc
Registered Office:
Waterside House
35 North Wharf Road
London
W2 1NW

Registered No. 214436 in England and Wales.

Telephone (020) 7935 4422
Facsimile (020) 7487 2670

www.marksandspencer.com

Please note that electronic mail may be monitored.

This e-mail is confidential. If you received it by mistake, please let us know 
and then delete it from your system; you should not copy, disclose, or 
distribute its contents to anyone nor act in reliance on this e-mail, as this 
is prohibited and may be unlawful.

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

Reply via email to