Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

DAY-OF-WEEK

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
View previous topic :: :: View next topic  
Author Message
pjnithin

Active User


Joined: 22 Dec 2005
Posts: 116

PostPosted: Wed Mar 15, 2006 8:15 pm    Post subject: DAY-OF-WEEK
Reply with quote

what all values will DAY-OF-WEEK function returns if i pass current date to this.
Back to top
View user's profile Send private message

muffirulz

New User


Joined: 14 Sep 2005
Posts: 74
Location: Kentucky, USA

PostPosted: Wed Mar 15, 2006 11:23 pm    Post subject: Re: DAY-OF-WEEK
Reply with quote

Hi pjnithin,

please refer to following info. Hope it will help you.

Tje func Day-Of-week has implicit PICTURE 9(1).

The single data element represents the day of the week according to
the following values:

1 represents Monday 5 represents Friday
2 represents Tuesday 6 represents Saturday
3 represents Wednesday 7 represents Sunday
4 represents Thursday

Thus, Wednesday is expressed as: 3

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 -> COBOL Programming All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts How to find the first monday of the w... abdulrafi COBOL Programming 10 Fri Nov 25, 2016 3:24 pm
No new posts A good week so far Ed Goodman General Talk & Fun Stuff 2 Wed May 15, 2013 8:27 pm
No new posts Display DAY of Week using SYNCSORT Shaheen Kalokhe SYNCSORT 1 Mon Sep 24, 2012 1:02 pm
No new posts Yesterdays Day of the week(MON,TUE,....) iniyavan555 JCL & VSAM 8 Sat Apr 14, 2012 9:53 am
No new posts check on current day of the Week dick scherrer JCL & VSAM 10 Wed Jun 01, 2011 2:00 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us