BookmarkSubscribeRSS Feed
anioannides
Fluorite | Level 6

Hi, 

 

We are trying to deploy a windows batch file to schedule a dataflux job. We followed the guide and answers from similar threads and we are using the command:

 

call C:\SAS\SASHome\DataFluxManagementStudio\2.7\bin\dmpexec.cmd -j "C:\SAS\SASData\ProductionRepository\Files\batch_jobs\Profiling_Master_Job.djf" -l "C:\Users\1000154\Desktop\Test.log"

However we are receiving the following error shown in the attached screenshot.

screen.png

 

Could anyone please help us understand what is the error and why we get it?

 

Thank you in advance,

Andreas Ioannides

 

 

5 REPLIES 5
RonAgresta
SAS Employee

I'm going to assume that when you run the job interactively it works OK. Have you considered looking at what username is being used to run from the command line? It could be that one or more directories used or referenced by the job are available to the user running interactively but not to the user whose credentials are being used for the batch call.

 

Ron

anioannides
Fluorite | Level 6

Hi thank you for your reply. The same user who runs the jobs interactively, is also running the batch file.

audrey
SAS Employee

Hi,

 

Can you send the full text of the ERROR messag ein the log file?

 

Thanks,

Audrey

www.sas.comsupport.sas.com
SAS®... THE POWER TO KNOW®
anioannides
Fluorite | Level 6

Hi,

 

I'm posting a screenshot as unfortunately i cannot copy any text from the server.

Error.PNG

 

 

 

VincentRejany
SAS Employee

Hi

 

According to the screenshot, your job is running a data profiling node. Therefore you need to specify the Repository in which the data profiling has to take place with the following option:

 

-b "REPOSITORY=TestingReposi.e., the repository in which the job should run

 

You can find more info here.

 

Regards

 

Vincent

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!

How to connect to databases in SAS Viya

Need to connect to databases in SAS Viya? SAS’ David Ghan shows you two methods – via SAS/ACCESS LIBNAME and SAS Data Connector SASLIBS – in this video.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 5 replies
  • 1325 views
  • 0 likes
  • 4 in conversation