command line interface?

57 views
Skip to first unread message

Darin Perusich

unread,
Feb 10, 2012, 2:15:44 PM2/10/12
to bots...@googlegroups.com
Hello,

Does BOTS have a command line interface? I need to convert about 1000
x12 files into xml and I'm looking for a way to accomplish this
quickly. After reviewing the documentation there doesn't appear to be
any such functionality so I figured I'd ask.

--
Later,
Darin

Alex Befu

unread,
Feb 10, 2012, 2:44:18 PM2/10/12
to Bots Open Source EDI Translator
Is there a reason that you would need a command line interface? I only
ask because you can set up a file as the IN channel and dump all 1,000
files in there and bots will go through all of them. ( you can set
these things using the botswebserver, if you don't know what that is,
here is a link to the wiki about how to start it up:
http://code.google.com/p/bots/wiki/StartGetBotsRunning )

Darin Perusich

unread,
Feb 10, 2012, 2:51:19 PM2/10/12
to bots...@googlegroups.com
I've never used BOTS, or any EDI tools before, and I'm trying to get
something up and running quickly. I was hoping I could just run all
the files through a "for loop" to convert them.

--
Later,
Darin

hjeb...@gmail.com

unread,
Feb 10, 2012, 2:53:52 PM2/10/12
to bots...@googlegroups.com
what xml?
there are many xml- 'standards', and many more self-defined.
(to me the question sound like: cna I convert x12 into ascii.)

henk-jan

Darin Perusich

unread,
Feb 10, 2012, 3:02:29 PM2/10/12
to bots...@googlegroups.com
On Fri, Feb 10, 2012 at 2:53 PM, hjeb...@gmail.com <hjeb...@gmail.com> wrote:
> what xml?
> there are many xml- 'standards', and many more self-defined.
> (to me the question sound like: cna I convert x12 into ascii.)
>

Ascii would be fine for now, but the final destination will be a
Postgresql database. For now I have about 5gb worth of single line
files that need to be "transformed" into something, anything that's
more readable, so my DBA can evaluate it.

hjeb...@gmail.com

unread,
Feb 10, 2012, 5:50:04 PM2/10/12
to bots...@googlegroups.com
that something is often called 'in-house file' in edi.
waht can your DBA import?
fixed records, csv, xml?

henk-jan

Darin Perusich

unread,
Feb 13, 2012, 10:17:28 AM2/13/12
to bots...@googlegroups.com
On Fri, Feb 10, 2012 at 5:50 PM, hjeb...@gmail.com <hjeb...@gmail.com> wrote:
> that something is often called 'in-house file' in edi.
> waht can your DBA import?
> fixed records, csv, xml?
>

Fixed record or csv would be fine for import. If it helps I'm told
these files are in 837 format. Any instruction you can provide on how
to set this up in BOTS would be great.

Reply all
Reply to author
Forward
0 new messages