BookmarkSubscribeRSS Feed
RAmarapuram
Obsidian | Level 7

Hi Team

We are currently doing UAT for migration from SAS EG 4.1 to SAS EG 7.1.

One of the variable Application_Date has format DATETIME20. on SAS EG 7.1 whereas in the results from the SAS EG 4.1 Application_Date has format DATETIME22.3.

Please advice on how to change the default value on SAS EG 7.1 to DATETIME22.3 .

Thanks

Raj

5 REPLIES 5
Steelers_In_DC
Barite | Level 11

Is the problem when you are importing the dataset?  While importing you will go to the date field and select the format that you want.  35315 - Converting Variable Types in SAS® Enterprise Guide®

RAmarapuram
Obsidian | Level 7


Hi Mark/Kurt

Thanks for your response.

The problem is not while importing the data. Currently, we are doing a UAT on old and new system. We are doing a PROC COMPARE to test if the results on both the SAS EG 4.1 and SAS EG 7.1 are same. It is at this time the PROC COMPARE shows a difference.

SAS EG 7.1 --> DATETIME20.

SAS EG 4.1 --> DATETIME22.3

How to make the default format of SAS EG 7.1 to DATETIME22.3.

Regards

Raj

Kurt_Bremser
Super User

The question remains: how did you create the dataset? If not by migration, then SHOW THE CODE.

Because if you open an existing SAS dataset in a new environment, it is opened "as is" and attributes like formats are not changed.

ChrisHemedinger
Community Manager

In SAS Enterprise Guide 7.1 you can now easily search your project for any text in programs, tasks, and logs.  To find where in the project the format is being applied, enter DATETIME20. in the search field (upper right corner of the application).

Example:

eg71srch.png

That will help you to track down which step in the project might be generating different code than your v4.1 version.

Chris

It's time to register for SAS Innovate! Join your SAS user peers in Las Vegas on April 16-19 2024.

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

Register now!

SAS Enterprise Guide vs. SAS Studio

What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 5 replies
  • 2267 views
  • 0 likes
  • 4 in conversation