I’ve been doing a lot of file manipulation recently (hence my observations on INFILE’s FILEVAR). I’ve become a great fan of SYSTASK for executing operating system commands. The key element to SYSTASK’s capabilities is that it can execute commands …
Tag: syntax
NOTE: With SYSTASK, Even Men Can Multi-Task!
I’ve been doing a lot of file manipulation recently (hence my observations on INFILE’s FILEVAR). I’ve become a great fan of SYSTASK for executing operating system commands. The key element to SYSTASK’s capabilities is that it can execute commands …
NOTE: Reading Multiple Files (with irregular names)
I was introduced to the INFILE statement’s FILEVAR parameter recently. It seems it’s a great way to read multiple files into a DATA step. Hitherto I had tended to use a widlcard in the FILEREF.
To read multiple files with similar names, you can simply…
NOTE: Reading Multiple Files (with irregular names)
I was introduced to the INFILE statement’s FILEVAR parameter recently. It seems it’s a great way to read multiple files into a DATA step. Hitherto I had tended to use a widlcard in the FILEREF.
To read multiple files with similar names, you can simply…
NOTE: More on LENGTH Functions
I got a good amount of feedback on my recent article on LENGTH functions, including a blog comment from Rick@SAS. In addition to providing some useful detail on LENGTH functions within SAS/IML, Rick also suggested:
I think a source of confusion with ch…
NOTE: More on LENGTH Functions
I got a good amount of feedback on my recent article on LENGTH functions, including a blog comment from Rick@SAS. In addition to providing some useful detail on LENGTH functions within SAS/IML, Rick also suggested:
I think a source of confusion with ch…
NOTE: Length Functions (Something Missing?)
How many functions to tell you the length of a value do you need? At least six apparently! SAS provides LENGTH, LENGTHC, LENGTHM, LENGTHN, KLENGTH and %LENGTH. Why?…
As we’ve all discovered to our cost, the basic LENGTH function accurately…
NOTE: Loading Data Set Variables Into Macro Variables (%SYSCALL SET)
SAS Global Forum still offers plenty of learning opportunities for the hard-core coder. Quite apart from presenting my paper in Coders’ Corner, I took the opportunity of spending some time in some of the sessions. I leaned plenty of new-old stuff, i.e….