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

Tws variables vs update job


IBM Mainframe Forums -> IBM Tools
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
roscaf
Warnings : 1

New User


Joined: 26 Mar 2007
Posts: 5
Location: ireland

PostPosted: Sat Mar 31, 2007 8:16 am
Reply with quote

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
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Sat Mar 31, 2007 9:00 am
Reply with quote

Welcome icon_smile.gif

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
View user's profile Send private message
roscaf
Warnings : 1

New User


Joined: 26 Mar 2007
Posts: 5
Location: ireland

PostPosted: Sat Mar 31, 2007 6:49 pm
Reply with quote

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
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Sat Mar 31, 2007 8:21 pm
Reply with quote

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
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 JCL with variables JCL & VSAM 1
No new posts Read a flat file and update DB2 table JCL & VSAM 2
No new posts how to update an ISR appl var from an... TSO/ISPF 8
No new posts JCL Variables JCL & VSAM 1
No new posts reset/clear ALL application profile v... TSO/ISPF 3
Search our Forums:

Back to Top