BookmarkSubscribeRSS Feed
jitinsethi07
Obsidian | Level 7

I am creating a blank dataset 'empty' and then trying to append data to it from dataset lasrlib.rebates_data:


options mlogic mprint symbolgen;
%vdb_dt(LASRLIB.empty);
data lasrlib.empty;

Informat Retailer $3.;
Informat CODE $16.;
Informat NAME $66.;
Informat DESCRIPTION $20.;
Informat COLOURS $10.;
Informat UNIT_OF_MEASURE_UOM nlnum12.;
Informat USD_GROSS_PRICE_New nlnum12.;
Informat USD_REBATE_PRICE_New nlnum12.;
Informat USD_NET_PRICE_New nlnum12.;
Informat USD_REBATE_PRICE_REUSE nlnum12.;
Informat USD_PRICE_Reuse nlnum12.;
Informat AUD_GROSS_PRICE_New nlnum12.;
Informat AUD_REBATE_PRICE_New nlnum12.;
Informat AUD_NET_PRICE_New nlnum12.;
Informat AUD_REBATE_PRICE_REUSE nlnum12.;
Informat AUD_PRICE_Reuse nlnum12.;
Format Retailer $3.;
Format CODE $16.;
Format NAME $66.;
Format DESCRIPTION $20.;
Format COLOURS $10.;
Format UNIT_OF_MEASURE_UOM nlnum12.;
Format USD_GROSS_PRICE_New nlnum12.;
Format USD_REBATE_PRICE_New nlnum12.;
Format USD_NET_PRICE_New nlnum12.;
Format USD_REBATE_PRICE_REUSE nlnum12.;
Format USD_PRICE_Reuse nlnum12.;
Format AUD_GROSS_PRICE_New nlnum12.;
Format AUD_REBATE_PRICE_New nlnum12.;
Format AUD_NET_PRICE_New nlnum12.;
Format AUD_REBATE_PRICE_REUSE nlnum12.;
Format AUD_PRICE_Reuse nlnum12.;
;
run;

proc append base=lasrlib.empty data=lasrlib.Rebates_data

 

Continuously getting error: update access is not supported for file <extension.filename>

2 REPLIES 2
jitinsethi07
Obsidian | Level 7

SA SKiwi, you are absolutely correct, and I had to use proc imstat. This issue that I am experiencing is while working with SAS Visual Analytics, I remember I have used proc append in the similar manner several times in SAS Enterprise Guide and it worked perfectly fine. not sure whats wrong in here. Thank you!

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

Register now!

Tips for filtering data sources in SAS Visual Analytics

See how to use one filter for multiple data sources by mapping your data from SAS’ Alexandria McCall.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 2 replies
  • 3803 views
  • 2 likes
  • 2 in conversation