09-01-2015
VAMA
Calcite | Level 5
Member since
06-23-2011
- 8 Posts
- 0 Likes Given
- 0 Solutions
- 0 Likes Received
-
Latest posts by VAMA
Subject Views Posted 1217 08-26-2014 03:46 AM 2124 07-20-2010 12:41 PM 971 04-21-2010 06:44 AM 1433 02-09-2010 10:14 AM 1433 02-09-2010 09:00 AM 1433 02-09-2010 08:39 AM 1445 02-09-2010 07:46 AM -
Activity Feed for VAMA
- Posted SAS HADOOP on Administration and Deployment. 08-26-2014 03:46 AM
- Posted Read log file while it is still being written on SAS Programming. 07-20-2010 12:41 PM
- Posted XML tag name split into 2 lines on SAS Procedures. 04-21-2010 06:44 AM
- Posted Re: %length with quoted data on SAS Programming. 02-09-2010 10:14 AM
- Posted Re: %length with quoted data on SAS Programming. 02-09-2010 09:00 AM
- Posted Re: %length with quoted data on SAS Programming. 02-09-2010 08:39 AM
- Posted %length with quoted data on SAS Programming. 02-09-2010 07:46 AM
08-26-2014
03:46 AM
I am executing SAS program. I have declared CLASSPATH and other variables properly. However when I am defining libname to access Hadoop I am getting error. Please find attached snapshot of sas log. ERROR: The Java picklist file was not found. 1 libname testdata spde './' hdfshost=default; ERROR: tkhdjn1 constructNewObjectOfClass: failed. ERROR: tkhdjn2 JnlFromException: Missing exception. ERROR: Can't construct instance of class org.apache.hadoop.conf.Configuration. ERROR: Probable classpath problem. ERROR: Could not connect to HDFS. ERROR: Libref TESTDATA is not assigned. ERROR: Error in the LIBNAME statement. Can someone let me know how to resolve about issues. Is it something to do with installation.
... View more
07-20-2010
12:41 PM
When I am reading sas log(using program below) file created by some sas program I am getting error message - "ERROR: File is in use," when executing program mentioned below using sas9.2, whereas if I execute below mentioned program using sas9.1.3 I am not getting any error. log file is created using sas9.2. in both cases sas program creating log file was executing..
Can somebody let me know what is happening.
data tmp;
do i=1 to 100;
x="log file path";
output;
end;
run;
data _null_;
set tmp;
infile tmplog filevar=x filename=check2 end=done2 length=_lenvar truncover;
input _logrec_ $varying300. _lenvar;
run;
... View more
04-21-2010
06:44 AM
I have an XML file in which a tag splits into 2 lines for example:
check this out
w>
The end of row tag splits into 2 lines. Why is this XML file not readable?
... View more
02-09-2010
10:14 AM
Ok I get your point seems like I have refer to macro documentation and update my understanding 🙂
... View more
02-09-2010
09:00 AM
I have already read these documents ..when you replied back i was qick to copy open code in macro and it gave error - however i realized it was giving error because I forgot to put semi-colons in %str i.e.
%macro temp;
%let line=%nrbquote(a%str(;)b%str(;)c);
%let line_length=%length(%sysfunc(tranwrd(&line,%str(a),%str(k))));
%mend temp;
%temp;
Now it will not give error.
however I expect an error because %sysfunc(.. will unquote result whiich actually containts semi colon. if you replace
%let line_length=%length(%sysfunc(tranwrd(&line,%str(a),%str(k))));
by %let line_length=%sysfunc(tranwrd(&line,%str(a),%str(k)));
it will give error because unquoting is occuring.
So I am not clear what does %length do so that there is no error?
... View more
02-09-2010
08:39 AM
Thanks yes you are correct however I do not full understand: %sysfunc and %length are executed in macro execution and not on macro comiplation, so why does open code make difference?
... View more
02-09-2010
07:46 AM
Hi,
I am confused with behaviour of %LENGTH function, here is example to explain
%let line=%nrbquote(a;b;c);
%let line_length=%length(%sysfunc(tranwrd(&line,%str(a),%str(k))));
Since %sysfunc unquotes result I was expecting %length function would give error but it did not. Can someone explain why I am not getting any error?
... View more