An Idea Exchange for SAS software and services

Comments
by SAS Employee Mickey_SAS
on ‎02-08-2013 09:59 AM

I believe the script could use some work to make it a bit easier to follow for people that have no experience with the application.

by SAS Employee rich_sas
on ‎02-21-2013 09:23 AM

Hi Mickey -

The script on the wiki included screenshots and more detail about the application. This information was not included in the script uploaded to the community site. Would it have helped to have some of this additional information?

Also, in a separate community thread, I provided an annotated screenshot of the Cirrus UI to highlight certain areas of the application (palette, canvas, property sheet). Would this kind of "map" of the application screen also help?

Thanks,

Rich

by SAS Employee Mickey_SAS
on ‎02-21-2013 09:37 AM

Rich,

When working through the script, I pulled it up on my second monitor, and worked my way through it.  I never went back to the source wiki to take a look, as I managed my way through it( clumsily at times ).

I missed the other community thread due to an email setting I had set improperly at some point well previous to the EA1, where I was only getting an email summary once per week from the greater communities site.  I think a year or more ago the community was sending me emails even though I wasn't really using it for anything, so I put it on mute Smiley Happy

I went looking for the annotated screenshot now, but was having problems finding it.  It does sound like something that would be very helpful.  One idea might be to put the annotated screenshot of the UI at the start of the script, as an introduction.  I'd also pull in any and all screenshots from the Wiki into the script, so it is one stop shopping for the end users.

Thanks

Mickey

by SAS Employee rich_sas
on ‎02-21-2013 09:48 AM

Here is the "Cirrus Visual Overview" again. I cannot find it, either!

Cirrus-Visual-Overview.png

by SAS Employee Mickey_SAS
on ‎02-21-2013 10:39 AM

I think that would be helpful, the terminology always takes some getting used to when you are using a new product.

by SAS Super FREQ
on ‎07-24-2013 03:54 AM

This has been implemented with SAS9.4, see SAS(R) 9.4 Functions and CALL Routines: Reference

by Valued Guide
on ‎01-06-2014 10:46 AM

thank you  Bruno

That's done and works for me!

more useful, would be support in INPUTN()  for the ? and ?? modifiers

do I have to raise a new ballot idea?

peterC

by SAS Super FREQ
on ‎01-06-2014 11:03 AM

Hi Peter

There are no messages in the log when you use the INPUTN function and the value does not match the informat

by Valued Guide
on ‎01-06-2014 12:35 PM

My concern was to reduce the WARNING and NOTE that appear when for example a date is not valid for int INPUTN() function.

29   %PUT result=%sysfunc( inputn( 31Jan14, date7 ), date11 );

result=31-JAN-2014

30   %PUT result=%sysfunc( inputn( 32Jan14, date7 ), date11 );

WARNING: Argument 1 to function INPUTN referenced by the %SYSFUNC or %QSYSFUNC macro function is out of range.

NOTE: Mathematical operations could not be performed during %SYSFUNC function execution. The result of the operations have been set to a missing value.

result=.

With the INPUT() function we can suppress those messages using the ? or ?? modifiers but they are invalid for INPUTN()

34   %PUT result=%sysfunc( inputn( 31Jan14, ?? date7 ), date11 );

WARNING: Argument 2 to function INPUTN referenced by the %SYSFUNC or %QSYSFUNC macro function is out of range.

NOTE: Mathematical operations could not be performed during %SYSFUNC function execution. The result of the operations have been set to a missing value.

result=.

by SAS Super FREQ
on ‎01-07-2014 02:24 AM

Peter

Thanks for clarification. Yes in this case I guess it does make sense to open a ballot entry.

with the following technique you can avoid a warning message, but one still gets some message in the log

proc fcmp outlib=work.myFunctions.base;
  function readDate( dateValue $, infmt $ );
    tempDate = inputn(dateValue, infmt);
   
   
return (tempDate);
  endsub;
run;

options
 
cmplib=work.myfunctions
;

%let infmt = date9.;
%let someDate = 32Jan2014;

%PUT NOTE: result=%sysfunc( inputn( &someDate, &infmt ), date11. );
%PUT NOTE: result=%sysfunc( readDate( &someDate, &infmt ), date11. );
Idea Statuses
Top Liked Authors