For the underlying datasets themselves, movement across various software platforms are most easily achieved via third-party software (I've used StatTransfer for decades). Migrating command (or setup or do) files across platforms, however, typically takes a bit more work. A recent discussion on the StataList (click here) walks through coding suggestions for a migration from SPSS to Stata.