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 Read two inputs and write into output... murali.andaluri DFSORT/ICETOOL 6 Wed Jul 26, 2017 7:35 pm
No new posts How to add header with Date(YYMMDD) i... Rajan Moorthy DFSORT/ICETOOL 2 Thu Jul 06, 2017 11:44 pm
No new posts Need to write record of PS File in ex... Chandan1993 JCL & VSAM 1 Wed Jun 07, 2017 1:35 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


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