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
 
The Set command in TWS

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> IBM Tools
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    Post subject: The Set command in TWS
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

Site Director


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

PostPosted: Tue Nov 23, 2010 10:13 pm    Post subject:
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    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 MQ command in option 6 of ISPF! Vignesh Sid All Other Mainframe Topics 3 Tue Sep 26, 2017 6:01 pm
No new posts How to change a string containing the... chong.zhou TSO/ISPF 6 Tue Aug 29, 2017 4:54 pm
No new posts Failure after DIR command Hank Watson All Other Mainframe Topics 2 Tue Aug 29, 2017 3:14 am
No new posts Command to find TMEMBER name for a TPIPE Siva NKK Kothamasu IMS DB/DC 0 Wed Aug 16, 2017 6:08 pm
This topic is locked: you cannot edit posts or make replies. rexx to create a tso command Bharath Vikraman CLIST & REXX 1 Tue Aug 08, 2017 3:32 pm

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