Cuando se encuentran sin espacio disponible en la librería Work, una opción es sufrir; mucho.
Una mejor alternativa consiste en borrar todos los archivos de esa librería.
¿Cómo hacerlo? Existen varias formas, pero una muy simple es utilizando el procedimiento DATASETS.
Tengan mucho cuidado al hacerlo ¡porque no existe 'undo'!
/****************************************************************************/
/* Programa que elimina todas las tablas de la librería Work utilizando */
/* el Proc Datasets. */
/****************************************************************************/
/*----------------------------------------------------------*/
/* IMPORTANTE:¡Utilizar este código con muchísimo cuidado! */
/* ¡Porque no existe la opción 'Deshacer' (Undo)! */
/*----------------------------------------------------------*/
/*-------------------*/
/* inicio del código */
/*-------------------*/
Proc datasets library=WORK NoList memtype=DATA;
Delete x1–xn;
Run; /* 'Run' cierra la opción 'KILL' */
Quit; /* 'Quit' cierra el Proc Datasets */
/*-------------------*/
/* fin del código */
/*-------------------*/
Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.