Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
How will i get the Julian date format in PL1

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> PL/I & Assembler
View previous topic :: :: View next topic  
Author Message
smily
Warnings : 1

New User


Joined: 24 Jul 2006
Posts: 6

PostPosted: Fri Aug 25, 2006 2:59 pm    Post subject: How will i get the Julian date format in PL1
Reply with quote

How will i get the Julian date format in PL1
Back to top
View user's profile Send private message

Kodisala

New User


Joined: 13 Apr 2005
Posts: 5
Location: Hyderabad

PostPosted: Fri Aug 25, 2006 5:42 pm    Post subject:
Reply with quote

In PL/I, we have the built in function REPATTERN, which takes a value holding date in one format and returns that value converted to date in another format...

so to convert the date from YYMMDD formt to YYDDD(Julian format), we use it in the following way...

REPATTERN('060825','YYDDD','YYMMDD') returns '06237'.
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 -> PL/I & Assembler All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Compare yesterday's date to the one o... migusd SYNCSORT 8 Fri Sep 22, 2017 11:35 pm
No new posts Fetch Previous month & year in MM... girishb2 DFSORT/ICETOOL 3 Thu Sep 21, 2017 9:54 pm
No new posts Validate the Date girishb2 DFSORT/ICETOOL 9 Tue Sep 19, 2017 1:12 am
No new posts Convert rows and column into JSON for... Dinesh Manivannan DB2 2 Sun Sep 03, 2017 6:50 pm
No new posts Julian Date to CICS ABSTTIME blayek CICS 3 Wed Aug 30, 2017 11:15 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us