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

Using date in mm/dd/yyyy format in Sort statement


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

New User


Joined: 05 Jul 2012
Posts: 1
Location: India

PostPosted: Wed Jul 18, 2012 11:01 am
Reply with quote

Hi, I want to display the date in mm/dd/yyyy format in the include cond= in sort jcl.Could you please help me for the same.
INCLUDE COND=(1,6,Y2W,op,Y' yymmdd')]
Back to top
View user's profile Send private message
Bill Woodger

Moderator Emeritus


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

PostPosted: Wed Jul 18, 2012 12:24 pm
Reply with quote

Which sort product do you use?

Why did you post in the DB2 forum?

INCLUDE doesn't display anything, it defines criteria (or with OMIT) for selecting records to be sorted. It exists also in a slightly different form on OUTFIL.

What are you actually trying to do?
Back to top
View user's profile Send private message
sandip_mainframe
Warnings : 2

New User


Joined: 20 Sep 2006
Posts: 63
Location: pune

PostPosted: Wed Jul 18, 2012 12:30 pm
Reply with quote

Prikaar,

Can you please put your requirement more descriptively, what is input data and what is expected ?

Thanks,
Sandip Walsinge
Walsinge Technologies Pvt. Ltd. Pune
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Wed Jul 18, 2012 9:49 pm
Reply with quote

Hello and welcome to the froum,

To get help here, you need to clearly explain what you want to do, provide sample input data, and the output you want from the sample input data. Use the Code tag when posting to preserve alignment and improve readability.

Use a meaningful title (much more specific than what you chose) and post in a proper part of the forum.

When you post which sort product you use, your topic will be relocated to that part of the forum.
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 -> DB2

 


Similar Topics
Topic Forum Replies
No new posts Replacing 'YYMMDD' with date, varying... SYNCSORT 3
No new posts Need to set RC4 through JCL SORT DFSORT/ICETOOL 5
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts Populate last day of the Month in MMD... SYNCSORT 2
No new posts Modifying Date Format Using DFSORT DFSORT/ICETOOL 9
Search our Forums:

Back to Top