Hi @eddieleung305 ,
I have never tried changing the target caslib, but according to the importAssessment tool help below,
there is an option to choose a specific caslib instead of public :
#./importAssessedContent --help
NAME:
importAssessedContent - This application imports published tables and reports, assessed by SAS 9 Content Assessment, residing on the file system to SAS Viya 4 by datamart. Please note that any previously imported content from the specified data mart type will be overwritten by this process.
VERSION:
2023.05
USAGE:
importAssessedContent [command options...]
COMMAND OPTIONS:
--help
Shows help.
--create-profile
Specifies to prompt the user and create a SAS Viya command-line interface profile. Specifying this option will also result in the prompting for required values.
--profile
Specifies a SAS Viya command-line interface profile to use during import. Specifying this option will also prompt the user for login credentials.
--sas-viya-path
Specifies the fully-qualified path to the SAS Viya Command-Line Interface.
--datamart-type
Specifies what type of data mart to publish. Valid values are: profile, inventory, codecheck, i18n, summarizelogs, embatchcode, appusage
--caslib
Specifies the destination caslib. Default value: public
--server
Specifies the destination CAS server. Default value: cas-shared-default
--version
Displays the application's version.
USAGE NOTES:
This application makes use of the SAS Viya Command-Line Interface which can be downloaded from:
https://support.sas.com/downloads/package.htm?pid=2512
After downloading the CLI, make sure to download its "CAS" plugin as well as its "transfer" plugin. See the "Additional Documentation" referenced below for more details.
ADDITIONAL DOCUMENTATION:
/app/list/tf/binaries/sas9ContentAssessment/assessment/doc/SASContentAssessment.pdf
Since it looks feasible to change your reports data caslib, you can also try to move the Assessement VA reports once created in Public folder into another folder, secured,
using VIYA Cli promote plugin :
https://documentation.sas.com/doc/fr/sasadmincdc/v_038/calpromotion/n0u4qkc837891vn1w8pd2rbqaxzb.htm
Changing outright the destination Folder doesn't seem to be possible with the ImportAssessment tool (v 2023.04) ; posting a feature request to the team in charge might be useful also ;-).
HTH,
Ronan
... View more