Jump to content

Recommended Posts

Posted (edited)

I haven't done much with Commandreporter, but the help screen says this:

 

The OUTPUT Parameter is optional, if left out the system

will output the results in standard xml to the console.

 

If it's outputting to console, it should be possible to pipe it further, if need be.

Edited by jinnantonnixx
Posted
yeh i've seen that, it seems i can export xml to stdout or csv if i specify a file. i was rather hoping csv to stdout as i'm calling it from another program so i was just trying to avoid ever generating a temporary file given it has kids names + dobs in.
Posted
Hi

 

can i get command reporter dot exe to output csv to stdout?

 

No, csv output is only to file. You might be able to find a utility which can take xml input on stdin and convert to csv though.

Posted
i could parse the xml, but the csv parsing code is so much simplier. and its already written!

Personally I think working with xml is much easier. Amost every language has apis for xml documents which tell you if it's well formed and valid. CSV parsing is always dodgy due to the number of different formats it comes in. Especially when you start getting separators (,"') embedded in the data values.

  • Thanks 1
Posted

i do agree, but we where only put on this earth for a certain number of years!

 

on a serious note though, we are a happy customer of yours Richard!

  • Thanks 1
  • 2 months later...
Posted

definitely coming round to your way of thinking richard, the program has evolved from a basic one time tool to something with a decent gui that will be used time and time again, and the next step is definitely to change the SIMS reports to XML.

 

Having said that I don't regret starting with CSV.

  • 1 month later...
Posted

Hi,

 

I know this thread may be a bit old but I've written some software which enables reports to be run remotely. It uses a Glassfish server on a SIMS workstation or server and provides a WSDL file which can be imported into your software to create the artifacts required for the communication. The only problems so far encountered is the speed reports are run and if the size of the results generated by the report is very large.

 

Software can be downloaded from: http://www.beaconhillcott.net

 

Regards

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...