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 

Extract Records from 1st to last friday using Sort

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(JCL)
View previous topic :: View next topic  
Author Message
manojvoona
Beginner


Joined: 05 Jan 2006
Posts: 43
Topics: 14

PostPosted: Mon Apr 03, 2006 12:53 am    Post subject: Extract Records from 1st to last friday using Sort Reply with quote

Hi,
I need some help in sort.

My requriement is to pull all the transactions that has happened between first of month and the last friday of the month.

Now is their any way to find out the last frida y ( or an day of the month) through DFSORT.

Thanks

Manoj
Back to top
View user's profile Send private message Send e-mail
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12376
Topics: 75
Location: San Jose

PostPosted: Mon Apr 03, 2006 4:50 am    Post subject: Reply with quote

Quote:

Now is their any way to find out the last frida y ( or an day of the month) through DFSORT


manojvoona,

NO. Sort products does NOT have any in built features to get the day of the week. However you can generate SYMNAMES using Db2 unload and use them to extract the desired records. Check this link for an example.

http://mvsforums.com/helpboards/viewtopic.php?p=28104#28104

Check this link for sql to find the last sat. all you need is to change to friday

http://mvsforums.com/helpboards/viewtopic.php?t=6028

Hope this helps...

Cheers

Kolusu

Ps: Btw I answered the same question twice last week and yet you keep opening the same topic. Twisted Evil
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
manojvoona
Beginner


Joined: 05 Jan 2006
Posts: 43
Topics: 14

PostPosted: Thu Apr 06, 2006 3:40 am    Post subject: Reply with quote

Really sorry Kolusu,
It was by mistake Surprised

Thanks for your help Very Happy
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(JCL) 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