Populating quantity attribute of the stockInfo variable in the loop body

Follow these steps to populate quantity attribute of the stockInfo variable in the loop body:
  1. Click the Java... palette button. The Select a Java Visual Snippet window opens.
  2. In the Specify a type (? = any character, * = any String) field, type java.util.Integer.
  3. In the Matching types: list, select Integer.
  4. In the Qualifier: list, select java.util - WSInstallDir/runtimes/bi_v6_stub/java/jre/lib/core.jar.
  5. In the Select a Visual Snippet: list, select intValue().
  6. Click OK.
  7. Click inside the loop body (lower) canvas of the while true activity to add the intValue activity.
  8. Add an expression to the input terminal of the intValue activity.
  9. Type qtyOfShare.
  10. Add an expression to the output terminal of the intValue activity.
  11. Type stockInfo.quantity.

Feedback
(C) Copyright IBM Corporation 2005. All Rights Reserved.