Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Tws variables vs update job

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> IBM Tools
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    Post subject: Tws variables vs update job
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

Site Director


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

PostPosted: Sat Mar 31, 2007 9:00 am    Post subject:
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    Post subject:
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

Site Director


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

PostPosted: Sat Mar 31, 2007 8:21 pm    Post subject:
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    IBMMAINFRAMES.com Support Forums -> IBM Tools All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts IMS DB-How to update a record (a sing... Nic Clouston IMS DB/DC 9 Thu Mar 09, 2017 4:38 pm
No new posts DB2 9.1.0 not move values to Host-Var... Miguel Fernandez DB2 8 Wed Jan 25, 2017 8:24 pm
No new posts DB2 9.1.0 not move values to Host-Var... Miguel Fernandez DB2 0 Wed Jan 25, 2017 8:23 pm
No new posts DB2 9.1.0 not move values to Host-Var... Miguel Fernandez DB2 0 Wed Jan 25, 2017 8:21 pm
No new posts -913/-911 Deadlock during UPDATE stat... NoSleep319 DB2 5 Fri Nov 18, 2016 12:37 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us