Anaplan Connect - Export Script

Options
rajinirawat
rajinirawat Member, ALL USERS, Partner Posts: 3 New Contributor

Hi,

 

I am getting the following error, followed by a list of options in my command prompt window when i run my export batch file.

My batch file is as follows:

 

@echo off
set AnaplanUser=XXX:
set WorkspaceId="XXX"
set ModelID="XXX"
set AuthUrl="https://auth.anaplan.com"
set Operation= -export "XXX" -execute -get "XXX"
rem *** End of settings - Do not edit below this line ***
setlocal enableextensions enabledelayedexpansion || exit /b 1
cd %~dp0
if not %AnaplanUser% == "" set Credentials=-user %AnaplanUser%
set Command=.\AnaplanClient.bat %Credentials% -workspace %WorkspaceId% -model%ModelId% %Operation%
@echo %Command%
cmd /c %Command%
pause

 

The error message below:

 

Running Anaplan Connect...
Using Class-Path: C:\anaplan-connect\anaplan-connect-1.4.2-jar-with-dependencies.jar
2019-07-30 15:42:29 ERROR 11544 |-- Options are:

 

And the list goes on with a huge list of options.

 

(Also Error code(11544) is changing upon each run)

 

Help Appreciated and Thank you in advance!

Comments

  • rajinirawat
    rajinirawat Member, ALL USERS, Partner Posts: 3 New Contributor
    Thank you Misbah for the help.
  • rajinirawat
    rajinirawat Member, ALL USERS, Partner Posts: 3 New Contributor

    Thank you for the help. The script is now working with those two pointed errors corrected.