{"id":73,"date":"2011-04-05T20:54:06","date_gmt":"2011-04-05T20:54:06","guid":{"rendered":"http:\/\/62.131.51.129\/wordpress\/?p=73"},"modified":"2011-04-05T20:54:06","modified_gmt":"2011-04-05T20:54:06","slug":"how-to-run-a-sas-job-in-a-batch-mode","status":"publish","type":"post","link":"http:\/\/archief.van-maanen.com\/?p=73","title":{"rendered":"How to run a SAS job in a batch mode"},"content":{"rendered":"<p>I hope you recognise the situation. You have developed some SAS code (in Enterprise Guide, SAS Base Editor or DI Studio) and you would like to create a batch job from this. Huh? SAS seems to offer you only the possibility to run a job interactively.<br \/>\nHowever, it is possible to run a job in a batch mode. The first step to do is to create a file that contains the SAS code. Let us assume that this file is called &#8220;D:\\tmaanen\\Documents\\prive\\datavault\\Link_Invoice_Order.sas&#8221;. From the SAS helpfile we know that the command line to run this is: &#8220;&#8221;D:\\Program Files\\SAS\\SASFoundation\\9.2\\sas.exe&#8221; -SYSIN D:\\tmaanen\\Documents\\prive\\datavault\\Link_Invoice_Order.sas -NOSPLASH -ICON -PRINT D:\\tmaanen\\Documents\\prive\\datavault\\Link_Invoice_Order.lst -log D:\\tmaanen\\Documents\\prive\\datavault\\Link_Invoice_Order.log&#8221;. We could create a batch file that contains this line and submit this form the commandline.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I hope you recognise the situation. You have developed some SAS code (in Enterprise Guide, SAS Base Editor or DI Studio) and you would like to create a batch job from this. Huh? SAS seems to offer you only the possibility to run a job interactively. However, it is possible to run a job in [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"class_list":["post-73","post","type-post","status-publish","format-standard","hentry","category-data-warehousing"],"_links":{"self":[{"href":"http:\/\/archief.van-maanen.com\/index.php?rest_route=\/wp\/v2\/posts\/73","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/archief.van-maanen.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/archief.van-maanen.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/archief.van-maanen.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/archief.van-maanen.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=73"}],"version-history":[{"count":0,"href":"http:\/\/archief.van-maanen.com\/index.php?rest_route=\/wp\/v2\/posts\/73\/revisions"}],"wp:attachment":[{"href":"http:\/\/archief.van-maanen.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=73"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/archief.van-maanen.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=73"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/archief.van-maanen.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=73"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}