From: RolandRB on 29 Jul 2010 08:47 What happens when you run this sas code on Windows 7? %macro env2ds(dsout); %if not %length(&dsout) %then %let dsout=_env2ds; filename _env2ds pipe 'set'; data &dsout; length name $ 40 value $ 1000; infile _env2ds; input; name=scan(_infile_,1,"="); value=substr(_infile_,index(_infile_,"=")+1); label name="Environment Variable Name" value="Environment Variable Value" ; run; filename _env2ds clear; %mend; %env2ds;
From: francogrex on 31 Jul 2010 04:37 RolandRB wrote: >What happens when you run this sas code on Windows 7? >%macro env2ds(dsout);...<snip> Yes it does work on windows xp (sas v9), it creates a set called _env2ds and as expected contains 2 columns of the env variable names and values; nice.
From: RolandRB on 31 Jul 2010 04:57 On Jul 31, 10:37 am, francogrex <fra...(a)grex-removethis.com> wrote: > RolandRB wrote: > >What happens when you run this sas code on Windows 7? > >%macro env2ds(dsout);...<snip> > > Yes it does work on windows xp (sas v9), it creates a set called _env2ds > and as expected contains 2 columns of the env variable names and values; > nice. Thanks. I know it works on Windows XP. It is whether it works on Windows 7 either 32 bit or 64 bit I need to know.
From: Uelsasser on 3 Aug 2010 08:48 On 31 Jul., 10:57, RolandRB <rolandbe...(a)hotmail.com> wrote: > On Jul 31, 10:37 am, francogrex <fra...(a)grex-removethis.com> wrote: > > > RolandRB wrote: > > >What happens when you run this sas code on Windows 7? > > >%macro env2ds(dsout);...<snip> > > > Yes it does work on windows xp (sas v9), it creates a set called _env2ds > > and as expected contains 2 columns of the env variable names and values; > > nice. > > Thanks. I know it works on Windows XP. It is whether it works on > Windows 7 either 32 bit or 64 bit I need to know. Hi Roland it does not work on WINDOWS 7 / 32 bit , SAS V9.2 The log reads NOTE: The infile _ENV2DS is: Unnamed Pipe Access Device, PROCESS=set,RECFM=V,LRECL=256 Stderr output: Das Handle ist ungltig. Das Handle ist ungltig. Das Handle ist ungltig. Das Handle ist ungltig. Das Handle ist ungltig. ...........
From: RolandRB on 3 Aug 2010 16:18 On Aug 3, 2:48 pm, Uelsasser <UlrichElsas...(a)t-online.de> wrote: > On 31 Jul., 10:57, RolandRB <rolandbe...(a)hotmail.com> wrote: > > > On Jul 31, 10:37 am, francogrex <fra...(a)grex-removethis.com> wrote: > > > > RolandRB wrote: > > > >What happens when you run this sas code on Windows 7? > > > >%macro env2ds(dsout);...<snip> > > > > Yes it does work on windows xp (sas v9), it creates a set called _env2ds > > > and as expected contains 2 columns of the env variable names and values; > > > nice. > > > Thanks. I know it works on Windows XP. It is whether it works on > > Windows 7 either 32 bit or 64 bit I need to know. > > Hi Roland > > it does not work on WINDOWS 7 / 32 bit , SAS V9.2 > The log reads > > NOTE: The infile _ENV2DS is: > Unnamed Pipe Access Device, > PROCESS=set,RECFM=V,LRECL=256 > > Stderr output: > Das Handle ist ung ltig. > Das Handle ist ung ltig. > Das Handle ist ung ltig. > Das Handle ist ung ltig. > Das Handle ist ung ltig. > .......... Thanks.
|
Next
|
Last
Pages: 1 2 Prev: Aqualogic BPM Architect - NJ - 12+ Months contract Next: solutions manual |