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
 
File Aid- Date Format.

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Compuware & Other Tools
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    Post subject: File Aid- Date Format.
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    Post subject:
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    Post subject: Reply to: File Aid- Date Format.
Reply with quote

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

Site Director


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

PostPosted: Sat Aug 02, 2008 10:24 pm    Post subject:
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: 8218
Location: Dubuque, Iowa, USA

PostPosted: Sun Aug 03, 2008 3:06 am    Post subject:
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    Post subject: Reply to: File Aid- Date Format.
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

Site Director


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

PostPosted: Sun Aug 03, 2008 4:08 am    Post subject: Reply to: File Aid- Date Format.
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: 8218
Location: Dubuque, Iowa, USA

PostPosted: Sun Aug 03, 2008 6:55 pm    Post subject:
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    IBMMAINFRAMES.com Support Forums -> Compuware & Other Tools All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Sum the fields in particular format f... sharana64 DFSORT/ICETOOL 9 Fri Jan 05, 2018 1:11 am
No new posts COB2 file processing rizwanaccy COBOL Programming 8 Tue Jan 02, 2018 1:00 pm
No new posts KSDS and Index file in cobol deepak14450 COBOL Programming 9 Fri Dec 22, 2017 9:36 am
No new posts Preserve order in Input File pshongal DFSORT/ICETOOL 13 Thu Dec 21, 2017 4:20 pm
No new posts ISSUE IN copying Sequential file reco... thesumitk JCL & VSAM 2 Wed Dec 13, 2017 3:07 pm

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