Topic
1 reply Latest Post - ‏2013-05-26T03:57:14Z by Scott Kurz
Veluri
Veluri
31 Posts
ACCEPTED ANSWER

Pinned topic Subtitution properties from properties

‏2013-04-26T22:33:54Z |

Hi All

If I'm passing subtitution properties from   job.properties file as shown below

# This specifies which job from the repository to submit. 
repository-job=PostingsSample 
 
# The following substitution property values will be passed to the job. 
substitution-prop.wsbatch.count=5 
substitution-prop.checkpoint=timebased
substitution-prop.checkpointInterval=15 
substitution-prop.postingsDataStream=${was.install.root}/temp/postings

 

Question : In xJCL     <substitution-props> </substitution-props>  should be blank or  whole section can be removed...?

I would like to know the  syntax   of  the  substitution section  should be in in xJCL

Your quick response highly appreciated.

  • Scott Kurz
    Scott Kurz
    3 Posts
    ACCEPTED ANSWER

    Re: Subtitution properties from properties

    ‏2013-05-26T03:57:14Z  in response to Veluri

    EDIT: I'm making my 2nd update (this is my 3rd answer).

    Now I see what you're asking.    You're saying you're defining the subsitution properties in your properties file

    instead of in the xJCL, so you're asking what the xJCL needs to look like.

    You had the right idea.  Youu can  either:

    •  omit the <substitution-props> element completely OR
    •  use <substitution-props/>   (immediately close tag).

    Sorry it took me so long to get this correct (if you even saw the other updates).   Maybe I'm commenting too late in the night.

    ---

    If you wanted to have defaults in the xJCL, then my last answer would apply, it would look something like this:

      <substitution-props>
        <prop name="wsbatch.count" value="xxx"/>
        <prop name="checkpoint" value="xxx"/>
        <prop name="checkpointInterval" value="xxx"/>
        <prop name="postingsDataStream" value="xxx"/>
      </substitution-props>

    I.e in the props file substitution-prop.YYY corresponds to xJCL   <substitution-props><prop name="YYY"....>..

    For reference, note the XSD online:

    http://pic.dhe.ibm.com/infocenter/wasinfo/cgwas80/index.jsp?topic=/com.ibm.websphere.cgwas.doc/info/ae/ae/cgrid_xdbatchxml.html

    Updated on 2013-05-26T04:52:00Z at 2013-05-26T04:52:00Z by Scott Kurz