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

TWS - ETT File triggering does not work using IEFBR14


IBM Mainframe Forums -> IBM Tools
Post new topic   Reply to topic
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
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: 2454
Location: Hampshire, UK

PostPosted: Tue Sep 08, 2020 2:48 am
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: 917
Location: The Universe

PostPosted: Tue Sep 08, 2020 5:59 am
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: 49
Location: India

PostPosted: Tue Sep 08, 2020 8:23 am
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


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
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


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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> IBM Tools

 


Similar Topics
Topic Forum Replies
No new posts how to eliminate null indicator value... DB2 7
No new posts Format Binary file to EBCDIC JCL & VSAM 4
No new posts Binary File format getting change whi... All Other Mainframe Topics 7
No new posts Compare 2 files and retrive records f... DFSORT/ICETOOL 3
No new posts FTP VB File from Mainframe retaining ... JCL & VSAM 8
Search our Forums:

Back to Top