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 

HOW TO FIND A day of the particular date in REXX

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Application Programming
View previous topic :: View next topic  
Author Message
Jmoorthy
Beginner


Joined: 23 Aug 2007
Posts: 5
Topics: 1

PostPosted: Fri Sep 07, 2007 1:48 am    Post subject: HOW TO FIND A day of the particular date in REXX Reply with quote

How to find a day of the Particular date?.Thr is a fns To find a day current date? Is any one help in this regard please
Back to top
View user's profile Send private message
blitz2
Beginner


Joined: 23 Jan 2007
Posts: 84
Topics: 14

PostPosted: Fri Sep 07, 2007 1:57 am    Post subject: Reply with quote

Jmoorthy,

Please refer to the following link and see if it helps,
http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/IKJ4A330/4.3.16?DT=20020521161835

Check out the examples at the end.
________
Daihatsu Rocky


Last edited by blitz2 on Thu Mar 10, 2011 5:35 pm; edited 1 time in total
Back to top
View user's profile Send private message
vivek1983
Intermediate


Joined: 20 Apr 2006
Posts: 222
Topics: 24

PostPosted: Fri Sep 07, 2007 2:27 am    Post subject: Reply with quote

Jmoorthy,

There is an numeric intrinsic function in COBOL.

Try this :

move the numeric date field into a variable (WS-DATE)

Compute WS-DAY = Function day-of-integer(WS-DATE).

Note that WS-DATE should have pic 9(8 ) and should be of the format YYYYMMDD.


Regards,
Vivek g
Back to top
View user's profile Send private message
vkphani
Intermediate


Joined: 05 Sep 2003
Posts: 483
Topics: 48

PostPosted: Fri Sep 07, 2007 2:47 am    Post subject: Reply with quote

Jmoorthy,

You can check the below link
http://www.mvsforums.com/helpboards/viewtopic.php?t=8371&highlight=date
Back to top
View user's profile Send private message Send e-mail
Nic Clouston
Advanced


Joined: 01 Feb 2007
Posts: 1075
Topics: 7
Location: At Home

PostPosted: Fri Sep 07, 2007 1:48 pm    Post subject: Reply with quote

Just look at the date function in the Rexx manual
_________________
Utility and Program control cards are NOT, repeat NOT, JCL.
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 -> Application Programming 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