Sas 9.2 eg migration v1

25
Migrating Enterprise Guide Projects From EG 4.1(SAS 9.1.3) to EG 4.2 or 4.3 (SAS 9.2)

Transcript of Sas 9.2 eg migration v1

Page 1: Sas 9.2 eg migration v1

Migrating Enterprise Guide Projects From EG 4.1(SAS 9.1.3) to

EG 4.2 or 4.3 (SAS 9.2)

Page 2: Sas 9.2 eg migration v1

Migration Options

Three migration options exist: 1.  Open Project in EG 4.2 or 4.3 and Save

This approach is suitable if there are no required changes to Server names, Libnames, paths etc

2.  Utilise the Enterprise Guide Migration Wizard This approach automatically migrates multiple EG Projects in one process

3.  Manual Migration Open the Enterprise Guide 4.1 project in Enterprise Guide 4.2 or 4.3 and manually make the necessary changes

Page 3: Sas 9.2 eg migration v1

Option 1: Open in EG 4.2 and Save

§  EG 4.1 projects can be opened directly in EG 4.2 or 4.3 and run on the SAS 9.2 server

§  It is stored in EG 4.2 or 4.3 format when you save

§  Assumes no changes to: •  Server names •  Libnames •  Table Names •  File Paths

Page 4: Sas 9.2 eg migration v1
Page 5: Sas 9.2 eg migration v1

Option 2: EG Migration Wizard

§  Migrates multiple EG Projects in one process § Converts the Project file to the 4.2 or 4.3 format § Makes global changes to object references (i.e

Lbraries, tables etc) §  Run MigrationWizard.exe

§ normally in » C:\Program Files\SAS\EnterpriseGuide\4.2\ •  C:\Program Files\SAS\EnterpriseGuide\4.3\

•  no shortcut is installed when you install EG 4.2 or 4.3

Page 6: Sas 9.2 eg migration v1
Page 7: Sas 9.2 eg migration v1
Page 8: Sas 9.2 eg migration v1
Page 9: Sas 9.2 eg migration v1
Page 10: Sas 9.2 eg migration v1
Page 11: Sas 9.2 eg migration v1
Page 12: Sas 9.2 eg migration v1
Page 13: Sas 9.2 eg migration v1
Page 14: Sas 9.2 eg migration v1
Page 15: Sas 9.2 eg migration v1
Page 16: Sas 9.2 eg migration v1

EG Migration Wizard

§  You can record Mappings to make the process repeatable •  doesn’t work in M2 •  fixed in M3

§  Automatically creates an Archive (backup) of the original files, still in EG 4.1 format

§  Can struggle with large volumes

Page 17: Sas 9.2 eg migration v1

Option 3: Manual Migration

§  Open in 4.2 and Save

§  Manual Replace server

§  Manually Replace Libraries §  Don’t forget hardcoded libnames in code nodes

§  Manually repoint/relink tables

§  Manually repoint/relink external files §  Don’t forget hardcoded file paths in code nodes

§  Rerun import wizard for external files

Page 18: Sas 9.2 eg migration v1
Page 19: Sas 9.2 eg migration v1
Page 20: Sas 9.2 eg migration v1
Page 21: Sas 9.2 eg migration v1
Page 22: Sas 9.2 eg migration v1

Compatibility

§  EG 4.1 projects can’t be run on SAS 9.2 servers

§  EG 4.2 projects can’t be run on SAS 9.1.3 servers

§  Once converted EG 4.2 projects can’t be opened in EG 4.1

§  EG 4.2 no longer has the option for standalone repositories

§  You can run EG 4.1 and EG 4.2 on the same PC (you might experience conflicting DLLs see SAS Note 33988)

Page 23: Sas 9.2 eg migration v1

Possible Migration Issues (tricks for young players)

§  Import Wizard/Process completely re-written

§  Computed columns in Query Nodes completely re-written

§  Prompt framework completely re-written §  Some issues with Date Formats

§  Watch for: §  Hard coded file paths §  Watch for hardcoded libname statements §  Watch for linked SAS code paths

§  Security can be applied at a EG Function level via Metadata roles and effect migrated EG Projects

Page 24: Sas 9.2 eg migration v1

Summary

§  Keep server names, libnames, etc the same if you can

§  Use migration wizard if possible, but you will need to open and run each EG Project manually to test it

§  Don’t under estimate how long each project takes to migrate and test

Page 25: Sas 9.2 eg migration v1

Shane Gibson - http://blog.saasInct.com