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: 8280
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: 8280
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 IDCAMS RENAMING VSAM FILE ALONG WITH ... upendrasri JCL & VSAM 11 Tue Apr 17, 2018 10:42 pm
No new posts VSAM file NOT Found error while proce... SumaReva CICS 5 Wed Apr 11, 2018 9:54 pm
No new posts converting a mainframe file with ASA ... Lynne Schuler All Other Mainframe Topics 5 Wed Apr 04, 2018 9:44 am
No new posts VSAM File free space sancraig16 JCL & VSAM 13 Fri Mar 30, 2018 1:02 am
No new posts write multiple lines in PS file in cobol Balu5491 COBOL Programming 7 Wed Mar 07, 2018 10:27 am

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