Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

assistance needed on OPCA ETT.

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> IBM Tools
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    Post subject: assistance needed on OPCA ETT.
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: 2422
Location: Netherlands, Amstelveen

PostPosted: Tue Oct 26, 2010 1:32 pm    Post subject:
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: 2162
Location: @my desk

PostPosted: Tue Oct 26, 2010 1:34 pm    Post subject:
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    Post subject: Reply to: assistance needed on OPCA ETT.
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: 2422
Location: Netherlands, Amstelveen

PostPosted: Tue Oct 26, 2010 5:38 pm    Post subject:
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    Post subject: Reply to: assistance needed on OPCA ETT.
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    Post subject: Reply to: assistance needed on OPCA ETT.
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: 2422
Location: Netherlands, Amstelveen

PostPosted: Wed Oct 27, 2010 2:59 pm    Post subject:
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    Post subject:
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    Post subject: Reply to: assistance needed on OPCA ETT.
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: 2422
Location: Netherlands, Amstelveen

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

For now im at a loss, cause here :

http://ibmmainframes.com/about47408.html

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

Site Director


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

PostPosted: Wed Oct 27, 2010 7:41 pm    Post subject:
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: 2422
Location: Netherlands, Amstelveen

PostPosted: Wed Oct 27, 2010 9:11 pm    Post subject:
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

Site Director


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

PostPosted: Wed Oct 27, 2010 9:25 pm    Post subject: Reply to: assistance needed on OPCA ETT.
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: 2422
Location: Netherlands, Amstelveen

PostPosted: Wed Oct 27, 2010 9:32 pm    Post subject:
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

Site Director


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

PostPosted: Thu Oct 28, 2010 3:53 am    Post subject: Reply to: assistance needed on OPCA ETT.
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    IBMMAINFRAMES.com Support Forums -> IBM Tools All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Help Needed with View Direct shailesh_do CA Products 2 Wed Jul 13, 2016 10:39 am
No new posts Need assistance to Convert Decimal to... SENTHIL MURUGAAN COBOL Programming 5 Fri Oct 16, 2015 12:57 pm
No new posts Information needed on using the COBAN... venugopal.dondla COBOL Programming 5 Thu Oct 08, 2015 3:34 pm
No new posts Help needed in Conditional statement ... vinu78 DB2 5 Tue Sep 15, 2015 10:14 am
No new posts Help needed to locate the changes wh... thesumitk TSO/ISPF 6 Fri Jun 12, 2015 6:21 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us