ISTech Support Forum
http://www.istechforum.com/YaBB.pl
Evo-ERP and DBA Classic >> Source Code and Programming in TAS >> TAS Utility to run an arbitrary NON DBA Program
http://www.istechforum.com/YaBB.pl?num=1065710104

Message started by kevind on 10/09/03 at 06:35:04

Title: TAS Utility to run an arbitrary NON DBA Program
Post by kevind on 10/09/03 at 06:35:04

I need a small TAS program that does the same thing as the DBA UT-B program except instead of asking for the program to run, it looks for the command line to execute in another file.  I'm sure UT-B could be used as a starting place.

This other file could have the same name as the .RUN with a .DOS extention (or whatever) instead.

Making the .RUN program look for a data file with the same name as itself would allow one to create other copies with different names to run different DOS commands.

I want to use it to run a Java Script that creates EDI import files from our Web Order Database.

If someone provided this as a 'Shareware Donation $ appreciated', I would donate if it worked for me.

Title: Re: TAS Utility to run an arbitrary NON DBA Progra
Post by NovaZyg on 10/09/03 at 09:05:00

Huh???

What exactly are you looking to run? Give me some example of what you would run from windows or DOS, and I can get you a Quote to do it in TAS.


Title: Re: TAS Utility to run an arbitrary NON DBA Progra
Post by kevind on 10/13/03 at 07:43:44


Quote:
What exactly are you looking to run?


Quote:
I want to use it to run a Java Script that creates EDI import files
from our Web Order Database



Quote:
Give me some example of what you would run from windows or DOS ...

'wscript capedi.js'


All I am looking for is a simple TAS application (as simple as UT-B) that allows any NON DBA program to be executed (by use of the 'exec' TAS statement).

What I want that UT-B does not provide is the ability to specify a Program name and Command line in a seperate Text file.  UT-B requires you to type in the Program Name and Command line.  

For Example:
I have a java script that processes a comma separated file and creates a DBA EDI import file.

I want to be able to run this from the DBA Menu.  I could create a text file called 'capedi.dos' that contained a single line of text 'wscript capedi.js'.  Using UT-B terminology, 'Wscript' is the Program name, and 'capedi.js' is the Command Line.

I could then make a copy of this TAS 'Bridge' application and call it 'capedi.run'.  When 'capedit.run' is called from the DBA Menu, it would (hopefully) be able to determine it's own name, look for a file with the same basename with the extension 'dos', and use the TAS exec command to run the application specified in the '.dos' file.

I can't be any clearer.  I DO NOT want a TAS application specifically written to do what I can easily and quickly do using VB or Java Scripting, WinSQL, Batch files, C, etc.

I just want a way to run a NON DBA application from the DBA Menu.


Title: Re: TAS Utility to run an arbitrary NON DBA Progra
Post by JaySchmitendorf on 01/10/06 at 08:05:04

I have a similar need.

I am leaning towards using java to develop the front end since the compiler is free.

An EVO-ERP menu line will not accept arguments so an executable program will only work for one script.

Title: Re: TAS Utility to run an arbitrary NON DBA Progra
Post by Kelloggs on 05/10/11 at 08:55:03

We have been using the  http://tabsoftwaresystems.com/freeware/DBARunCreate.zip  utility
but now we need something that will do the same thing but creates a  RWN.

did allen create that program?, did you got a quote?

Thanks

Kelloggs

Title: Re: TAS Utility to run an arbitrary NON DBA Progra
Post by kevind on 04/10/12 at 11:30:25

I have also used that utility.  It worked perfectly for what I wanted to do.

WOW, only took me a year to answer this   ;)  

Here (http://www.istechforum.com/YaBB.pl?num=1173208851)is another thread regarding this.

ISTech Support Forum » Powered by YaBB 2.1!
YaBB © 2000-2005. All Rights Reserved.