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
 

 

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

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2
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    Post subject: Using date in mm/dd/yyyy format in Sort statement
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

DFSORT Moderator


Joined: 09 Mar 2011
Posts: 7315

PostPosted: Wed Jul 18, 2012 12:24 pm    Post subject: Reply to: Sort in jcl
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: 61
Location: pune

PostPosted: Wed Jul 18, 2012 12:30 pm    Post subject: Reply to: Sort in jcl
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

Site Director


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

PostPosted: Wed Jul 18, 2012 9:49 pm    Post subject:
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    IBMMAINFRAMES.com Support Forums -> DB2 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 change 'K' or 'M' use Sort vice_versa DFSORT/ICETOOL 5 Thu May 18, 2017 7:11 am
No new posts Validate date and numeric fields and ... Rick Silvers DFSORT/ICETOOL 6 Thu May 11, 2017 6:51 pm
No new posts Adding big TEXT lines to each record ... bshkris SYNCSORT 4 Sat May 06, 2017 1:40 am
This topic is locked: you cannot edit posts or make replies. SORT trick needed bshkris SYNCSORT 6 Tue May 02, 2017 4:35 am
No new posts LISTIDR compiled date/time jerryte IBM Tools 3 Thu Apr 20, 2017 7:37 pm


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