|
|||
|
Hi,
I'm using SAS on zOS/MVS. I'm looking for a possibility to start a step/process at the end of every program like autoexec in the beginnig. I was looking around, but did not find anything. autoexec .... programm .... ????? thx for sharin ur skills Sascha |
|
|
||||
|
||||
|
|
|
|||
|
Write a program that you want to be executed at the start and use %include
statement. wrote in message news:5a36458c-f8d4-4ca5-9bb2-22536e6aa170@googlegroups.com... Hi, I'm using SAS on zOS/MVS. I'm looking for a possibility to start a step/process at the end of every program like autoexec in the beginnig. I was looking around, but did not find anything. autoexec .... programm .... ????? thx for sharin ur skills Sascha |
|
|||
|
Hi,
this way will be the hard way, because then I have to change up to 1800 Jobs. I'm looking for an easy way to change at only one place. (for example: the config). Sascha Am Donnerstag, 28. Juni 2012 17:52:03 UTC+2 schrieb Kenneth M. Lin: > Write a program that you want to be executed at the start and use %include > statement. > > wrote in message > news: > > Hi, > > I'm using SAS on zOS/MVS. I'm looking for a possibility to start a > step/process at the end of every program like autoexec in the beginnig. > > I was looking around, but did not find anything. > > autoexec > ... > programm > ... > ????? > > > thx for sharin ur skills > Sascha |
|
|||
|
You can indeed create autoexec.sas as long as you know where to place it and
it will be executed every time you invoke SAS. wrote in message news:f14d0ba6-059c-4595-9ff7-2dceb86a8074@googlegroups.com... Hi, this way will be the hard way, because then I have to change up to 1800 Jobs. I'm looking for an easy way to change at only one place. (for example: the config). Sascha Am Donnerstag, 28. Juni 2012 17:52:03 UTC+2 schrieb Kenneth M. Lin: > Write a program that you want to be executed at the start and use %include > statement. > > wrote in message > news: > > Hi, > > I'm using SAS on zOS/MVS. I'm looking for a possibility to start a > step/process at the end of every program like autoexec in the beginnig. > > I was looking around, but did not find anything. > > autoexec > ... > programm > ... > ????? > > > thx for sharin ur skills > Sascha |
|
|||
|
On Thursday, June 28, 2012 4:42:28 PM UTC+3, (unknown) wrote:
> Hi, > > I'm using SAS on zOS/MVS. I'm looking for a possibility to start a step/process at the end of every program like autoexec in the beginnig. > > I was looking around, but did not find anything. > > autoexec > ... > programm > ... > ????? > > > thx for sharin ur skills > Sascha Have you tried INITSTMT/TERMSTMT options included at command line? You can enclose sas codes even macro calls inside these statements. Statments inside INITSTMT/TERMSTMT option executed before/after statements in a.SAS executed. SAS.EXE -SYSIN a.sas -INITSTMT 'proc print data=sashelp.class;run;' -TERMSTMT 'proc print data=sashelp.class;run;' |
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|