Variable Size Error.

Hi Experts,
I am using a variable to get the error message and use that in sending mail, but when i ran the scenario its error out saying,
"ORA-12899: value too large for column".
My assumption is when the error message exceed more than 200 characters its error out. So my question is how to increase the size of the variable size?
Please help..
Thanks

Hi G,
Thanks for your reply,
Datatype : AlphaNumeric
Action: Historize (I tried Not Persistance, last value also).
please let me know if you need anything.

Similar Messages

  • NI Variable Engine:Error:

    I have a systemthat has been running fine for over a year. Upon failure the customer returned the processor to us and I took it to a known working unit to see what was going on with it.
    First thing, in MAX you cannot see anything under Devices and Interfaces, only thing that shows up is Software.
    I connected a monitor and keyboard to the PXI directly and the following errors are displayed (no way of doing a screen shot so I caught as much as I could):
    tStatus2 Contents:
                  Error code = -2147220721
                  Component Name = nidevldp
                  File Name = p:\Measurements\Infrastructure\devld\trunk\1.8source\mxsCon
    figWrapper.cpp
                 Line # = 103
                 Address of StatusDesc = 0x0
                 Stack Trace = 0x1F6EB46
                                       0x2167730
                                       0x216BFC3
                                       [and a bunch more]
    NI Variable Engine: Error: Unable to load the MXS conf plugin: Failed to get MAX Configuration Interface: 0x80004005
    NI Variable Engine: C:\ni-rt\system\ni_tagger_plugin_mxs.dll: Failure to load plugin: Unexpected error: Unable to get the interface from plug-in
    Nothing has changed on the system in over a year so I know it is not software. One day it just would not start running the machine.
    The processor is a (now obsolete) PXI-8184.
    Any clues or do I have to replace it, which will be fun because the newer PXI-8183 is a different size.
    Thanks for any input.

    This is a fairly common problem, in my experience. We use PXI RT controllers for several test stands, and I have found that the MAX Configuration database is quite easily corrupted if the controller is powered down without closing and cleaning up all the DAQmx tasks. I have no idea why an embedded system would be so easily corrupted, but here are the steps I have taken to deal with the (inevitable) corruptions:
    I created a "Shutdown RT System" button accessible via a remote front panel from my Host PC that will trigger an interrupt to stop all DAQ tasks and loops on the RT system. I make sure that any time the system needs to be powered down/rebooted, that the operator first presses this button to put the controller into a safe-to-shutdown state.
    I used the RTSystemReplication toolset to create a backup image of the RT controller HDD on my host PC. I created a separate compiled executable that I configured in Windows scheduler to create weekly backups of the RT controller. I have another application that redeploys the backup in the event of a database corruption. Note that the RT controller must first be completely formatted before the backup image can be applied.
    It is very frustrating that such a procedure is necessary (and it is necessary--even with uninterruptible power supplies, we still have the occasional power outage that outlasts the backup battery, not to mention oops situations where the system is restarted without stopping all DAQmx tasks). But by taking the steps listed above, I have managed to reduce the downtime associated with these gross system failures to roughly one hour per incident, as opposed to the 4+ hours it used to take to fully reinstall all the software components and recalibrate channels as necessary.
    If anyone else has any other ideas as to how to avoid/deal with MAX configuration corruptions on PXI RT controllers, please respond with descriptions.

  • Variable size item problem in BOM

    hi all,
    We have semi-finished material with componets as variable size items (item cat. R)
    Now in the variable size tem data, Size 1 = 1,406 MM, Size 2 = 1,220 MM. Numner is 1 ST, formaula place is blank.
    Qty Var-Sz Item is calculated by system is 3.957 M2. On what basis this value is calculated?
    In the component material we have maintained a componenet scrap quantity as 15%.
    BOM ratio of header : component = 1NOS : 1 ST
    Again when we create a production order for the header, for 1 NOS header quantity component qty becomes 2.
    For 2 NOS of header qty, component becomes 3 like this.
    Why this happens..
    Regards,
    Srijit.

    Thread closed

  • Customer Exit Variable - Variable Value Error BRAIN 000

    I created a variable which is processed by 'Customer Exit'. This variable is 'optional' and NOT user input required.
    And i have written my code in customer exit under I_STEP EQ 1.
    I used the variable in my query as a default value for a free characteristic.
    The query runs fine and return me the correct result.
    The problem is when i used the same variable as a default value of a free characteristic in another query which has another user input variable for another characteristic, i got a warning message after input a value for another variable.
    Variable Value Error BRAIN 000 <<i>my variable name</i>>
    How to make it work in the second query?
    Please help as I am new to this.
    Thanks,
    CH

    Hi Fernanda,
    Try this:
    DATA:  LS_RA_SID  TYPE   RSR_S_RANGESID.
    DATA:  fst_date LIKE sy-datum.
       CASE i_vnam.
              WHEN 'ZRANGE_PREVMONTH'.
    fst_date = sy-datum - 1.
    concatenate fst_date(6) '01' into ls_ra_sid-low.
          ls_ra_sid-sign = 'I'.
          ls_ra_sid-opt = 'BT'.
          ls_ra_sid-high = fst_date.
          APPEND ls_ra_sid TO e_t_range.
    ENDLOOP.
    ENDCASE.
       ENDIF.
    Just post here for any queries..
    Regards,
    Loed

  • Variable size item:

    Hi
    Company procures copper sheet of certain thickness with different sizes. Stock keeping dimension is KG. Material master has alternative unit of measure and conversion factor for KG and cubic centimeter. Design department will enter this sheet dimension like 15005003 in BOM and it will correctly calculate KG with formula entered.
    My problem is shop floor person will come to know the dimension and KG relation but how store person will come to know what size he has to cut and issue against production order. As while issuing goods he can only see quantity in KG and not in cubic centimeters ?
    Surendra

    SDBSAP ,
    If its unanswered why you flaged it answered .......?
    and solution to your problem in standard sap is not possible.
    You need to go for development, logic can be , for all variable size items from a BOM you need to pick size 1 size 2 and size 3 to print on issue slip . It will give exact dimension to your storage person to issue the correct dimension sheet to shop floor.
    Regards
    Ritesh

  • Variable size items.

    Hi, im a PP consultant from bombay, i had a query regarding a client who is inti\o wooden frame manufacturing it is a strictly discrete industry and the client specifications vary with almost every request. at the moment the client is creating a new mat master for every new product thus causing the master materials to run into 50-60 thousand currently. i want to know if i can use variable size items to reduce the number of materials defined as all of the materials are from standard sized planks. stock is required to be maintained for all components individually.

    Hi,
    "If you want different-sized sections of a material (raw material) to be represented by one material number in BOM items, you use this item category."
    Ans lies in the your last statement(stock is required to be maintained for all components individually)You cannot go for variable size item as you need to maintain stock individually
    Revert if you have further query
    Reward points if useful
    Regards,
    SVP

  • Variable size memory is not matching....

    Hello, Here is my oracle version..
    Oracle Database 10g Enterprise Edition Release 10.1.0.2.0 - Prod
    PL/SQL Release 10.1.0.2.0 - Production
    CORE 10.1.0.2.0 Production
    TNS for 32-bit Windows: Version 10.1.0.2.0 - Production
    NLSRTL Version 10.1.0.2.0 - Production
    My variable size memory should be exactly same as Java pool, large pool, shared pool.
    scott@orcl> show sga
    Total System Global Area 171966464 bytes
    Fixed Size 787988 bytes
    Variable Size 145488364 bytes
    Database Buffers 25165824 bytes
    Redo Buffers 524288 bytes
    scott@orcl> select
    2 sum(bytes)
    3 from
    4 v$sgastat
    5 where
    6 pool in ('shared pool', 'java pool', 'large pool');
    SUM(BYTES)
    143369796
    The stream pool size should be part of SGA. But it is not showing in v$sgastat view....
    In oracle9i, variable size was matching with the above query. Now it is not matching..
    Am i missing any thing in my above query? Any help is highly appreicated...

    still it is not matching... variable size is 145488364 bytes... but the below is showing 142606336.
    scott@orcl> show sga
    Total System Global Area 171966464 bytes
    Fixed Size 787988 bytes
    Variable Size 145488364 bytes
    Database Buffers 25165824 bytes
    Redo Buffers 524288 bytes
    scott@orcl> select sum(bytes) from v$sgainfo where name in('Streams Pool Size',
    2 'Java Pool Size','Large Pool Size','Shared Pool Size');
    SUM(BYTES)
    142606336
    scott@orcl>
    scott@orcl> select * from v$sgainfo;
    NAME BYTES RES
    Fixed SGA Size 787988 No
    Redo Buffers 524288 No
    Buffer Cache Size 25165824 Yes
    Shared Pool Size 83886080 Yes
    Large Pool Size 8388608 Yes
    Java Pool Size 50331648 Yes
    Streams Pool Size 0 Yes
    Granule Size 4194304 No
    Maximum SGA Size 171966464 No
    Startup overhead in Shared Pool 29360128 No
    Free SGA Memory Available 0
    11 rows selected.
    scott@orcl>

  • Variable size item formulla key funtion module,

    I am developing user interface for manual reservation (cutsom development). User wants to calculate quantity of material if he enters size1, size2 and size3. Also he wants that a formula key option to be provided so that he can mention conversion formula. Is there any standard function module for variable size formulla funtion module.
    I want to use same logic of variable size item formulla of bom in the above custom template.
    Please suggest.

    Hi
    The function module EVAL_FORMULA and FORMULA_EVALUATION may help you as they all export calculated values as output. Please go to SE37 to click the button 'Function module documentation' to see more information.
    Or go to SE80 to check the function group CALC to see more function.
    Best Regards
    Leon.

  • Variable size item Vs Stock item

    Hi Experts,
    I have a doubt regarding the use of variable size item over standard stock item. I will give an example as under.
    I have an item called cable which is to be added to a header material. This cable will be used in many header materials. I tried using variable size item as an item category and given the following parameters
    Size 1 as 5 M(UOM)
    Formula (L1)
    Number (1) ST
    System calculates the value as 5 M for qty var sz item
    In the item over view screen, quantity against the material 1 ST
    My query is instead of giving the qty as 5 M and use a formula, what if i directly give the item as stock item "L" and directly define the qty as 5M. If there is no difference between the above, why should we use the variable size item? instead we can directly calculate and give the qty for the item right. Kindly clarify the application of variable size item over standard stock item category.
    In both the cases I will be having one material code in the system and the qty will be changed in the respective BOM of two different header materials.
    Regards,
    Sridharan M

    Hi
    In addition to the stock keeping unit you can provide the details like length, width and thickness, say for example if you want to fabricate a metal part. You may need length width and thickness of the plate to be used for fabrication. This details you will be entering in the variable size items and using the formual you can calculate the required quantity in KG.
    This kind of variable size items you need not calcualte the weight of the material you just need to enter the sizes as per the drawing as you prepare the BOM.
    This varies with respect to size.... Variable Size Items
    Soundar

  • Variable size material assigning problem

    Hi friends,
    I am trying to assign a variable size material for an activity. There is a scenario in which they are giving only one dimension and no formula is been used to calculate but the required qty field is rounding off for next decimal point for eg: if the size of material i am giving as 0.912 mm then the required qty is round off to 0.920. Can any one please tell me do we have any config setting to be done to take out this rounding off decimal point.
    Thanks
    Satish.

    the data element for required quantity CO_MENGE has 3 places of decimal - so basically it should be fine
    I have checked in my system and I can see 0.912 for a material with dimension length
    the other thing is check the material master - additional data for units of measure - or there might be some program rounding off the units to 2 digits
    If you are using a custom unit then check CUNI and make sure it is not set to 2 decimal places

  • Variable Size Item Data in Purchase Requisition

    Hi
    When ever the Purchase Requisition of the Variable size material is
    raised, how do i view,for reference,the Variable Size Item data from
    Bill of materials .
    Steps for the Reconstruction 
    1.Create a Variable size Item Bill of material.
    2.Run MRP agianst the Variable size material's dependent demand.
    3.View the Purchase requisition of the Variable size Item, to take a
    note of the Item Data.

    Thread closed

  • Variable size array in a FlowPane

    If i have an array of variable size (for example a array of cards).
    How can i build something to show the elements(in a FlowPane for example) and each of them having its own controller (fxml + controller for each card), so the container (flow pane) of the elements (cards) can have it's elements swaped, removed or added new ones?
    Controller:
    public class HandController extends FlowPane implements Initializable{
        @Override public void initialize(URL arg0, ResourceBundle arg1){
        public void setHand(ArrayList<Cards> Hand){
            //this would work if the hand were static
            for(int i = 0; i < Hand.size(); ++i){
                FXMLLoader fxmlLoader = new FXMLLoader(getClass().getResource("CardView.fxml"));
                CardController controller = new CardController();
                fxmlLoader.setController(controller);
                fxmlLoader.setRoot(controller);
                Parent card = (Parent)fxmlLoader.load();
                fxmlLoader.setRoot(card);
                this.getChildren().add(card);
                controller.setCard(Hand.get(i));
    }Fxml:
    <fx:root type="FlowPane" xmlns:fx="http://javafx.com/fxml"
             stylesheets="view/Style.css">
        <children>
            <!--should i put something here?-->
        </children>
    </fx:root>

    Well, I was bored...
    This "game" has a hand of up to five cards. You can deal from a deck to the hand, and then play (or discard) a card by double-clicking on it.
    The model comprises a Card class, a Deck class, and a GameModel class. The last one tracks the hand and deck and the relationship between them. Card and Deck were written from my memory of reading an example of using Enums by Josh Bloch.
    Card.java
    package cardgame;
    public class Card {
         public enum Rank {
              Ace, Two, Three, Four, Five, Six, Seven, Eight, Nine, Ten, Jack, Queen, King
         public enum Suit {
              Clubs, Diamonds, Hearts, Spades
         private final Rank rank;
         private final Suit suit;
         public Card(Rank rank, Suit suit) {
              this.rank = rank;
              this.suit = suit;
         public Rank getRank() {
              return rank;
         public Suit getSuit() {
              return suit;
         @Override
         public String toString() {
              return String.format("%s of %s", rank, suit);
         @Override
         public int hashCode() {
              final int prime = 31;
              int result = 1;
              result = prime * result + ((rank == null) ? 0 : rank.hashCode());
              result = prime * result + ((suit == null) ? 0 : suit.hashCode());
              return result;
         @Override
         public boolean equals(Object obj) {
              if (this == obj)
                   return true;
              if (obj == null)
                   return false;
              if (getClass() != obj.getClass())
                   return false;
              Card other = (Card) obj;
              if (rank != other.rank)
                   return false;
              if (suit != other.suit)
                   return false;
              return true;
    }Deck.java
    package cardgame;
    import java.util.ArrayList;
    import java.util.LinkedList;
    import java.util.List;
    import java.util.Random;
    import cardgame.Card.Rank;
    import cardgame.Card.Suit;
    public class Deck {
         private final List<Card> cards;
         private Deck() {
              cards = new LinkedList<Card>();
              for (Suit suit : Suit.values())
                   for (Rank rank : Rank.values())
                        cards.add(new Card(rank, suit));
         public static Deck newDeck() {
              return new Deck();
         public static Deck shuffledDeck() {
              return newDeck().shuffle();
         public Deck shuffle() {
              final List<Card> copy = new ArrayList<Card>(cards.size());
              Random rng = new Random();
              while (cards.size() > 0) {
                   int index = rng.nextInt(cards.size());
                   copy.add(cards.remove(index));
              cards.clear();
              cards.addAll(copy);
              return this;
         public Card deal() {
              return cards.remove(0);
         public int size() {
              return cards.size();
    }GameModel.java
    package cardgame;
    import javafx.beans.binding.BooleanBinding;
    import javafx.beans.property.BooleanProperty;
    import javafx.beans.property.ReadOnlyBooleanProperty;
    import javafx.beans.property.SimpleBooleanProperty;
    import javafx.collections.FXCollections;
    import javafx.collections.ObservableList;
    public class GameModel {
         private ObservableList<Card> hand;
         private Deck deck;
         private BooleanProperty canDeal;
         public GameModel() {
              this.hand = FXCollections.observableArrayList();
              this.deck = Deck.newDeck().shuffle();
              this.canDeal = new SimpleBooleanProperty(this, "canDeal");
              canDeal.bind(new BooleanBinding() {
                        super.bind(hand);
                   @Override
                   protected boolean computeValue() {
                        return deck.size() > 0 && hand.size() < 5;
         public ObservableList<Card> getHand() {
              return hand;
         public ReadOnlyBooleanProperty canDealProperty() {
              return canDeal;
         public boolean canDeal() {
              return canDeal.get();
         public void deal() throws IllegalStateException {
              if (deck.size() <= 0) {
                   throw new IllegalStateException("No cards left to deal");
              if (hand.size() >= 5) {
                   throw new IllegalStateException("Hand is full");
              hand.add(deck.deal());
         public void playCard(Card card) throws IllegalStateException {
              if (hand.contains(card)) {
                   hand.remove(card);
              } else {
                   throw new IllegalStateException("Hand does not contain " + card);
    }The CardController is the controller for a CardView. It takes a reference to a Card and its initialize method initializes the view to display it (the view is just a simple label).
    CardController.java
    package cardgame;
    import javafx.fxml.FXML;
    import javafx.scene.control.Label;
    public class CardController {
         private final Card card;
         @FXML
         private Label label;
         public CardController(Card card) {
              this.card = card;
         public void initialize() {
              label.setText(String.format("%s%nof%n%s", card.getRank(),
                        card.getSuit()));
    }The HandController is the controller for the display of the hand. This is where most of the action happens. The trick here is that it requires a reference to a GameModel, which needs to be injected from somewhere, so we need a setModel(...) method, or something similar. I didn't want to assume the order of events: i.e. whether the model is injected before or after the initialize() method is invoked. To keep this flexibility, I used an ObjectProperty to wrap the model, and listen for changes to it. When the model is updated, I register a listener with the hand (exposed by the model). This listener in turn rebuilds the views of the cards when the hand changes. There's also a "deal" button, whose disabled state is managed by binding to a property in the model (using a neat trick from the Bindings class to allow the model value to be dynamic).
    HandController.java
    package cardgame;
    import java.io.IOException;
    import javafx.beans.binding.Bindings;
    import javafx.beans.property.ObjectProperty;
    import javafx.beans.property.SimpleObjectProperty;
    import javafx.beans.value.ChangeListener;
    import javafx.beans.value.ObservableValue;
    import javafx.collections.ListChangeListener;
    import javafx.event.EventHandler;
    import javafx.fxml.FXML;
    import javafx.fxml.FXMLLoader;
    import javafx.scene.Node;
    import javafx.scene.control.Button;
    import javafx.scene.input.MouseEvent;
    import javafx.scene.layout.Pane;
    public class HandController {
         private ObjectProperty<GameModel> model;
         @FXML
         private Pane container;
         @FXML
         private Button dealButton;
         public HandController() {
              this.model = new SimpleObjectProperty<GameModel>(this, "model", null);
              final ListChangeListener<Card> handListener = new ListChangeListener<Card>() {
                   @Override
                   public void onChanged(Change<? extends Card> change) {
                        container.getChildren().clear();
                        try {
                             for (Card card : model.get().getHand()) {
                                  container.getChildren().add(loadCardView(card));
                        } catch (IOException e) {
                             e.printStackTrace();
              model.addListener(new ChangeListener<GameModel>() {
                   @Override
                   public void changed(
                             ObservableValue<? extends GameModel> observable,
                             GameModel oldValue, GameModel newValue) {
                        if (oldValue != null) {
                             oldValue.getHand().removeListener(handListener);
                        if (newValue != null) {
                             newValue.getHand().addListener(handListener);
         public void setModel(GameModel model) {
              this.model.set(model);
         public void initialize() {
              dealButton.disableProperty().bind(
                        Bindings.selectBoolean(model, "canDeal").not());
         private Node loadCardView(final Card card) throws IOException {
              FXMLLoader loader = new FXMLLoader(getClass().getResource(
                        "CardView.fxml"));
              CardController controller = new CardController(card);
              loader.setController(controller);
              Node cardView = (Node) loader.load();
              cardView.setOnMouseClicked(new EventHandler<MouseEvent>() {
                   @Override
                   public void handle(MouseEvent event) {
                        if (event.getClickCount() == 2) {
                             model.get().playCard(card);
              return cardView;
         public void dealCard() {
              model.get().deal();
    }Here are the FXML files:
    CardView.fxml
    <?xml version="1.0" encoding="UTF-8"?>
    <?import javafx.scene.layout.StackPane?>
    <?import javafx.scene.control.Label?>
    <?import java.lang.String?>
    <StackPane xmlns:fx="http://javafx.com/fxml" prefHeight="150" prefWidth="80" minWidth="80" maxWidth="80" minHeight="150" maxHeight="150">
         <Label fx:id="label" >
         </Label>
         <styleClass>
              <String fx:value="card"/>
         </styleClass>
    </StackPane>Hand.fxml
    <?xml version="1.0" encoding="UTF-8"?>
    <?import javafx.scene.layout.FlowPane?>
    <?import javafx.scene.layout.BorderPane?>
    <?import javafx.scene.control.Button?>
    <?import javafx.scene.control.ScrollPane?>
    <?import java.lang.String?>
    <BorderPane xmlns:fx="http://javafx.com/fxml" fx:controller="cardgame.HandController" >
         <center>
              <FlowPane hgap="5" vgap="10" fx:id="container">
              </FlowPane>
         </center>
         <bottom>
              <Button text="Deal" onAction="#dealCard" fx:id="dealButton"/>
         </bottom>
    </BorderPane>The overall application is managed by a Game.fxml:
    <?xml version="1.0" encoding="UTF-8"?>
    <?import javafx.scene.layout.BorderPane?>
    <BorderPane xmlns:fx="http://javafx.com/fxml" fx:controller="cardgame.GameController">
         <center>
              <fx:include source="Hand.fxml" fx:id="hand" />
         </center>
    </BorderPane>with a GameController:
    package cardgame;
    import javafx.fxml.FXML;
    public class GameController {
         @FXML private HandController handController ;
         private GameModel model ;
         public GameController() {
              model = new GameModel();
         public void initialize() {
              handController.setModel(model);
    }Game.java is the main class:
    package cardgame;
    import java.io.IOException;
    import javafx.application.Application;
    import javafx.fxml.FXMLLoader;
    import javafx.scene.Parent;
    import javafx.scene.Scene;
    import javafx.scene.paint.Color;
    import javafx.stage.Stage;
    public class Game extends Application {
         @Override
         public void start(Stage primaryStage) throws IOException {
              Scene scene = new Scene(FXMLLoader.<Parent>load(getClass().getResource("Game.fxml")), 600, 400, Color.DARKGREEN);
              scene.getStylesheets().add(getClass().getResource("style.css").toExternalForm());
              primaryStage.setScene(scene);
              primaryStage.show();
         public static void main(String[] args) {
              launch(args);
    }and then a style sheet
    style.css:
    @CHARSET "US-ASCII";
    .card {
         -fx-background-color: white ;
         -fx-border-color: black ;
         -fx-border-radius: 5 ;
         -fx-border-style: solid ;
         -fx-padding: 5 ;
    .card .label {
         -fx-text-alignment: center ;
    }

  • Variable size material

    how we create variable size material
    thanks in advance

    Dear,
    T-Code-CS01
    1. Enter the material for which you want to create BOM, Plan and BOM usage.
    2. Select the item category "R", enter the component. Now you will be taken to the "Variable item data" screen.
    3. Enter the datas of Size 1, 2 & 3 (as required) and the unit of the size & number. System will calculate the "Qty of var- size item" in the unit assigned to the basic data of the material master of the component.
    4. Save
    You can change the unit of the variable size item as per your requirement in OS28
    Regards,
    R.Brahmankar

  • "not all variables bound" error in a BI publisher report

    Hi, I'm getting a "ORA-01008: not all variables bound" error in my BI publisher report. The SQL query looks like this:
    select
    ...--a bunch of rows
    from
    tbl1,tbl2,...,tblk
    where
    ...--and conditions performing inner joins
    and
    (('*') in &p_SomeParameter or tbl3.SomeValueOfSameType in &p_SomeParameter)
    Yet, when I comment out this last and condition, it works. Also, the default value for this parameter is ('*'). I get this error even when just trying to look the xml data itself. Has anyone seen "ORA-01008: not all variables bound" caused by a BI-Publisher report before?
    Why haven't I gotten a reply to this? Did I make myself clear enough? The query runs fine in Toad. Therefore this means that BI Publisher is mangling the query before it has a chance to be processed by the Oracle RDBMS. Therefore I want to know why BI Publisher is mangling my select query and causing the RDBMS to return a "not all variables bound" error.
    Message was edited by:
    user586835

    Try, (use ':' instead of '&')
    (('*') in :p_SomeParameter or tbl3.SomeValueOfSameType in :p_SomeParameter)
    )

  • I am getting ORA-01008:not all variables bound error

    Hi all,
    i am getting ORA-01008:not all variables bound error while executing the following code...
    Could any one help me to find out the problem...i am very new to ODP.net and Oracle ..
    I am using VC++.net for run this code.
    Here is the code.....
    #include <iostream>
    using namespace std;
    using namespace System;
    using namespace Oracle::DataAccess::Client;
    class Sample
    public:
         Sample();
    ~Sample();
    Sample::Sample()
         int num = 100;
         int sal = 200;
    //connect to Oracle
         OracleConnection ^con ;
         con = gcnew OracleConnection();
         con->ConnectionString = "User Id=test;Password=test;Data Source=test.local.com";
         //Oracle command part
         OracleCommand ^cmd;
         cmd = con->CreateCommand();
         cmd->CommandText = "insert into simple values (:num, :sal)";
         try
              con->Open();
              cmd->ExecuteNonQuery();
         catch (Exception ^e)
              Console::WriteLine("Execution Failed:" + e->Message);
    finally
              con->Close();          
    Sample::~Sample()
    int main()
         Sample samp;
         return 0;
    sorrry lack of comments.....
    plz help me out..
    thanks in advance..
    justin

    Hello,
    You have 2 bind variables in your statement (:num and :sal) but you have not created parameters and bound them to the bind variables.
    - Mark

Maybe you are looking for

  • Kt3 Ultra-aru Processor Speeds?

    Hi There,     I'm running the MSI KT3 Ultra-ARU (MS-6380E v1.X) with an AMD Athlon XP 2000, I was just wondering what Athlon XP processor speeds this supports upto, and if possible what changes I might need to make to the Bios, Would I need to flash

  • For SAPscript INCLUDE TEXT, how to align as Paragraph format

    Hi experts and ABAP colleagues! Need your help on this sapscript problem: How to align texts taken from "INCLUDE TEXT" in SAPscript, according to tab defined in Paragraph Format? For example, I defined BG to have tabstop at the 2nd column (or equival

  • Vertical Lines only

    I have an Mac 12" Aluminum power book where the screen is not functioning properly. When I boot it up, the display turns on, usually a blueish screen with vertical line in the display that seem to represent the horrizontal postion of text that should

  • Satellite P50T - does not sleep when lid is closed

     I have a new P50T with Windows 8.1.  When I close the lid it does not sleep despite my power options being set that way.   I have closed the lid, unplugged and put in my bag just to find it on an hour later and too hot to touch. Any information woul

  • Sendmail , cyrus not deliveruing mail

    Hello , I have a problem on solaris 10 with sendmail and cyrus. What happens is that i\m using virtual domains in cyrus and i cannot receive mail for any domain except the default which is domain1. The following is my sendmail.mc and imapd.conf file