IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

assistance needed on OPCA ETT.


IBM Mainframe Forums -> IBM Tools
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
aprocon

New User


Joined: 26 Oct 2010
Posts: 41
Location: chennai

PostPosted: Tue Oct 26, 2010 12:59 pm
Reply with quote

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
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2481
Location: Netherlands, Amstelveen

PostPosted: Tue Oct 26, 2010 1:32 pm
Reply with quote

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
View user's profile Send private message
Arun Raj

Moderator


Joined: 17 Oct 2006
Posts: 2481
Location: @my desk

PostPosted: Tue Oct 26, 2010 1:34 pm
Reply with quote

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
View user's profile Send private message
aprocon

New User


Joined: 26 Oct 2010
Posts: 41
Location: chennai

PostPosted: Tue Oct 26, 2010 2:21 pm
Reply with quote

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
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2481
Location: Netherlands, Amstelveen

PostPosted: Tue Oct 26, 2010 5:38 pm
Reply with quote

*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
View user's profile Send private message
aprocon

New User


Joined: 26 Oct 2010
Posts: 41
Location: chennai

PostPosted: Tue Oct 26, 2010 9:03 pm
Reply with quote

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
View user's profile Send private message
aprocon

New User


Joined: 26 Oct 2010
Posts: 41
Location: chennai

PostPosted: Wed Oct 27, 2010 2:23 pm
Reply with quote

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
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2481
Location: Netherlands, Amstelveen

PostPosted: Wed Oct 27, 2010 2:59 pm
Reply with quote

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
View user's profile Send private message
Ramya G

New User


Joined: 01 Jul 2009
Posts: 6
Location: India

PostPosted: Wed Oct 27, 2010 3:33 pm
Reply with quote

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
View user's profile Send private message
aprocon

New User


Joined: 26 Oct 2010
Posts: 41
Location: chennai

PostPosted: Wed Oct 27, 2010 3:45 pm
Reply with quote

Peter,

yes, I did follow the instructions in the manual.
Back to top
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2481
Location: Netherlands, Amstelveen

PostPosted: Wed Oct 27, 2010 4:48 pm
Reply with quote

For now im at a loss, cause here :

ibmmainframes.com/about47408.html

it worked.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19243
Location: Inside the Matrix

PostPosted: Wed Oct 27, 2010 7:41 pm
Reply with quote

Hello,

Is the FTP actually creating the dataset or simply over-writing an existing dataset?
Back to top
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2481
Location: Netherlands, Amstelveen

PostPosted: Wed Oct 27, 2010 9:11 pm
Reply with quote

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
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19243
Location: Inside the Matrix

PostPosted: Wed Oct 27, 2010 9:25 pm
Reply with quote

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 icon_smile.gif

d
Back to top
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2481
Location: Netherlands, Amstelveen

PostPosted: Wed Oct 27, 2010 9:32 pm
Reply with quote

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
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19243
Location: Inside the Matrix

PostPosted: Thu Oct 28, 2010 3:53 am
Reply with quote

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. . . icon_confused.gif

d
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> IBM Tools

 


Similar Topics
Topic Forum Replies
No new posts Help needed in automation cics transa... CLIST & REXX 1
No new posts Mainframe Programmer with CICS Skill... Mainframe Jobs 0
No new posts Help needed to assemble IMS sample co... ABENDS & Debugging 4
No new posts RABBIT HOLE NEEDED - "Live"... All Other Mainframe Topics 0
This topic is locked: you cannot edit posts or make replies. Need assistance in job scheduling logic. Mainframe Interview Questions 2
Search our Forums:

Back to Top