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 How to add header with Date(YYMMDD) i... Rajan Moorthy DFSORT/ICETOOL 2 Thu Jul 06, 2017 11:44 pm
No new posts Validate date and numeric fields and ... Rick Silvers DFSORT/ICETOOL 6 Thu May 11, 2017 6:51 pm
No new posts LISTIDR compiled date/time jerryte IBM Tools 3 Thu Apr 20, 2017 7:37 pm
No new posts SUBSTR for Date functions Shaheen Shaik DB2 4 Thu Apr 06, 2017 2:14 pm
No new posts Date and time format in CICS Chandru3183 CICS 2 Sat Mar 18, 2017 12:46 pm


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