convert julian date(yyyynnn) formart to ccyymmddyy



Support for OS/VS COBOL, VS COBOL II, COBOL for OS/390 & VM and Enterprise COBOL for z/OS

convert julian date(yyyynnn) formart to ccyymmddyy

Postby raja subbareddy » Thu Aug 23, 2007 10:11 am

Hi All,

i need to code for convert jullian date format to ccyymmddyy format
raja subbareddy
 
Posts: 1
Joined: Wed Aug 22, 2007 9:11 pm
Has thanked: 0 time
Been thanked: 0 time

Re: convert julian date(yyyynnn) formart to ccyymmddyy

 

Re: convert julian date(yyyynnn) formart to ccyymmddyy

Postby CICS Guy » Thu Aug 23, 2007 3:32 pm

raja subbareddy wrote:i need to code for convert jullian date format to ccyymmddyy format
With ECOBOL, the intrinsic functions INTEGER-OF-DAY AND DATE-OF-INTEGER will provide the primary conversion....
To get that extra trailing "yy" will require an extra move.....
CICS Guy
 
Posts: 255
Joined: Wed Jun 20, 2007 4:08 am
Has thanked: 0 time
Been thanked: 0 time


Return to IBM Cobol

 


  • Related topics
    Replies
    Views
    Last post