Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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: 8631
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: 8631
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 COMP Variables Mismatch gayu7 COBOL Programming 5 Wed Dec 20, 2017 5:06 pm
No new posts Fetching data from JHS as per the cur... arunsoods All Other Mainframe Topics 4 Wed Nov 22, 2017 1:54 pm
No new posts Date in where clause - Windows Karthikeyan Subbarayan DB2 9 Wed Nov 15, 2017 9:07 pm
This topic is locked: you cannot edit posts or make replies. Need help how to pass the ESP variabl... Venkichaitu JCL & VSAM 12 Thu Nov 02, 2017 3:53 am
No new posts Compare yesterday's date to the one o... migusd SYNCSORT 11 Fri Sep 22, 2017 11:35 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us