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
 
Need OPC variable to get the value of 'HHMMSSXX'

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics
View previous topic :: :: View next topic  
Author Message
vsphanindra

New User


Joined: 05 Mar 2007
Posts: 3
Location: Hyderabad

PostPosted: Wed Mar 07, 2007 9:56 am    Post subject: Need OPC variable to get the value of 'HHMMSSXX'
Reply with quote

Hi can any one tell me how to get the value "HHMMSSXX", I need this as an OPC variable....
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: Thu Mar 08, 2007 9:13 am    Post subject:
Reply with quote

Hello,

What does "OPC" refer to in your question?
Back to top
View user's profile Send private message
vsphanindra

New User


Joined: 05 Mar 2007
Posts: 3
Location: Hyderabad

PostPosted: Thu Mar 08, 2007 10:07 am    Post subject: Re: Need OPC variable to get the value of 'HHMMSSXX'
Reply with quote

Hi...I mean the OPC variables is Scheduler..the time when the job is submitted is scheduled by the scheduler...

I want to know whether the following works or not?

//*%OPC SCAN
//*%OPC SETFORM OCDATE=(YYMMDD)
//*%OPC SETVAR TDATE0=(OCDATE + 0WD)
//*%OPC SETFORM CHHMMSSX=(HHMMSSX) //*%OPC SETFORM OCDATE=(YYYYMMDD)
//*%OPC SETVAR TDATE3=(YYYYMMDD)


The one in BOLD is what I am asking for..

thanks
phanindra.
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: Thu Mar 08, 2007 8:21 pm    Post subject:
Reply with quote

Hello,

For a better understanding, please refer to the IBM documentation. It is here:
http://publib.boulder.ibm.com/tividd/td/opc/eqqq0mst/en_US/PDF/eqqq0mst.pdf

From what i just, read you may only use HH and MM, not SS&X.

If you are interested in scheduling, why is there a need to have time lower than a full minute?
Back to top
View user's profile Send private message
vsphanindra

New User


Joined: 05 Mar 2007
Posts: 3
Location: Hyderabad

PostPosted: Fri Mar 09, 2007 9:43 am    Post subject: Re: Need OPC variable to get the value of 'HHMMSSXX'
Reply with quote

Thanks.....
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 -> All Other Mainframe Topics All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Moving values to a variable of copybo... Vignesh Sid COBOL Programming 6 Wed Sep 06, 2017 1:04 pm
No new posts Updating the Trailer count in variabl... satheshbabur DFSORT/ICETOOL 6 Wed Aug 30, 2017 9:49 pm
No new posts Move from Comp3 variable to Edited Va... sreekusr COBOL Programming 8 Thu Aug 10, 2017 4:20 pm
No new posts Can I traverse a STEM variable? chong.zhou CLIST & REXX 5 Wed May 31, 2017 3:54 pm
No new posts Converting Variable block file to Fix... bhavana yalavarthi DFSORT/ICETOOL 10 Tue May 16, 2017 2:20 pm

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