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

The Set command in TWS


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

New User


Joined: 23 Nov 2010
Posts: 1
Location: Swindon

PostPosted: Tue Nov 23, 2010 9:31 pm
Reply with quote

Hi everyone

I am a Operations Analyst for a large Insurance company. We use TWS scheduling and we have some code which sets up dates by using this code

))OPCCAL PRODUCTSYSTEMS &YEAR OPCA
))SET !SAVDAT = &CYYMMDD
))SET &CYYMMDD = NEXTWD(&CYYMMDD CYYMMDD)
))SET !NEXTWD = &CYYMMDD
))SET !SCR0238 = WDOM(&CYYMMDD CYYMMDD)
))SET &CYYMMDD = !SAVDAT
1=1
10=!NEXTWD
238=!SCR0238


Can someone explain the format of the set commands and how they work ( especially the bits in brackets at the end )

Hope you understand what I want
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19243
Location: Inside the Matrix

PostPosted: Tue Nov 23, 2010 10:13 pm
Reply with quote

Hello and welcome to the forum,

Suggest you download the TWS documentation and save it to a local drive.

If you find something in the documentaton that is not clear, post what you found and your doubt. Someone will be able to clarify.
Back to top
View user's profile Send private message
View previous topic : : View next topic  
Post new topic   Reply to topic All times are GMT + 6 Hours
Forum Index -> IBM Tools

 


Similar Topics
Topic Forum Replies
No new posts USAGE parameter of RACDCERT CONNECT c... All Other Mainframe Topics 2
No new posts creat new line command in front of Me... TSO/ISPF 4
No new posts c all command JCL & VSAM 11
No new posts REXX/CMS How to place command console... CLIST & REXX 4
No new posts Help needed in automation cics transa... CLIST & REXX 1
Search our Forums:


Back to Top