IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

File Aid- Date Format.


IBM Mainframe Forums -> Compuware & Other Tools
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
ajaychandraredd1

New User


Joined: 06 Jun 2008
Posts: 8
Location: Minnieapolis

PostPosted: Sat Aug 02, 2008 2:14 am
Reply with quote

How do i convert the follwoing date value into regular MMDDYY Format in the fileaid.

EFF-DT S9(9) 80109898
Back to top
View user's profile Send private message
Craq Giegerich

Senior Member


Joined: 19 May 2007
Posts: 1512
Location: Virginia, USA

PostPosted: Sat Aug 02, 2008 2:51 am
Reply with quote

What date in mmddyy format is it suppose to be and what is the 9th digit.
Back to top
View user's profile Send private message
ajaychandraredd1

New User


Joined: 06 Jun 2008
Posts: 8
Location: Minnieapolis

PostPosted: Sat Aug 02, 2008 8:22 pm
Reply with quote

I am not sure about the 9th digit
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Sat Aug 02, 2008 10:24 pm
Reply with quote

Hello,

You did not post what mmddyy date results from 80109898. . .

That is not a "date value" we are familiar with and needs explanation. How does 80109898 "convert" to mmddyy (or any other date presentation)?
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Sun Aug 03, 2008 3:06 am
Reply with quote

Is this a 9's complement date? If so, first subtract the value from 99999999 and the resulting value can be manipulated as YYYYMMDD.
Back to top
View user's profile Send private message
ajaychandraredd1

New User


Joined: 06 Jun 2008
Posts: 8
Location: Minnieapolis

PostPosted: Sun Aug 03, 2008 3:24 am
Reply with quote

Hi Robert,

The answer was correct.... Thank You very much.

Ajay.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Sun Aug 03, 2008 4:08 am
Reply with quote

Hi Robert,

Good catch icon_smile.gif

d
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Sun Aug 03, 2008 6:55 pm
Reply with quote

Thanks Dick ... we've got a system that uses 9's complement dates that are VSAM key components; the 9's complement keeps them from all inserting at the end of the file.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> Compuware & Other Tools

 


Similar Topics
Topic Forum Replies
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts Populate last day of the Month in MMD... SYNCSORT 2
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
No new posts SFTP Issue - destination file record ... All Other Mainframe Topics 2
No new posts Modifying Date Format Using DFSORT DFSORT/ICETOOL 9
Search our Forums:

Back to Top