×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

SAS - Oracle date problems

SAS - Oracle date problems

SAS - Oracle date problems

(OP)
I have an issue with SAS (v6.12) properly extracting data from an Oracle (7.13) database.  We are using SAS for incident reports and have not been able to retreive fiscal year 2001 information since November.correctly.  I discovered that it was "1900" and immediately changed it to "1920" as recommended in the Alert Notes from SAS.  However, the reports were still incorrect.  I then tried

Originally, aftre conferring with SAS's support site, I suspected that the yearcutoff variable was not set modifying the yearcutoff to "1950", the maximum recommended by SAS, still no luck.

I am not a SAS administrator.  It was just dropped in my lap.  Therefore, I can honestly say that there may be something really simple I need to do, but I have no clue where to begin.

I would greatly appreciate any assistance or resource recommendations to find my answers.

Thanks,

BillyGoat

RE: SAS - Oracle date problems

Try upgrading to version 8.2 of SAS.  The newer versions of SAS/ACCESS to ORACLE are a pretty sweet and a lot smarter than the version 6 equivalents.  To see what version of this product you have, try submitting the following code:

proc setinit noalias;
run;

Look towards the bottom for a product named "SAS/ACC-ORACLE".

Another issue to consider is that Oracle stores it's values as datetime values.  Try using the datepart() function to convert these values to SAS Date values.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close