Page 1 of 1

Question on dataset connection

PostPosted: Fri Mar 16, 2012 1:43 am
by ab1982
Hi all,
This is my first post here.
I am an application programmer but have to logon to CA7 to interpret scheduling and dependencies, and I'm familiar with the basic commands.
I can completely understand dataset triggering but have a question on dataset connection/requirements.
On our mainframe I could see many jobs having datasets in the requirement without any Leadtm. My question is -
1) In case of a GDG connection, how does the job make out if the latest version was created on the same day?
Or is it sufficient to have the latest generation of the GDg and create date doesn't matter.

2) In case of a flat file, is the presence of the file on the mainframe is enough to satisfy the requirement?

Tx,
AB

Re: Question on dataset connection

PostPosted: Fri Mar 16, 2012 4:01 am
by Robert Sample
A hint from the CA-7 System Programmer Guide manual:
If the SMF type-15 record is not passed to CA-7, data set triggering cannot occur for the data set.
and from the System Management Facility manual:
13.20 Record Type 15 (0F) -- OUTPUT, UPDAT, INOUT, or OUTIN Data Set Activity Record type 15 is written for non-VSAM direct access, or VIO tape data sets that are defined by DD statements or dynamic allocation and opened for OUTPUT, UPDAT, INOUT, or OUTIN processing by problem programs. It is written when a data set, as described above, is closed or processed by the end-of-volume (EOV). Its length varies, depending upon the number of volumes for the data set.
So the answers to your questions are:
1. When the GDG is closed (or end of volume occurs) and the SMF type 15 record is written.
2. When the sequential file is closed (or end of volume occurs) and the SMF type 15 record is written.