Running a proprietary Exec from Dos Cmd
Running a proprietary Exec from Dos Cmd
Using "Input File" to read in parameters as standard input, but keeps asking for a workspace..
I've tried creating a workspace, but that doesn't work either...
Has anyone anything similar?....
When you click on the exec in windows directory, a CMD window opens
- Mike_G
- Posts: 1
- Joined: Thu Jun 17, 2010 11:04 am
Re: Running a proprietary Exec from Dos Cmd
To accomplish this, open your project in EDIT mode.
Then click on the "SHOW XML" button. This will display the project XML.
Copy and paste the project to the forum.
Thank you.
Software Support
Linoma Software
- Support_Julie
- Support Specialist
- Posts: 77
- Joined: Thu Mar 05, 2009 2:49 pm
- Location: Ashland, NE USA
Re: Running a proprietary Exec from Dos Cmd
There are a couple work-arounds
1)
Install a copy of GoAnywhere Director on the second Windows server.
On server “A” execute a task to run a remote project. This project would be on the second GoAnywhere server.
On server “B” the project would execute the needed native command.
2)
Install the RUNPROJECT run-time module on the Second server.
In the batch project, execute your command & call the project on the GoAnywhere server.
Project XML:
<?xml version="1.0" encoding="UTF-8" ?>
<project name="Evanston_Markel" mainModule="Main" version="1.0" logLevel="verbose">
<description>Send Evanston and Markel monthly Data Feeds</description>
<module name="Main">
<exec version="1.0" executable="\home\eva\sendmarkelfile.exe" inputFile="\home\eva\Evan_Driver.txt" />
</module>
<variable name="carrier" value="EVANSTON /F" valueIsEncrypted="false" description="Evanston GL or Markel submission" />
<variable name="filename" value="evantfren_061710_test.txt" valueIsEncrypted="false" description="Submitted file name for processing" />
</project>
Portion of job log:
7/8/10 10:32:39 AM INFO Start Date and Time: 7/8/10 10:32:39 AM
7/8/10 10:32:39 AM INFO Job Number: 1278592748931
7/8/10 10:32:39 AM INFO Project Name: /test/Evanston_Markel
7/8/10 10:32:39 AM INFO Submitted By: xxxx.xxxx
7/8/10 10:32:39 AM INFO GoAnywhere Director 3.0.2 running on OS/400 V5R4M0 (ppc)
7/8/10 10:32:39 AM INFO Executing project 'Evanston_Markel'
7/8/10 10:32:39 AM INFO Project location: /linoma/goanywhere/userdata/projects/test/Evanston_Markel.xml
7/8/10 10:32:39 AM INFO Executing module 'Main'
7/8/10 10:32:39 AM INFO Executing task 'exec 1.0'
7/8/10 10:32:39 AM ERROR [8020 - exec] The file reference "\home\eva\Evan_Driver.txt" in attribute "inputFile" of element "exec" failed because a workspace has not been created for this project.
7/8/10 10:32:39 AM INFO Finished project 'Evanston_Markel'
7/8/10 10:32:39 AM ERROR [8020 - exec] The file reference "\home\eva\Evan_Driver.txt" in attribute "inputFile" of element "exec" failed because a workspace has not been created for this project.
com.linoma.dpa.runtime.JobFailedException: [8020 - exec] The file reference "\home\eva\Evan_Driver.txt" in attribute "inputFile" of element "exec" failed because a workspace has not been created for this project.
at com.linoma.dpa.runtime.Job.run(Unknown Source)
Software Support
Linoma Software
- Support_Julie
- Support Specialist
- Posts: 77
- Joined: Thu Mar 05, 2009 2:49 pm
- Location: Ashland, NE USA
Who is online
Users browsing this forum: No registered users and 0 guests