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: 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…