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: 19243
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: 8700
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: 19243
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: 8700
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 All times are GMT + 6 Hours
Forum Index -> Compuware & Other Tools

 


Similar Topics
Topic Forum Replies
No new posts Format data from multiple records usi... SYNCSORT 4
No new posts IGYPG3178-I when compiling a pgm read... COBOL Programming 6
No new posts FileAid move data from two files to o... Compuware & Other Tools 5
No new posts Sorting date into YYYYMMDD, and creat... DFSORT/ICETOOL 13
No new posts To Sort detail records in a file with... SYNCSORT 5
Search our Forums:


Back to Top