02-25-2014 10:46 AM
I am in need help on converting SAS code to BAT file in windows SAS. Could you let me know the sample code so that it would be easier for me.
Thanks in advance,
02-26-2014 06:52 AM
Can you supply some of this code that you want to move into a batch file? If it is sysexec or cmd commands then this could be moved directly to a batch file. If you want to execute SAS code then this needs to go through the SAS system as it gets processed, compiled and then run. If you mean that you want a DOS program which performs some actions like a SAS program, then you would need to investigate a programming language which compiles to the OS you use (e.g. C++) or some intermediate language like Java or .NET.
02-26-2014 10:36 AM
I'll offer the comment that there's no gurantee that you can and it seems like a bit of a weird request. If your programs are data management, I'd expect you to be using SQL, PowerShell, Python or R, not DOS. If you have any statistical component to the programs then you'll most likely need Python or R, not DOS.
I'd suggest hiring someone to do the conversion if you really need it done. If its an extremely small program you can post it here and see what people suggest.