I'm trying to create a zip file using ODS PACKAGE, but am getting an error message when I try to save the package to the zip file:
ods package add file='plus_minus.sas' mimetype='text/plain' path='';
ods package publish archive properties (archive_name='ODS Package.zip' archive_path='./');
ERROR: Not licensed for publish/subscribe access.
NOTE: Writing package ./ODS Package.zip.
The ODS PACKAGE ADD statement runs without errors, so is presumably part of Base SAS. What SAS component do I need to create a zip file this way? Is there another way to achieve this without the extra licence?
...........Phil
PS. The zip is still created, in spite of the error message! :smileyconfused:
This might apply?
This might apply?
LinusH,
It certainly does!
Many thanks...........Phil
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.