MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Help with CLIST to add a day to a date

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> TSO and ISPF
View previous topic :: View next topic  
Author Message
vijay
Beginner


Joined: 09 May 2003
Posts: 131
Topics: 64

PostPosted: Tue Nov 06, 2007 10:40 am    Post subject: Help with CLIST to add a day to a date Reply with quote

Hi,
I need help with a CLIST to add a day to the system date.I need to setup a job that updates a PDS member with sysdate + 1 day for use by some of the jobs.and the requirement is to use clist.
If you've any clist that does this can u send it to me please.

Thanks
VIjay
Back to top
View user's profile Send private message
semigeezer
Supermod


Joined: 03 Jan 2003
Posts: 1014
Topics: 13
Location: Atlantis

PostPosted: Tue Nov 06, 2007 11:06 am    Post subject: Reply with quote

Why is the requirement to use CLIST? That is the wrong tool for the job. In Rexx it is a simple function call to date(). In CLIST, it would be an error prone problem that would probably take hours to debug. Is this a real requirement or a homework problem (either way, whomever assigned it is either uninformed or downright sadistic Smile ).
_________________
New members are encouraged to read the How To Ask Questions The Smart Way FAQ at http://www.catb.org/~esr/faqs/smart-questions.html.
Back to top
View user's profile Send private message Visit poster's website
expat
Intermediate


Joined: 01 Mar 2007
Posts: 475
Topics: 9
Location: Welsh Wales

PostPosted: Wed Nov 07, 2007 12:47 pm    Post subject: Reply with quote

I'll go with semigeezer on that too. Use REXX.
_________________
If it's true that we are here to help others,
then what exactly are the others here for ?
Back to top
View user's profile Send private message
vijay
Beginner


Joined: 09 May 2003
Posts: 131
Topics: 64

PostPosted: Fri Nov 09, 2007 3:29 pm    Post subject: Reply with quote

Thanks for ur inputs .I did it with CLIST as requested
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> TSO and ISPF All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group