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

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

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
  • 1366 views
  • 0 likes
  • 4 in conversation