0 Replies Latest reply: Sep 2, 2009 8:52 AM by 807567 RSS

    N1 SPS TIP : Using Public API to get information from N1SPS

    807567
      Hello Sathish,

      thanks for the nice blog http://blogs.sun.com/sunnydays/entry/n1_sps_tip_using_public

      Can I use the output formatter (-o raw) like in the cli?
      I tried this an got an:
      com.sun.n1.sps.client.IllegalArgumentsException: Illegal argument to command pe.p.lo. (024116)
      In our special case I am interest in more detailed output if a plan fails and in the java API I got only 'None' as result. I know in cr_clij (jython) I have to use execStr and can capture the output in a stream.

      Thanks
      Carsten