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: 7254

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 Limit duplicate records in the SORT pshongal SYNCSORT 6 Mon Nov 21, 2016 12:54 pm
No new posts How to convert the VBM file to VB or... Sulabh Agrawal JCL & VSAM 4 Fri Nov 18, 2016 1:04 pm
No new posts -913/-911 Deadlock during UPDATE stat... NoSleep319 DB2 5 Fri Nov 18, 2016 12:37 am
No new posts TOT & DATE parameter in ICEMAN hemanthj642 DFSORT/ICETOOL 4 Mon Nov 14, 2016 5:19 am
No new posts Match or compare two files in VB Format anatol DFSORT/ICETOOL 14 Thu Nov 03, 2016 7:41 pm


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