Hi @sidreddy87
As already advised by @SASKiwi SAS 9.4 and SAS Viya both have different architectures so I don't think lift and shift would work.
My suggestion:
1- Check what PROC's in your 9.4 programs are supported out of the box in CAS. You can find there here - https://go.documentation.sas.com/?docsetId=pgmdiff&docsetTarget=p1e2swghnyju6fn13jr3935jpsaw.htm&doc...
2- Once you have a list of those programs you can then try to migrate them and run in CAS with minor changes as required for file system paths for caslib, DB parameters etc.
3- You can run existing SAS 9.4 programs on SAS Foundation as part of the Viya installation (/opt/sas/spre/home/SASFoundation). In parallel you can work on re-writing your code (which isn't supported in step 1) to be CAS enabled and leverage all the advance capabilities of CAS in-memory processing.
In-case you are planning for a large scale enterprise migration, my advise would be to engage SAS services to guide you on the best way as per requirements at your site.