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
 

 

Reg:- OPC Variables for Date Manipulation

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> IBM Tools
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    Post subject: Reg:- OPC Variables for Date Manipulation
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: 8593
Location: Back in jolly old England

PostPosted: Tue Aug 04, 2009 6:04 pm    Post subject:
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    Post subject: Reply to: Reg:- OPC Variables for Date Manipulation
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: 8593
Location: Back in jolly old England

PostPosted: Tue Aug 04, 2009 6:41 pm    Post subject:
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    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 TOT & DATE parameter in ICEMAN hemanthj642 DFSORT/ICETOOL 4 Mon Nov 14, 2016 5:19 am
This topic is locked: you cannot edit posts or make replies. How to pass the previous month date i... Suganya87 DFSORT/ICETOOL 5 Mon Oct 31, 2016 4:13 pm
No new posts Protection Exception while move 0 to ... Kevin Vaz CICS 10 Tue Oct 18, 2016 4:19 pm
This topic is locked: you cannot edit posts or make replies. Get correct date and time when curren... balaji81_k DB2 24 Fri Oct 14, 2016 10:40 pm
No new posts Change date (DD/MM/YY) in 2nd record ... uday kiran DFSORT/ICETOOL 12 Wed Sep 07, 2016 10:57 pm


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