IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

First and Last Date of Previous Month


IBM Mainframe Forums -> SYNCSORT
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
ballaswaroop

New User


Joined: 20 Sep 2005
Posts: 25

PostPosted: Mon Oct 05, 2015 11:39 pm
Reply with quote

I need first and last day of previous month in the follwoing format
'+020150901' and '+020150930'. Please advice how to achive this using Sort
Back to top
View user's profile Send private message
Akatsukami

Global Moderator


Joined: 03 Oct 2009
Posts: 1788
Location: Bloomington, IL

PostPosted: Mon Oct 05, 2015 11:46 pm
Reply with quote

A few years ago you were in a shop that used Syncsort rather than DFSORT. Has that changed?
Back to top
View user's profile Send private message
ballaswaroop

New User


Joined: 20 Sep 2005
Posts: 25

PostPosted: Mon Oct 05, 2015 11:48 pm
Reply with quote

No, we still use syncsort
Back to top
View user's profile Send private message
Akatsukami

Global Moderator


Joined: 03 Oct 2009
Posts: 1788
Location: Bloomington, IL

PostPosted: Mon Oct 05, 2015 11:56 pm
Reply with quote

Then you posted in the wrong forum again.
Back to top
View user's profile Send private message
Bill Woodger

Moderator Emeritus


Joined: 09 Mar 2011
Posts: 7310
Location: Inside the Matrix

PostPosted: Tue Oct 06, 2015 1:31 am
Reply with quote

Also it is a pity because DFSORT has some date functions which do exactly what you want. If you locate them in the DFSORT manual, you could try to see if they work in SyncSORT. You never know what's there but not documented.

Let us know.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> SYNCSORT

 


Similar Topics
Topic Forum Replies
This topic is locked: you cannot edit posts or make replies. A Rexx who changes date into a JCL?Po... CLIST & REXX 9
No new posts Date conversion using SORT SYNCSORT 4
No new posts Execute step regardless of previous s... JCL & VSAM 2
No new posts Last day of the month via SYNCSORT. SYNCSORT 5
No new posts Date Conversion Y2T to Y2W SYNCSORT 8
Search our Forums:

Back to Top