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
 

 

how to read a record using the julien date (yyddd)

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL
View previous topic :: :: View next topic  
Author Message
ksssrikanth

New User


Joined: 21 Jul 2005
Posts: 6

PostPosted: Wed May 02, 2007 4:04 am    Post subject: how to read a record using the julien date (yyddd)
Reply with quote

hi ,
i need to read 5 character julien date yyddd format.
but when i am using DATE3 option in jcl , i am getting the 2007121 ,but i need to read only 07121,

ex :
include cond=(1,5,ch,eq,date3)

here 1,5 represents 07121
but date3 represent 2007121

so is there any command to truncate DATE3 to 5 characters instead of 7 characters.

thanks
Back to top
View user's profile Send private message

Frank Yaeger

DFSORT Moderator


Joined: 15 Feb 2005
Posts: 7130
Location: San Jose, CA

PostPosted: Wed May 02, 2007 4:45 am    Post subject:
Reply with quote

You can use this DFSORT INCLUDE statement:

Code:

   INCLUDE COND=(1,5,Y2T,EQ,Y'DATE3')


For more information, see:

http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/ICE1CA20/3.7.12?DT=20060615185603
Back to top
View user's profile Send private message
ksssrikanth

New User


Joined: 21 Jul 2005
Posts: 6

PostPosted: Wed May 02, 2007 6:03 pm    Post subject: Re: how to read a record using the julien date (yyddd)
Reply with quote

Thanks , its working ..icon_smile.gif
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 -> DFSORT/ICETOOL All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts TOT & DATE parameter in ICEMAN hemanthj642 DFSORT/ICETOOL 4 Mon Nov 14, 2016 5:19 am
No new posts How to update a portion of text in a ... Bill Woodger DFSORT/ICETOOL 25 Wed Nov 09, 2016 9:41 pm
This topic is locked: you cannot edit posts or make replies. How to pass the previous month date i... Suganya87 DFSORT/ICETOOL 5 Mon Oct 31, 2016 4:13 pm
This topic is locked: you cannot edit posts or make replies. Get correct date and time when curren... balaji81_k DB2 24 Fri Oct 14, 2016 10:40 pm
No new posts sort with previous record anatol DFSORT/ICETOOL 9 Thu Oct 06, 2016 2:36 am


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