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: 19243
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 All times are GMT + 6 Hours
Forum Index -> DB2

 


Similar Topics
Topic Forum Replies
No new posts Format data from multiple records usi... SYNCSORT 4
No new posts Alternative of JoinKeys in SORT DFSORT/ICETOOL 2
No new posts Sorting date into YYYYMMDD, and creat... DFSORT/ICETOOL 13
No new posts Sort SMF records? SYNCSORT 6
No new posts To Sort detail records in a file with... SYNCSORT 5
Search our Forums:


Back to Top