IBM Mainframe Forum Index
 
Register
 
IBM Mainframe Forum Index Mainframe: Search Log in to check your private messages Log in
 

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: 2429
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: 863
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: 47
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


Use [URL] BBCode for Links

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


Use [URL] BBCode for Links

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 All times are GMT + 6 Hours
Forum Index -> IBM Tools
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Forum Replies
No new posts COBOL VS SORT Utility for file format... COBOL Programming 6
No new posts How to find which file contains my se... DFSORT/ICETOOL 6
No new posts IGZ0035S THERE WAS AN UNSUCCESSFUL OP... COBOL Programming 3
No new posts Hex Value - vb file replace old date ... DFSORT/ICETOOL 14
No new posts Related to using a file in comparison JCL & VSAM 7

Back to Top