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

Reg:- OPC Variables for Date Manipulation


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

New User


Joined: 12 Mar 2008
Posts: 53
Location: Chennai

PostPosted: Tue Aug 04, 2009 5:48 pm
Reply with quote

Hi all,

Can anyone please tel me how to get the following date using OPC variables.

i.e 1st day of the previous month in the form - CYYMMDD &
last day of the previous month - CYYMMDD

For example,
Suppose my job runs on first saturday of the month, I want to know the OPC variable to calculate, 1st and last day of previous month.
i.e. Currently since it runs on 01aug09, OPC variable for 1090701 and 1090731.

Please help me out.

Thanks in Advance,
K.Ashok Kumar.
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Tue Aug 04, 2009 6:04 pm
Reply with quote

Have you talked to the people responsible for OPC at your site, and have you read any manuals about OPC
Back to top
View user's profile Send private message
ashok4u_it

New User


Joined: 12 Mar 2008
Posts: 53
Location: Chennai

PostPosted: Tue Aug 04, 2009 6:18 pm
Reply with quote

No, here i dont have direct communication with our OPC. But, since i had already worked on some OPC variables, i have an few idea for some date format in OPC.

Can anyone help me.

Regards
K.Ashok Kumar
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Tue Aug 04, 2009 6:41 pm
Reply with quote

You will need to read the manuals for which variables are supplied by IBM for TWS, and also the section about User Defined variables to see if it is possible to create your own to give you what you want.

All of the supplied variables appear to be for the current month.

All can be found in chapter 1.23.1 of the Tivoli Workload Scheduler for z/OS V?R? Managing the Workload manual.
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 Modifying Date Format Using DFSORT DFSORT/ICETOOL 9
No new posts Need to convert date format DFSORT/ICETOOL 20
No new posts Need help to append a date&tsp at... DFSORT/ICETOOL 9
No new posts Fetch data from programs execute (dat... DB2 3
No new posts Insert system time/date (timestamp) u... DFSORT/ICETOOL 5
Search our Forums:

Back to Top