RunProject

The included RUNPROJECT command can be used to make external requests to execute Projects within GoAnywhere.  RUNPROJECT is available at no additional charge and can be installed onto System i, Windows, UNIX and LINUX platforms.  The RUNPROJECT command can be run from system command lines, scripts, programming languages and native schedulers.
 
Since RUNPROJECT makes its requests to the GoAnywhere server using the standard HTTP protocol, RUNPROJECT can connect from other systems on the IP network.  This allows a single install of GoAnywhere to service multiple systems.
 
 
The RUNPROJECT command has several parameters which can be specified by the user or application including:
  • Name of the Project to execute
  • User and password for authentication
  • Host name or IP address of the GoAnywhere server
  • Port number of the GoAnywhere server
  • Variables names and values to override in the Project
  • Job Queue priority

RUNPROJECT for System i

The RUNPROJECT command can be entered on a System i command line, run from CL/RPG/COBOL programs, placed on user menus and run from job schedulers.
 
Command example:
GOANYWHERE/RUNPROJECT PROJECT('/Payroll/SendDirectDeposit') USER(MSMITH) PASSWORD(********) VARIABLE((STATECODE "NE")) MODE(*INTER)

RUNPROJECT for Windows

The RUNPROJECT command can be entered on a DOS command line, as well as run from Windows shortcuts, Windows applications/languages and Windows schedulers.
 
Command example:
C:\> RunProject -server http://192.168.1.184:8000/goanywhere -user SFIELD -password ********* -project /Payroll/SendDirectDeposit -logFile C:\GoAnywhereLogs\MyLog.log

RUNPROJECT for Unix/Linux

For Unix and Linux operating systems, RUNPROJECT can be entered on a command line, as well as run from shell scripts, application/languages and UNIX/LINUX schedulers.