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 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 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
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
No new posts Low values Results from VARCHAR FORMAT balaji81_k DB2 10 Thu Oct 20, 2016 1:18 am
No new posts output data in CSV Format janmejay COBOL Programming 8 Sat Oct 15, 2016 2:20 pm


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