Can I include a variable in I_step = 2 and I_step =3.-urgent

Hi All,
I have a variable which has to get value from another variable.
For this I can write coder under I_Step =2 and make the variable not ready for input.
But I have to allow user also to enter some date.
Please help me in regarding this..

Hi,
let the user enter his date in another variable ready for input. include both vars (the input and the exit) as filter of your char...
hope this helps...
Olivier.

Similar Messages

  • How can I include different DAQ cards (for notebook and PC) in one applicatio​n?

    I want to build one application, which runs on different computers. On PC a DAQ board PCI-6052E and LabVIEW including application builder are installed and work. My program runs.
    Now I want to build an application, which runs on the notebook without LabVIEW but with the similar DQACard-AI-16XE-50, too.
    How I have to install the DAQCard on the notebook and how can I include the driver?

    Sylke,
    Check the following link which guides you step by step to install the driver and configure the daq board:
    http://www.ni.com/support/install/
    Hope this information is helpful.
    L Aguila
    Applications Engineer
    National Instruments

  • How Can i hard code variable at reports in obiee 11g

    Hi
    I created as variable at rpd and using variable i am able to get expected results.
    But i dont want to use variable directly , how can i hard code variable code at report and get same results.
    Can anyone help me on this.
    Thanks

    Not clear what you trying to achieve, try to go thru given info.
    The statement 'select 1 from dual' in init blocks works using connection pool, but the same will not work in report since report understands Presentation Catalog objects.
    In the report your query suppose to be like select 1 from Subject area where someColumn >0
    If helps pls mark

  • How can I include a captivate variable in the URL of the website widget?

    I am using the website widget to bring up some customized content during the course.
    The URL contains a variable which will be different for every user.
    I can't find the option of including a variable in the URL with the widget.
    Has any figured out how to accomplish this?

    I am using Cp8.
    I publish in both swf and html5 formats so that the course functions on all device platforms.
    A swf only solution would preclude IOS since it doesn't support flash.

  • Can i include variable in select into statement?

    Hi all,
    Is it possible to include a variable name in the "select into" statement ? For ex:
    "Select empname into variable_Name from employee" In this case variable_Name is the variable.Will this statement work by assigning empname to variable_Name if there is only one record in the employee table?please reply....c ya.

    Surely you have to? You can hardly SELECT INTO a constant. Perhaps I'm missing something,

  • Can we use session variables in BI publisher's Data Model SQL Query?

    Hi Experts,
    We need to implement Data level security in BI Publisher 11g.
    In OBIEE we do so by using session variables, so just wanted to ask if we can use the same session variables in BI Publisher as well
    ie can we include the where clause in the Data Models SQL Query like
    Where ORG_ID = @{biServer.variables['NQ_SESSION.INV_ORG']}
    Let me know your views on this.
    PS: We are implementing EBS r12 security in BI Publisher.
    Thanks

    Read this -> OBIEE 11g: Error: "[nQSError: 23006] The session variable, NQ_SESSION.LAN_INT, has no value definition." when Creating a SQL Query using the session variable NQ_SESSION.LAN_INT in BI Publisher [ID 1511676.1]
    Follow the ER - BUG:13607750 - NEED TO BE ABLE TO SET A SESSION VARIABLE IN OBIEE AND USE IT IN BI PUBLISHER
    HTH,
    SVS

  • Open URL including a variable

    I want to open a specific URL in Safari which has to be like this: +http://website.com/variableothertext
    where variable is a variable I created before. I tried the action "Obtain specified text", linked to "Show webpage", but I can't figure how to include my variable into the text field of "Obtain specified text", since when I try to drag that variable into it, it simply creates an "Obtain variable value" action.
    What should I do instead?

    Hello Tom!
    Keep it simple and try this:
    Option Explicit
    dim data
    dim maxval
    dim minval
    data = "[1]/[2]"
    maxval=CMax(data)
    minval=CMin(data)
    Matthias
    Matthias Alleweldt
    Project Engineer / Projektingenieur
    Twigeater?  

  • How can I include a carriage return in a expression

    How can I include a carriage return in a expression between text strings eg
    Expression 1 = Text1 & text2 & text3 & text4
    I need to display it as below
    Text1
    Text2
    Text3
    Text4
    adjusting the box the size doesn’t work as the text strings are variable lengths

    Message Edited by Ryan.S on 01-04-2007 08:17 PM
    Ryan Shi
    National Instruments
    Attachments:
    untitled.JPG ‏37 KB

  • How can I include results of a subsequenc​e, which runs in a new thread, in the main sequence test report

    Hi!
    I', m working with TestStand Version 4.2.1. I have a main sequence, which calkls different subsequences. All these steps are properly reported. One of subsequences runs as "new thread". How can I include its results in common test report of the main sequence?
    I have markes variables of the subsequence as it is requred for test report (it works OK if it is not a new thread). If the the numerical test, which is executed in this subsequence is correct, I get no results at all. If the numeric test failed I get somewhere in the main sequence report a "red message", that test failed whithout any reference to the step or values of vaiables which were not correct.
    I tried an option "On the fly" in the Report Configuration , but haven' got any useful results. What shall I do?
    Best regards
    Solved!
    Go to Solution.

    Hi,
    I tried it but without success:
    1) I got a reference to the Thread as "Locals.Step1=RunState.Thread" for every of 2 steps which start a thread
    2) I put both "Waits" after steps with (and without) threads, at the same place, where they were before
    3) The sequence run OK, but when it came to Wait for Thread 1 it waited for ever, I had to terminate sequence
    Does it mean, that I got a false reference (suppose No - please, have a look at attached pic)?
    Or does it mean, that Waits are badly placed in the sequence (threads are already terminated)? Here is a pic of sequeces calls with Wait after them.
    Regards
    Attachments:
    Thread.JPG ‏34 KB
    SequenceCall.JPG ‏32 KB

  • Can i include external usb drives in Time Machine backups

    Can I include external usb drives and sticks in Time Machine backups?
    This was the question I searched a week for. My machine is a MBAir with Yosemite. I have a bunch of USB HD and sticks. This is a sharing of what it took to solve. I lost a couple of important document revisions lately because of not having differential backups on them, so wanted to include them in Time Machine.
    Yes it can, I found. But it's a wee bit backwards. And apparent inconsistencies drive you crazy. Time Machine is supposed to do this by default, and wants you to tell it what NOT to include. Trouble is, formats create many troubles.
    But the USB sticks and HD's you buy are PC formatted. And you'd like to share, as the Apple does with FAT16, FAT32, and exFAT (to overcome the 4G size limit on the others). Even NTFS can be plugged in and be read-only. Turns out you just can't incorporate into TM backups.
    Open Time Machine Options, and look at the drives listed in the exclusion window. Drives that you know to be plugged in and registered by Finder, may or not be registered in the exclusion window, and if registered and their icons may be bright or dimmed. Bright will NOT be included. Dimmed are excluded. Normally the operation is to use the or to exclude these drives from your next BU operation. (this instruction is lost the next time in manual mode). So if a drive or stick is shown and is bright it WON'T be backed up. If you it from the window, then it will grey out and WILL be backed up. If it's not there to offer you exclusion, you can browse to such a file or device so you can exclude it. TM's exclusion window will show the PC formats: FAT16, FAT32, and exFAT greyed out (as not included). NTFS is bright looking like it might work, but when    doesn't dim, it disappears, and is ignored in the actual BU.
    Sources are supposed to be included in the backup if it isn't shown bright in the exclusion window. In this respect I only use TM manually, and not for programmed BU's, so I cannot speak to that.
    If everything you have is formatted for the Apple disc system (Mac OS Extended) then there are no contradictions or partial equivalences. The mounted disc or stick will show in TM exclusions window, and if you it, you'll see it in the Time Machine pile of calendared directories, with all the files. And of course it will do the differential backups for it that we use TM for in the first place. Just remember to prepare the BU by not excluding.
    BUT NOW THE VARIABLES. It now depends upon the formats. I use the Paragon NTFS program to permit writing NTFS. (Apple can normally read but not write NTFS). Paragon is lovely because for normal computer use, I can read and write both Apple and PC files and disc formats in Finder (for 3 years now). But Time Machine cannot be reached by Paragon so it's NTFS behaviors are outrageous. Paragon reaches Disk Doctor so you can read, write, format and heal both Apple and PC formats. And this really confused things respecting Time Machine. I literally worked through every variable, from stick to disc to prove what did work, and when false appearances of working showed up.
    Respecting that very Time Machine display of Finder windows piled backwards through time there's a confusing bug. When first opened, TM shows NOW as the current setup and works just like a Finder window in present time. And the outboard discs and sticks show as in Finder. BUT working back in time, the left window DOES NOT SHOW THE CONDITIONS AT BACKUP but rather in all left windows shows the present setup. So you need to work from the right hand side dates and times to go back and see when you had that stick or HD plugged in. And then, finally, you will see the files you wanted saved. But if there is a stick on the left than TM doesn't like but Finder likes you'll see it left but nothing will be in the files. Clicking on the pretender just jumps to the root.
    My Disk Doctor provisions (with Paragon) show, Mac OS Extended (Journaled), Mac OS Extended (Case Sensitive Journaled), MS-DOS (FAT), exFAT, Windows NT Filesystem, Windows NT Filesystem (compressed). It's a better utility than in Microsoft and I use it for such maintenance.
    Bottom line, I like TM very much. 2 years ago I lost my air and TM was able to reconstruct my machine many times in the course of the troubleshooting - all the way from the start to the last without ever missing a beat or a file. So I accept this limitation and make copies to another HD formatted in NTFS when I work on PCs.
    Hope's this sorts out being lost in the desert for a few of you.
    Jock
    <Personal Information Edited by Host>

    Storing normal data files on the Time Capsule is unfortunately not as easy as dropping the folder on the Time Capsule.
    Open up Macintosh HD on the Mac
    Look for the SHARED heading on the left
    Click on the Time Capsule icon and a folder named "Data" will appear (unless you have renamed it)
    Double click the "Data" folder to mount the drive on the desktop. You may need to enter the device password for the Time Capsule when you do this the first time
    Once the drive icon is on the desktop, you can drag data to the icon and drop it there. Double click the icon to open up the drive and see the files

  • Can operations on volatile variables be reordered

    Hi everybody,
    I am reading "Java Threads 3rd edition"(Oreilly). The book covers J2SE1.5 so it must also cover thread programming in the new JMM.
    In chapter5 at "The effect of reodering statements", there is an example code as shown below.
    public int currentScore, totalScore, finalScore;
    public void resetScore(boolean done){
      totalScore += currentScore;
      if(done){
         finalScore = totalScore;
         currentScore = 0;
    public int getFinalScore(){
      if(currentScore == 0)
         return finalScore;
      return -1;
    }Then the author explain that this can be a problem if JVM decide to do some reordering.
    Thread1: Update total score
    Thread1: Set currentScore == 0
    Thread2: See if currentScore == 0
    Thread2: Return finalScore
    Thread1: Update finalScore
    Then the author state that
    *"It doesn't make any different whether the variables are defined as volatile: statements that include volatile variables can be reordered just like any other statements"*
    As far as I know, if the currentScore is volatile then JMM must guarantee the happens-before relationship. If the second thread see the update of currentScore then the write to finalScore must happens before the write to currentScore and the second thread should return the correct value of finalScore.
    Do I misunderstand something?
    Regards,
    Chatchai Chailuecha
    www.devguli.com

    It used to be that volatile variable access only had a happens-before relationship with each other, but other non-volatile variable accesses could be re-ordered. Under the new JMM, volatile variable access is similar to synchronization, in that everything done before the write to a volatile variable is guaranteed to be visible to a thread that later does a read of that volatile variable. A volatile variable access can be thought of as a barrier across which instructions can not be reordered. So I think the author's statement is wrong under the new JMM.
    More here: http://www.ibm.com/developerworks/library/j-jtp03304/#2.0

  • Dbx: Can't evaluate local variables in optimized functions

    I turned on the optimization for the whole product. Now I found that I can not print the local variables declared in side the main funciton or inside the function locals.
    eg.
    int factorial (int n)
    int factorial = 1;
    while (n > 1)
    factorial *= n--;
    return factorial;
    When I tried to print n or factorial, I would not able to do so...
    Is there any way can I get the local variables printed?
    Is there any compiler options to overcome this problem and printing the local variables...
    I know this is an difficult question becuase the locals go to Register instead of memory. By reverting it back to memory, I may loose the efficiency I gained with this optimizations.
    options : -fast -xtarget=ultra3 -xarch=v8plusa -g0
    Please let me know....
    #include <iostream>
    #include <string>
    #include <unistd.h>
    #include <stdio.h>
    using namespace std;
    int main(int argc, char **argv)
    FILE *fp=freopen("myfile.txt","w",stdout);
    int bytes_read;
    char buffer[10000];
    std::cout<<"##This should be 0 15238.0.172435 written in to the 1 file with out any HICK-UPs"<<endl;
    FILE *myfp=fopen("myfile.txt","r");
    cerr<<"This goes to std error file"<<endl;
    fseek(myfp, 0, SEEK_END);
    int len = ftell(myfp);
    fseek(myfp, 0, SEEK_SET);
    fread(buffer,len,1,myfp);
    fclose(myfp);
    fclose(fp);
    string mystring(buffer);
    std::string::size_type location=mystring.find("15238.0.172435",0);
    std::string::size_type location1=mystring.find("116530640358374636",0);
    if(location != std::string::npos )
    cerr<<"Buffer Read that is read from file inside the if condition \n<\n"<<buffer<<"\n>"<<endl;
    if(location1 != std::string::npos )
    cerr<<"Buffer Read that is read from file inside the if condition and location1 \n<\n"<<buffer<<"\n>"<<endl;
    remove("myfile.txt");
    return 0;
    stopped in main (optimized) at line 8 in file "fileex.cc"
    8 int main(int argc, char **argv)
    (dbx) cont
    This goes to std error file
    stopped in main (optimized) at line 27 in file "fileex.cc"
    27 int len = ftell(myfp);
    (dbx) print len
    dbx: Can't evaluate local variables in optimized functions

    Dbx typically cannot show auto variables in optimized code. The reason is that the variables typically do not have a stable location, or might be eliminated altogether. Similarly, source code lines don't have a stable relationship to object code. The debug data emitted by Sun compilers is not enough to keep track of these issues.
    We plan to provide better debugging of optimized code in a future release.
    Dbx can show the value returned from a function, which in your case might be enough.

  • Can we include payload also in the alerts?

    hi all,
    when can have the container objects such as sender service,reciever service ,Sender namespace,Receiver namespace,Sender interface,Receiver interface etc.
    My doubt is that can we have the error message payload included in this alert,so that there would be no necessity to get into trace.kindly clarify.
    regards
    madhu

    Hi Madhulatha,
    The other variables you have mentioned are the container variables which are expected to contain these values and which is finite. A payload can get as bigger as it can. May be thats the reason they did not have any container variable for that. Probably if you are using BPM for triggering alert, you can use java mapping to get the payload and use it as you want..
    VJ

  • How can I share Pin variable between two packages?

    Hi every one,
    Is there any one who knows how can I share Pin variable that it is defined with OwnerPin between two packages in java card( with eclipse 3.1),I studied Sharing Interface subject and I knows it teorical but I can not do it practical .
    I can share primitive data type but I can not share Ownerpin.
    If anybody has some sample codes or knows any link ,please inform me.
    My code is same as below:
    //In Server Side
    package ginaPack;
    import javacard.framework.*;
    public class GinaApplet extends Applet implements GinaInterface{
    OwnerPIN pin;
    private GinaApplet (byte[] bArray,short bOffset,byte bLength) {
        pin =new OwnerPIN(PIN_TRY_LIMIT,MAX_PIN_SIZE);
              byte PinTemp[] = new byte[4];
              PinTemp[0] = (byte) 0x31;
              PinTemp[1] = (byte) 0x31;
              PinTemp[2] = (byte) 0x31;
              PinTemp[3] = (byte) 0x31;
              pin.update(PinTemp, (short) (0), (byte) PinTemp.length);       
        public Shareable getShareableInterfaceObject(AID clientAID,byte parameter)
              return  this;
        public OwnerPIN getPinShareable()
             return pin;         
         public void process(APDU apdu)
                      //there are some codes in this here
    }//Interface in Server side
    public interface GinaInterface extends Shareable
          public OwnerPIN getPinShareable();
    }//In Client side
    import ginaPack.*;
    public class UserCardApplet extends Applet {
    private UserCardApplet(byte[] bArray, short bOffset, byte bLength) {
         //there are some codes in this here
    public boolean select() {
              final byte[] Gina_AID={(byte)0x47,(byte)0x69,(byte)0x6e,(byte)0x61,(byte)0x41,(byte)0x70,(byte)0x70,(byte)0x6c,(byte)0x65,(byte)0x74};
              AID GinaAID = JCSystem.lookupAID( Gina_AID, ( short )0,( byte )Gina_AID.length );
              if ( GinaAID == null ) // probably not loaded on card
                        ISOException.throwIt( ISO7816.SW_FUNC_NOT_SUPPORTED );//6a 80
              GinaInterface ff = (GinaInterface) JCSystem.getAppletShareableInterfaceObject(GinaAID,(byte)0);
              if( ff == null )
                   ISOException.throwIt((short)0x0903);
    if ( ff.getPinShareable().getTriesRemaining()== 0 ) return false;
    }My problem is in this line :
    "if ( ff.getPinShareable().getTriesRemaining()== 0 ) return false; "when I select my applet this line throw an exception, ff.getPinshareable includes all of OwnerPin methods(such as getTriesRemaining ,check ,reset, update ,...)but all of them throw exception .
    I think firewal does not allow other packages uses this methods .If my guess is right then what should I do for sharing the variables that they are defined with non primitive data type such as (OwnerPin,Signature,...)
    I'd appriciated for any help.
    yours sincerely,
    Orchid.
    Message was edited by:
    NewOrchid

    Applet 1:
    package com.package1;
    import javacard.framework.*;
    public class Applet1 extends Applet {
        private static final byte tryLimit  = (byte)3;
        private static byte[] pinBytes = {(byte)1, (byte)7, (byte)4, (byte)5, (byte)2};
        private Library1 lib;
        protected Applet1(byte bArray[], short bOffset, byte bLength) throws PINException {
            lib= new Library1(tryLimit, (byte)pinBytes.length);
            lib.update(pinBytes, (short)0, (byte)pinBytes.length);
            register();
        public static void install(byte[] bArray, short bOffset, byte bLength) {
            new Applet1(bArray, bOffset, bLength);
        public void process(APDU apdu) {
            byte status=(byte)0;
            lib.resetAndUnblock();
            if (!(lib instanceof Shareable)) status += (byte)2;
            if (!(lib instanceof MyPIN)) status += (byte)4;
            ISOException.throwIt(Util.makeShort((byte)0x90, status)); // sw indicates tries remaining
        public Shareable getShareableInterfaceObject(AID cltAID, byte parm) {
            return lib;
    }Library1:
    package com.package1;
    import javacard.framework.OwnerPIN;
    import javacard.framework.PINException;
    public class Library1 extends OwnerPIN implements Interface1{
        public Library1(byte tryLimit, byte maxPINSize) throws PINException {
            super(tryLimit, maxPINSize);
    }Interface1:
    package com.package1;
    import javacard.framework.PIN;
    import javacard.framework.Shareable;
    public interface Interface1 extends Shareable {
        boolean check(byte[] pin, short offset, byte length);
        byte getTriesRemaining();
        boolean isValidated();
        void reset();
    }Applet2:
    package com.package2;
    import javacard.framework.*;
    import com.package1;
    public class Applet2 extends Applet {
        private final static byte CLA_TEST = (byte)0x80;  
        private final static byte INS_TEST = (byte)0x20;
        private final static byte P1_AUTHORIZE = (byte)0x00;
        private final static byte P1_DOIT = (byte)0x01;
        private final static byte P1_CHECK_SIO = (byte)0x0a;
        private Interface1 sio;
        protected Applet2(byte bArray[], short bOffset, byte bLength) {
            register();
        public static void install(byte[] bArray, short bOffset, byte bLength) {
            new Applet2(bArray, bOffset, bLength);
        public void process(APDU apdu) {
         byte[] buffer = apdu.getBuffer();
            if ((buffer[ISO7816.OFFSET_CLA] == CLA_TEST) ||
                (buffer[ISO7816.OFFSET_CLA] == ISO7816.CLA_ISO7816)) {
                short bytesReceived = apdu.setIncomingAndReceive();
                switch (buffer[ISO7816.OFFSET_INS]) {
                case ISO7816.INS_SELECT:
                    if (!JCSystem.getAID().equals(buffer, ISO7816.OFFSET_CDATA, buffer[ISO7816.OFFSET_LC]))
                        ISOException.throwIt(ISO7816.SW_APPLET_SELECT_FAILED);
                    sio = (Library1)JCSystem.getAppletShareableInterfaceObject(JCSystem.lookupAID(<fill in parameters>);
                    if (sio == null)
                        ISOException.throwIt(ISO7816.SW_CONDITIONS_NOT_SATISFIED);            
                    break;
                case INS_TEST:
                    switch (buffer[ISO7816.OFFSET_P1]) {
                    case P1_AUTHORIZE:
                        if (!sio.isValidated()) {
                            if(!sio.check(buffer, ISO7816.OFFSET_CDATA, buffer[ISO7816.OFFSET_LC]))
                                ISOException.throwIt(Util.makeShort((byte)0x9A, sio.getTriesRemaining()));
                        break;
                    case P1_DOIT:
                        if (!sio.isValidated())
                            ISOException.throwIt(ISO7816.SW_SECURITY_STATUS_NOT_SATISFIED);
                        sio.reset();
                        ISOException.throwIt(Util.makeShort((byte)0x9A, sio.getTriesRemaining()));                
                        break;
                    default:
                        ISOException.throwIt(ISO7816.SW_INCORRECT_P1P2);                   
                    break;
                default:
                    ISOException.throwIt(ISO7816.SW_INS_NOT_SUPPORTED);
            else {
                ISOException.throwIt(ISO7816.SW_CLA_NOT_SUPPORTED);
    }1. Upload package1
    2. Install Applet1
    3. Select Applet1
    4. Upload package2
    5. Install Applet2
    6. Select Applet2

  • I want to set a variable with default value and can be changed by the user

    hi,
    i want to set a variable with default value and can be changed by the user, so i new a variable with setting : customer exit, single value, optional, ready for input.
    in my customer exit code, i set a default value, eg. 20070530
    when the variable screen popup, it display the default value 20070530, i changed it to 20070529, but it doesn't work , it still display the data in 20070530, how can i solve this problem? 
    your help is appreciated.

    Liu,
       As mentioned by Anil, you need to restrict your customerr Exit code to I_STEP = 1.
    or.
       <u>Open your Variable in change mode, in the Last Page os the Variable Maintenance you can provide default value. Note: you are doing same thing in Customer Exit. In your case no need of Customer Exit.</u>
    Nagesh Ganisetti.
    Assign points if it helps.

Maybe you are looking for

  • Error while updating data in DB2

    Hi, I am working on SOA 11 g.Trying to update data in table of DB2 by using DB adapter. But I am getting following error, *[OWLS][DB2 JDBC Driver][DB2]Character data, right truncation occurred; for example, an update or insert value is a string that

  • Connect SAP R/3 and BW to Crystal Reports

    Hello,   I am trying to connect crystal reports to SAP R/3 and BW I have installed the SAP XI Integration for SAP solutions kit. I have zipped all the files to a folder on my local machine. What do I need to do now to make this work? If anyone can gi

  • Reverse Engineer / Import Selected Objects

    Hello All,      I am new to ODI tool and trying to understand, how to reverse engineer / import selected objects? I am unable to do this. For instance, I have 10 tables in database, I want to import/reverse engineer 3 of them, how do I this in one go

  • Contact Groups not updating

    So I recently set up a few groups of contacts in my MobileMe account. The usual friends, family, businesses, etc. I had "push" set to on and the next day I checked my contact groups on my phone. I could see the groups listed, but when I opened any gr

  • Accidentally Deleted iPhoto and now can't find on app store

    Accidentally deleted my iPhoto app, and now I can't find it back on app store and not sure why. background info: china internet with VPN connection (LA server) china app store account is it because where i am? thanks for helping!