Desktop productivity for business analysts and programmers

Append Task - Length varies

Reply
New Contributor
Posts: 2

Append Task - Length varies

Hello,

 

I have a problem I don't know how to tackle..I am using to append task to join two tables...One is a large sas permanent table which contains million of rows and 80 columns, and I have to append a table with 5000 rows and 80 columns, I am using permanent table as base and secondary table as the other one. 

 

The base table variables on average has lengths around 300, and the secondary table is having average length of the columns around 3000.

 

After the append task is ran, it is truncating the columns from the secondary table(this is what I need) but the main problem is, it is changing length of variables of permanent table and replacing them with secondary tables variable lengths.

 

My permanent table size increased from 40 gb to 280 gb.

 

Is there any way to append the tables so that after the append task is done the resultant table have lengths from base table.

 

 

Super User
Posts: 5,386

Re: Append Task - Length varies

I haven't used this task, but from the description it sounds like it uses a data set strategy.

You could very easily program this;
Proc append base=perm data=trans force;
Run;
Data never sleeps
New Contributor
Posts: 2

Re: Append Task - Length varies

Thanks LinusH, It would be better for me to create a custom task for this procedure. My strict rule is to never use a program part in EG.
Super User
Posts: 5,386

Re: Append Task - Length varies

Feel free to do so.
But it sounds with that regulation you are not utilising EG, or using it for the wrong type of application.
Data never sleeps
Ask a Question
Discussion stats
  • 3 replies
  • 226 views
  • 0 likes
  • 2 in conversation