View previous topic :: View next topic
|
Author |
Message |
aprocon
New User
Joined: 26 Oct 2010 Posts: 41 Location: chennai
|
|
|
|
Hi all
I have some files that are being FTP'ed from unix to mainframes almost thru out the day. I would like to process these files based on their availability. hence i have chosen OPCA ETT. My process with the files is going to be the same( unloading, loading, etc.). but my file names differ in the last qualifier. I do not know how many files i am going to receive a day. Just wondering will my job process trigger if i give * as the last qualifier in the name of the triggering event.
Any suggestion other than ETT is also appreciated..
Thanks in advance for all your suggestions. |
|
Back to top |
|
|
PeterHolland
Global Moderator
Joined: 27 Oct 2009 Posts: 2481 Location: Netherlands, Amstelveen
|
|
|
|
You can specify the triggering-event name generically by using the
generic search characters * (asterisk) or % (percent). If there is more
than one match for generic filters, the most specific match is selected.
See :
TWS Managing the Workload SC32-1263-00 |
|
Back to top |
|
|
Arun Raj
Moderator
Joined: 17 Oct 2006 Posts: 2481 Location: @my desk
|
|
|
|
Hello,
Welcome to the forums.
I doubt if it's possible to give multiple datasets as ETT triggers. You may give a single dataset as ETT trigger and list out the rest of datasets as "special resources" in OPC if you want to wait for all the files.
Anyways it all depends on how you want to trigger your process, whether ANY one of the files is available or ALL the files are available. |
|
Back to top |
|
|
aprocon
New User
Joined: 26 Oct 2010 Posts: 41 Location: chennai
|
|
|
|
Thanks Peter and Arun..
I need to start my job as and when the file is available in the mainframes. so here is my requirement like. my job "x" should trigger when file A.B.1 is available, again x should trigger when file A.B.2 is available and it should work until all the files A.B.N are received.
Thanks |
|
Back to top |
|
|
PeterHolland
Global Moderator
Joined: 27 Oct 2009 Posts: 2481 Location: Netherlands, Amstelveen
|
|
|
|
*sigh*
What didnt you understand about the answer i gave in response to
your question on using a generic dataset name as triggering dataset.
Its all in the manuals and else ask your TWS support. |
|
Back to top |
|
|
aprocon
New User
Joined: 26 Oct 2010 Posts: 41 Location: chennai
|
|
|
|
Hi Peter,
I looked at the document and was little confused. I thought it was just for J- type.. Will try and let you know..
Thanks for your response.. |
|
Back to top |
|
|
aprocon
New User
Joined: 26 Oct 2010 Posts: 41 Location: chennai
|
|
|
|
Peter,
It works if the dataset is already exisitng but not when I try FTP ing. I am not able to figure out the reason. I skimmed through the forums to figure out if anyone have had similar issues, I saw the below instructions from Rajesh and followed them, but still unlucky.
1. Triggering event and job submitted application, and other parameter
should be defined in ETT pannel shown in my first post.
2. Triggering event should be present in EQQDLIST and EQQDLIST in
member of OPC job lib. ( I was missed out this thing. )
3 EQQDLIST is created by using EQLSJCLR JCL ( It is supplied by IBM while installing OPC,change the JCL according to your needs ).
could you please help me through? |
|
Back to top |
|
|
PeterHolland
Global Moderator
Joined: 27 Oct 2009 Posts: 2481 Location: Netherlands, Amstelveen
|
|
|
|
Did you follow the instructions in chapter Chapter 20 Event Triggered Tracking in manual :
TWS Planning and Scheduling the Workload SH19-4546-01 |
|
Back to top |
|
|
Ramya G
New User
Joined: 01 Jul 2009 Posts: 6 Location: India
|
|
|
|
Hi,
My problem is the same too. If I FTP the dataset, the job is not triggered. but it works fine when I do a COPY of the dataset. Is their any other way to achieve this? I followed the instructions in the manual.
Thanks |
|
Back to top |
|
|
aprocon
New User
Joined: 26 Oct 2010 Posts: 41 Location: chennai
|
|
|
|
Peter,
yes, I did follow the instructions in the manual. |
|
Back to top |
|
|
PeterHolland
Global Moderator
Joined: 27 Oct 2009 Posts: 2481 Location: Netherlands, Amstelveen
|
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19243 Location: Inside the Matrix
|
|
|
|
Hello,
Is the FTP actually creating the dataset or simply over-writing an existing dataset? |
|
Back to top |
|
|
PeterHolland
Global Moderator
Joined: 27 Oct 2009 Posts: 2481 Location: Netherlands, Amstelveen
|
|
|
|
dick scherrer wrote: |
Hello,
Is the FTP actually creating the dataset or simply over-writing an existing dataset? |
Hello Dick,
TWS dataset triggering works on closing a data set event, but now im wondering if the dataset coming from a unix box is going to a ZOs unix
environment. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19243 Location: Inside the Matrix
|
|
|
|
Hi Peter,
Quote: |
TWS dataset triggering works on closing a data set event |
Any close? What if a file is open i/o?
I thought that a dataset trigger was for newly created datasets (not specifically TWS, but schedulers in general)?
Or is there a way to differentiate?
Good thing i'm not a scheduler
d |
|
Back to top |
|
|
PeterHolland
Global Moderator
Joined: 27 Oct 2009 Posts: 2481 Location: Netherlands, Amstelveen
|
|
|
|
Dick,
data set triggering is depending of the closing of a dataset. FTP'ing a
dataset to a mainframe is in my opinion receiving it and then after that
closing it. TWS (OPC) exits have to take care of that. I dont know the
environment te TS is working with, so as i suggested to read the manuals
and act like suggested in those manuals, another way to solve this problem is to ask TWS support (if existing) |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19243 Location: Inside the Matrix
|
|
|
|
Hi Peter,
Quote: |
data set triggering is depending of the closing of a dataset. |
Yup, i would expect the close to activate the trigger. I would also expect that more than just the close would be involved. . .
d |
|
Back to top |
|
|
|