Portal | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Forum Index
 
Register
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
TWS - ETT File triggering does not work using IEFBR14

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> IBM Tools
View previous topic :: :: View next topic  
Author Message
me00266

New User


Joined: 29 May 2007
Posts: 2
Location: Portugal

PostPosted: Mon Sep 07, 2020 11:58 pm    Post subject: TWS - ETT File triggering does not work using IEFBR14
Reply with quote

Hello all, maybe someone can help me with the following issue:
I'm testing the use of the ETT file triggering in order to put an application in the current plan whe a file is created; I've followed the manual instructions and first I've tested by creating the file thru TSO and it works fine;
By submiting thru the IBM util IEBGENER when it creates the file, it also works;
Finally, when creating the file thru the util IEFBR14, it does not trigger the application on the current PLAN.

Does anyone has an idea of the reason why ?

thank you in advance
Back to top
View user's profile Send private message

Nic Clouston

Global Moderator


Joined: 10 May 2007
Posts: 2400
Location: Hampshire, UK

PostPosted: Tue Sep 08, 2020 2:48 am    Post subject: Reply to: TWS - ETT File triggering does not work using IEFBR14
Reply with quote

Probably because IEFBR14 does not access the dataset (it's not a file) so the relevant SMF records are not created.
Back to top
View user's profile Send private message
steve-myers

Active Member


Joined: 30 Nov 2013
Posts: 859
Location: The Universe

PostPosted: Tue Sep 08, 2020 5:59 am    Post subject:
Reply with quote

At one level I agree with Mr. Clouston. I have no idea what SMF records TWS looks for. I think - mind you I do not have any expertise on this area - that an IEFBR14 step like this will create SMF data acceptable to TWS.
Code:
//...     EXEC PGM=IEFBR14
//...      DD  DISP=(,CATLG),...,DSN=...
I think cataloging the data set is a requirement. I do not think defining a tape data set using JCL like this will work; only defining a disk data set will work.

If TWS also wants to see type 15 records as Mr. Clouston thinks, then you will have to write a dummy IEBGENER like this, or an equivalent.
Code:
//...     EXEC PGM=IEBGENER
//SYSPRINT DD  SYSOUT=*
//SYSUT1   DD  DUMMY
//SYSUT2   DD  DISP=(,CATLG),...,DSN=...
//SYSIN    DD  DUMMY
You will have to code appropriate DCB parameters on the SYSUT1 and SYSUT2 DD statements. If that doesn't work, then you will have to contact TWS support for additional guidance.
Back to top
View user's profile Send private message
Apoorva

New User


Joined: 28 Jan 2020
Posts: 46
Location: India

PostPosted: Tue Sep 08, 2020 8:23 am    Post subject: Re: TWS - ETT File triggering does not work using IEFBR14
Reply with quote

me00266 wrote:
Hello all, maybe someone can help me with the following issue:
I'm testing the use of the ETT file triggering in order to put an application in the current plan whe a file is created; I've followed the manual instructions and first I've tested by creating the file thru TSO and it works fine;
By submiting thru the IBM util IEBGENER when it creates the file, it also works;
Finally, when creating the file thru the util IEFBR14, it does not trigger the application on the current PLAN.

Does anyone has an idea of the reason why ?

thank you in advance


https://publib.boulder.ibm.com/tividd/td/TWS/SC32-1263-00/en_US/HTML/EQQR1MST93.htm

ETT looks for SMF records created by CLOSE action. Since IEFBR14 doesn't perform OPEN/CLOSE action against the allocated dataset, the trigger doesn't work.
Back to top
View user's profile Send private message
me00266

New User


Joined: 29 May 2007
Posts: 2
Location: Portugal

PostPosted: Tue Sep 08, 2020 3:21 pm    Post subject: Re: TWS - ETT File triggering does not work using IEFBR14
Reply with quote

Apoorva wrote:
me00266 wrote:
Hello all, maybe someone can help me with the following issue:
I'm testing the use of the ETT file triggering in order to put an application in the current plan whe a file is created; I've followed the manual instructions and first I've tested by creating the file thru TSO and it works fine;
By submiting thru the IBM util IEBGENER when it creates the file, it also works;
Finally, when creating the file thru the util IEFBR14, it does not trigger the application on the current PLAN.

Does anyone has an idea of the reason why ?

thank you in advance


https://publib.boulder.ibm.com/tividd/td/TWS/SC32-1263-00/en_US/HTML/EQQR1MST93.htm

ETT looks for SMF records created by CLOSE action. Since IEFBR14 doesn't perform OPEN/CLOSE action against the allocated dataset, the trigger doesn't work.


Yeah, you're right ! IEFBR14 does not create an OPEN/CLOSE action against SMF

Many thanks !
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 How to process dependent file based o... HithaSri JCL & VSAM 7 Sun Sep 06, 2020 12:42 pm
No new posts EIBRESP =16 & EIBRESP2 = 01 while... Farheen CICS 4 Mon Aug 24, 2020 2:05 pm
No new posts Dynamic file read via JCL abdulrafi JCL & VSAM 4 Fri Aug 14, 2020 11:51 am
No new posts to Insert Rows from File1 to File 2 ... Arun_Tupili DFSORT/ICETOOL 1 Thu Aug 13, 2020 6:22 pm
No new posts Multiple Sums in one File Rick Ryan SYNCSORT 2 Wed Jul 29, 2020 1:30 am

Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us