BookmarkSubscribeRSS Feed
☑ This topic is solved. Need further help from the community? Please sign in and ask a new question.

Hello, 

 

I have a data step code (score.sas) for a clustering model developed using sas visual statistics.

I want to deploy that code to run in CAS. I used the below code to publish it:

 

proc scoreaccel sessref=mysess1;

publishmodel

modelname="model01"

modeltype=datastep

modeltable="modeltable1"

programfile="/mydir/scoring/model01/score.sas"

xmlfile=""

outdir="/user1/score/work/"

modelnotes="Simple model01 test model"

replacemodel=yes

promotetable=no

persisttable=no ;

quit;

I don't have the xmlfile to be passed as an argument because sas visual statistics exports only a .sas file (score.sas).

 

When I try to run the code without the xmlfile argument I get the following error:

varxml is required when publishing model to cas

 

Can anyone help with this issue?

1 ACCEPTED SOLUTION

Accepted Solutions
sbxkoenk
SAS Super FREQ

Hello @ahmedmady94 ,


As an employee of SAS, you are NOT supposed to post your questions here.

As a SAS employee you are only allowed to answer here and thus help our customers further.
This is described somewhere in the guidelines, but I cannot immediately find it.
As a SAS employee you must use the internal channels at SAS. There are plenty of them.
Try for example the Technical Support ticket database.

 

BR,
Koen

View solution in original post

1 REPLY 1
sbxkoenk
SAS Super FREQ

Hello @ahmedmady94 ,


As an employee of SAS, you are NOT supposed to post your questions here.

As a SAS employee you are only allowed to answer here and thus help our customers further.
This is described somewhere in the guidelines, but I cannot immediately find it.
As a SAS employee you must use the internal channels at SAS. There are plenty of them.
Try for example the Technical Support ticket database.

 

BR,
Koen

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

Register now

What is Bayesian Analysis?

Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 1 reply
  • 785 views
  • 0 likes
  • 2 in conversation