View previous topic :: View next topic
|
Author |
Message |
roscaf Warnings : 1 New User
Joined: 26 Mar 2007 Posts: 5 Location: ireland
|
|
|
|
hi, new here so not sure if this is the right part of the forum for a question like this..
anyway
currently have jobs that append information to files to be transferred
adds in the following info runstamp datestamp
these run midday then the files are transderred overnight
we are swtiching from ca-7 to opc..
opc has its variables though.. so wondering about using them instead of the job running at midday that updates the procs and just use variables in the jcl
I think this would work for the dates quite well but im not sure if it would work for the run stamp?
any suggestions? |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19243 Location: Inside the Matrix
|
|
|
|
Welcome
This
Quote: |
currently have jobs that append information to files to be transferred
adds in the following info runstamp datestamp
these run midday then the files are transderred overnight
|
is not clear. Does this mean that data is added to the content of the file or that the jcl to create the data is modified for each night's run?
If your site is going to change from one scheduling package to another, i'd be tempted to run things as they are until the conversion/migration is behind and then experiment with new options (FWIW). |
|
Back to top |
|
|
roscaf Warnings : 1 New User
Joined: 26 Mar 2007 Posts: 5 Location: ireland
|
|
|
|
yeh we are running things as they, I'm wondering about options for change in the future
The data is appended to the end of the filename of the file that is created from a dataset.
the way it works is that at midday jcl runs that updates a proc with the current date and a run number (if the batch runs again for a second time this job will run again before it to update the run number)
When the batch runs the jcl contains a step for each transfer with the dataset information and the path to write the file being created to, it takes in the date and run information from the proc to create the filename for each file. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19243 Location: Inside the Matrix
|
|
|
|
Hello,
Depending on how the run number is generated, you may want to continue as is - getting the run number into an opc variable may be simple or it may not. |
|
Back to top |
|
|
|