+ Post New Thread
Results 1 to 10 of 10
MIS Systems Thread, CommandReporter.exe in Technical; Hi can i get command reporter dot exe to output csv to stdout?...
  1. #1
    oxide54's Avatar
    Join Date
    Mar 2009
    Posts
    798
    Thank Post
    51
    Thanked 55 Times in 54 Posts
    Rep Power
    23

    CommandReporter.exe

    Hi

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

  2. #2

    jinnantonnixx's Avatar
    Join Date
    Mar 2011
    Location
    In the Calamatorium.
    Posts
    1,970
    Thank Post
    113
    Thanked 490 Times in 336 Posts
    Blog Entries
    2
    Rep Power
    283
    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.
    Last edited by jinnantonnixx; 9th August 2012 at 09:40 AM.

  3. #3
    oxide54's Avatar
    Join Date
    Mar 2009
    Posts
    798
    Thank Post
    51
    Thanked 55 Times in 54 Posts
    Rep Power
    23
    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.

  4. #4

    jinnantonnixx's Avatar
    Join Date
    Mar 2011
    Location
    In the Calamatorium.
    Posts
    1,970
    Thank Post
    113
    Thanked 490 Times in 336 Posts
    Blog Entries
    2
    Rep Power
    283
    My error - you specifically want CSV.

  5. #5
    oxide54's Avatar
    Join Date
    Mar 2009
    Posts
    798
    Thank Post
    51
    Thanked 55 Times in 54 Posts
    Rep Power
    23
    i could parse the xml, but the csv parsing code is so much simplier. and its already written!

  6. #6
    rpwillis's Avatar
    Join Date
    Aug 2007
    Location
    SalamanderSoft Ltd
    Posts
    177
    Thank Post
    43
    Thanked 61 Times in 49 Posts
    Rep Power
    26
    Quote Originally Posted by oxide54 View Post
    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.

  7. #7
    rpwillis's Avatar
    Join Date
    Aug 2007
    Location
    SalamanderSoft Ltd
    Posts
    177
    Thank Post
    43
    Thanked 61 Times in 49 Posts
    Rep Power
    26
    Quote Originally Posted by oxide54 View Post
    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.

  8. Thanks to rpwillis from:

    oxide54 (23rd October 2012)

  9. #8
    oxide54's Avatar
    Join Date
    Mar 2009
    Posts
    798
    Thank Post
    51
    Thanked 55 Times in 54 Posts
    Rep Power
    23
    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!

  10. Thanks to oxide54 from:

    rpwillis (10th August 2012)

  11. #9
    oxide54's Avatar
    Join Date
    Mar 2009
    Posts
    798
    Thank Post
    51
    Thanked 55 Times in 54 Posts
    Rep Power
    23
    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.

  12. #10

    Join Date
    Jun 2010
    Posts
    66
    Thank Post
    1
    Thanked 6 Times in 5 Posts
    Rep Power
    16
    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

SHARE:
+ Post New Thread

Similar Threads

  1. DSStore.exe
    By E1uSiV3 in forum Windows
    Replies: 8
    Last Post: 20th July 2013, 03:47 PM
  2. [SIMS] PHP and commandreporter.exe
    By Tim158 in forum MIS Systems
    Replies: 8
    Last Post: 12th June 2012, 03:34 PM
  3. Replies: 17
    Last Post: 19th March 2010, 11:51 PM
  4. Blocking .exe
    By lee_sri in forum Windows
    Replies: 5
    Last Post: 22nd March 2006, 07:43 PM
  5. Best way to install .exe accross the network through GPO
    By tosca925 in forum How do you do....it?
    Replies: 2
    Last Post: 12th December 2005, 09:45 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •