You can use "define like" on the client side as well as long as you compile your code before you run it - the compiler sticks the temp-table definition in the r-code (all fields, formats, help, labels, indices etc). It is a great "quick and easy" way to ensure you have the fields you need...