Understanding variables

We had an ODI developer that setup a complete logging framework for ODI, custom application and PLSQL packages. The developer is no longer with our company and I have been tasks with supporting his work. I won't explain the entire logging framework as it is complex, but I will explain enough to hopefully help understand my problem.
Basically, for each project, he setup 3 project variables as:
1. V_Job_Name - holds a static value used to lookup the name of the job on the Oracle Logging schema
2. N_Job_Run_ID - a number supplied by the logging framework that is passed along all steps in the package. This basically value is passed back to the logging framework with each "log message"
3. N_Run_Step_ID - similare to N_Job_Run_ID, except for each individual step.
This framework has worked flawlessly until I decide to add a second Package to an existing Project. Now I have two Packages that are using the same variables and when I set the static value of V_Job_Name in Package 1 and I open Package 2, the value is persisted to the second package. The inverse of this happens as well. It appears to me that each package actually shares one instance of the variable instead of each having its own copy.
I need to find a way for each Package to set its own default value for the V_Job_Name as each package represents a different job.  Is this possible and am I using the variables wrong?
I could actually get around this if there was a function that I could call in a step that would return the name of the current running Package, but when I asked this in another thread, I was told it was not possible.
Thanks,
Kevin

Hi Kevin,
It is possible to have the name of current package, just use the ODI function: <%=odiRef.getSession("SESS_NAME")%>
If that work doesn't work for you, we can figure out something to solve your problem... Don't worry, always there is a solution!

Similar Messages

  • Trying to understand variables in Edge Animate

    I am writing ALL my code in the document.compositionReady window and have a few questions.
    1. I am trying to understand the use of sym.setVariable() vs using the var keyword. It seems that if I declare
    var myVar = "test" then the variable myVar is available in all my functions further down the code. So when would I use sym.setVariable("myVar","test")?
    2. Since I am writing all my code on document.compositionReady is it possible to edit the code in Dreamweaver. (I like the find and collapse functions in DW). I tried opening the edgeActions.js file and making some edits but they did not seem to always work.
    3. Back to variables. If I define a variable within a function by using the var keyword, it seems to only be available within that function. Is that true? How do I define a variable in a function that is available globally?
    4. Clearly I am mixing javascript, jquery and edgeAnimate API in my code. Is that ok? I am making my animations work but concerned that I am not doing this efficiently/effectively.
    Thanks for any tips, advice, comments.

    Hi, Marlene-
    #2: You should be able to use any editor to edit the edgeActions.js file.
    #1,3: Variables can be declared for local scope (within the function) and attached to various scopes within the composition.  I tend to use variables attached to various symbols to maintain state within that particular scope.  For instance, in the floral sample file, I attached the game score to the game board symbol so that when it was destroyed and recreated, it would reinitialize to 0.
    http://html.adobe.com/edge/animate/showcase.html
    #4: That should be fine.
    Hope that helps answer some of your questions!
    -Elaine

  • Trouble Understanding variables

    I am committed to learning A3, but HOLY CRAP!! I have never
    been a programmer, just a lowly designer. Apparently a pretty dumb
    designer! :)
    I can breeze through this in AS2 with no problem, but AS3 is
    killin' me! I am trying to create a music player that will embed in
    a web page, it will be XML driven and the XML will be populated via
    a database and generated by PHP. I am using a listbox component to
    display the playlist (from the XMLfile). I have figured out how to
    start playing the first mp3 on the list.
    Now when the user click a different button, I can get that
    song to play also, but I ended up created a second sound object, so
    the two play at the same time. Not good. I have tried and tried to
    access the object that is playing the first sound so I can stop it
    and load a new sound into it - I am about to pull my hair out!
    I seem to missing a basic understanding of how to access this
    object and change the variable value so I can play a new song. Any
    help would be GREATLY appreciated!!

    Vern,
    > If I understand correctly: any variable I am going to
    use outside
    > of the function that assigns its value needs to be
    declared OUTSIDE
    > of that function first?
    Yes.
    > Once declared it can be used anywhere, but if it isn't
    declared
    > outside, then the value is stuck inside that function.
    Is that correct?
    Close. In fact, if you're coding in the main timeline,
    you're so close,
    you could arguably define it in those terms and be fine.
    Variables (and
    functions) are available to the scope in which they're
    declared. If you
    declare a variable in the main timeline, then that variable
    is available in
    that frame and any subsequent frame of that timeline.
    Depending on the
    circumstances of your FLA, the main timeline may indeed feel
    like
    "everywhere," to the point where the variable could be said
    to be used
    "anywhere" -- but it's really not much different from the
    restriction a
    variable feels when declared inside a function; it's just
    that the whole
    movie takes place inside that "function"/FLA/SWF.
    > If I got that right, then for my scrubber, I need to set
    up some
    > variables that hold SoundChannel.position, Sound.length,
    > MovieClip.position
    > THEN create a function which assigns values and
    calculate the
    > MovieClip.position
    Yes. That way, any number of functions can use those
    variables. But
    keep in mind, all you really need are variables that point to
    your instances
    of Sound, SoundChannel, and MovieClip. Then use those
    variables to
    reference the necessary properties of those classes. (In
    other words, no
    need to make a mySound variable *and* a mySoundLength
    variable: the mySound
    variable suffices, because it leads to the Sound.length
    property as simply
    as mySound.length.)
    > I never liked how clunky onEnterFrame could is. I assume
    the Timer
    > class is a bit more streamlined?
    It's just another tool in the toolbox. :) Timer is the
    recommended new
    version of setInterval() and setTimeout() combined.
    > I am so used to _root.movieClip.variable=foo; (I mean
    the easy
    > access to any variable from anywhere) but change is
    good, I like
    > change. Change is good.
    I like change in my pocket! ;) The thing about an expression
    like
    _root.movieClip.variable is that you could often just
    reference the variable
    anyway, without the need for the "_root" reference. AS3 has
    root (no
    underscore), which behaves in many ways like _root, but dig
    into that a bit
    ... you'll find some important differences.
    > So it sounds as if, to include the loadbar within all of
    this, then I need
    > to move the playHead along the width of the loadbar, not
    a set length
    > in pixels.
    You could do a set length, but it's much more flexible if
    you use the
    width of some other object, like a track or some other movie
    clip. If you
    go with the width of some object, you can *change* the width
    of that object
    and the code still works.
    > The drag part should be easy enough, but adjusting the
    actual audio
    > from that may give some fits!
    To derive volume, you'll take the position of the draggable
    knob along
    its track and divide that by the width of the track. Assume
    you have a
    ridiculously long volume track, 500px. The volume knob has
    been dragged
    halfway across, to 250px. 250 / 500 is 0.5, which is the AS3
    way of
    specifying 50% volume. Now imagine the track is 50px wide.
    The knob has
    been dragged all the way across (to 50px). 50 / 50 is 1,
    which is 100%
    volume. And so on.
    > But here is my real question about that, will it be OK
    to try and add
    > that functionality in once the actual playHead is
    working, or is
    > that a mistake to not include it from the beginning?
    Ehh, for something like this -- especially if you're
    teaching yourself
    and involved in a learning experience -- I'd say it doesn't
    matter one way
    or the other. Take small steps and master each step. Sooner
    or later, what
    you're doing will "click" for you, and after that, you'll
    find that you can
    add or remove features as you please.
    David Stiller
    Adobe Community Expert
    Dev blog,
    http://www.quip.net/blog/
    "Luck is the residue of good design."

  • Not understanding variables correctly

    Hello All
    I am having trouble with my variables. How do I int or double them with out giving them a value?
    public static int monthPop( int bRate, int dRate, int numberMonths, int bunnyThresh, int bunnyStart, int tables )
    int growRate, counter, result;
    double bunNew, bunOld, popNew,  popOld;
    counter = 1;
    if(tables == 1)
         System.out.println("Month\t\t\tBunnies");
         while(counter <= numberMonths)
              bunOld = bunnyStart / bunnyThresh;
              bunNew = bunOld + growRate * bunOld * ( 1 - bunOld);
              popNew = bunNew * bunnyThresh;
              int outcome = (int)population;
              System.out.println( counter + "\t\t\t" + outcome );
              counter = counter + 1;
    else
         while(counter <= numberMonths)
              bunOld = bunnyStart / bunnyThresh;
              bunNew = bunOld + growRate * bunOld * ( 1 - bunOld);
              popNew = bunNew * bunnyThresh;
              counter = counter + 1;
         int outcome = (int)population;
         System.out.println( "\n\n\n" );
         System.out.println( "So after " + numberMonths + " month(s), the " +
         "     population would be " + outcome + " bunnies." );
    return counter;
    }So this sub program get fed 6 variables and I am trying to run the program and I get errors for popNew variable not being initialized and the build fails. I am not sure what I am doing wrong and would love to get some help if possible. it is much appreciated.
    So I am trying to use a formula
    bunNew = bunOld + growRate * bunOld * ( 1 - bunOld)
    where
    bunNew is relative population ending of the month
    bunOld is relative population beginning of the month
    popNew is the actual number of bunnies at the end of the month
    popOld is the actual number of bunnies at the beginning of the month
    bunnyThresh is the threshold of the bunny ranch.
    growRate is equal to bRate - dRate
    So again I am not sure what is going on based on my code. I think everything looks good, but again I am new and taking java programing class.
    So any and all help is much appreciated.
    thanks
    ed
    Edited by: Uprvrndn on Jan 27, 2008 5:49 AM

    Ok did some revising of the code
    public static int monthPop( int bRate, int dRate, int numberMonths, int bunnyThresh, int bunnyStart, int tables )
              int counter, result;
              double bNew, bOld, pNew,  pOld, growRate;
              pOld = bunnyStart;
              bOld = pOld / bunnyThresh;
              counter = 1;
              growRate = bRate - dRate;
              System.out.println(pOld + "  " + bOld + "  " +
               growRate + "  \n\n\n");
              if(tables == 1)
                   System.out.println("Month\t\t\tBunnies");
                   while(counter <= numberMonths)
                        bNew = bOld + growRate * bOld * ( 1 - bOld);
                        pNew = bNew * bunnyThresh;
                        bOld = pNew;
                        int outcome = (int)pNew;
                        System.out.println( counter + "\t\t\t" + outcome );
                        System.out.println( counter + "\t\t\t" + pNew );
                        counter++;
              else
                   while(counter <= numberMonths)
                        bNew = bOld + growRate * bOld * ( 1 - bOld);
                        pNew = bNew * bunnyThresh;
                        bOld = pNew;
                        counter++;
                   int outcome = (int)pNew;
                   System.out.println( "\n\n\n" );
                   System.out.println( "So after " + numberMonths + " month(s), the " +
                   "     population would be " + outcome + " bunnies." );
              return counter;
         }I get the follow error and I quote:
    edmac:Program2 erose$ javac Program2.java
    Program2.java:180: variable pNew might not have been initialized
                   int outcome = (int)pNew;
    ^
    1 error
    edmac:Program2 erose$
    Also because I am trying to show a table of a month to month I started at 1 instead of 0. So month 1 would be the starting point. Month 0 would be the initial when the farm was first established.

  • Variable declaration in the custom tag

    Hey,
    I am using JSP2.0 to write a custom tag. and I need to declare a script variable in my tag so that it can be referenced in a jsp file. At the beginning, I used name-given and my tag works as it supposed to do. But I don't like to make the variable name hard-coded in my tag so that I changed name-given to name-from-attribute as folllows:
    <jsp:directive.variable name-from-attribute="var" alias="local" variable-class="java.util.ArrayList" scope="AT_END"/>
    <jsp:scriptlet>
    out.println(local.getClass().getName());
    </jsp:scriptlet>     
    According to my understanding, variable "local" should be able to be referenced in my tag file and when the tag created in a jsp file
    <tags:myTag var="myTest" />
    the variable myTest should be able to be referenced in this jsp file too. But whenever I try this in jsp: out.println(myTest.getClass().getName());
    I always got this error" myTest cannot be resolved"
    I am totally stuck here. Someone could please give me some hints? thanks a lot!

    Do you have a getter method to match that property?
    Post some example code - what does your tld define for this property, and what get/set methods have you defined for it?

  • Get File name from incoming IDoc

    HI All,
    I am in an IDOC to File scenario using Fcc. (R/3 --> XI --> 3rd party)
    I need to use the  idoc-number(EDI_DC40-Docnum) as my output file name. I planned using variable substitution but there it expects me to get the idoc number from payload which I do not have it in. (refer c ode below)
    As I understand, variable substitution can be used only on payload(the FINAL data set that we will be writing to the file).
    Can we use the data which is part of incoming IDOC and not part of payload(final data what we are writing to file).??
    Other idea was to map this IDOC no to a field in final file, but this field should not be written in the output file, so am confused about how to achieve this.
    E.g
    *Incoming Data*
    IDOC
      |_EDI_DC40
        |_DOCNUM
    Final data (Payload)
    Header
    Data
    Trailer
    As seen in my example above I do not have the IDOC no in the final data so how do I use the Idoc no as my filename? Apprecaite your help on same.
    Regards
    Shirin

    Hi
    You can use dynamic configuration to get the file name .
    Use Adapter Specific Message Attributes for the target Comm Chanel check the indicator for filename in the advanced tab of CC
    create a UDF with i/p as file name  i.e the Idocnum field and
    paste this code
    DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    //conf.removeAll();
    DynamicConfigurationKey key = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File","FileName");
    //String filename= conf.get(key);
    conf.put(key, fileName);
    key= null;
    return fileName;
    PS: use cache as value in UDF
    ands assign the o/p of this UDF to a root node

  • Confused about a sample program

    Here's and example from a book I'm reading on Java. It's about the new keyword, but I was wondering what the "StringTokenize st1, st2 does" I know StringTokenizer is a class. Is it creating two new instances of StringTokenizer? If so, then why use 'new' for each instance?
    import. java.tuil.StringTokenizer;
    class TokenTester {
         public static void main(String[] arguments) {
              StringTokenizer st1, st2;
              String quote1 = "VIZY 3 -1/16";
              st1 = new String Tokenizer (quote1);
              System.out.println ("Token 1: " + st1.nextToken ());
              System.out.println ("Token 2: " + st1.nextToken ());
              System.out.println ("Token 3: " + st1.nextToken ());
              String quote2 = "NPLI@9 27/32@3/32";
              st2 = new String Tokenizer (quote2, "@");
              System.out.println ("Token 1: " + st2.nextToken ());
              System.out.println ("Token 2: " + st2.nextToken ());
              System.out.println ("Token 3: " + st2.nextToken ());
    }

    Straitsfan wrote:
    Thanks. I'm just starting out, and so far the only declarations of variables I've come across in the examples are for primitive data types and strings, characters, etc. I was a little unfamiliar with the idea of using a class to declare a variable.Read this: http://www.javaranch.com/campfire/StoryCups.jsp It will seriously help you understand variables
    I'm trying to understand the API documents, but I'm still learning and having a tough time doing it -- unfamiliar with a lot of the terms/concepts still.Keep at it, it make sense eventually
    By the way, I'm getting a lot of emails for posts that I didn't write -- I've added my topics to my watch list, but I just want the topics I've posted to be forwarded to me. Is there a way to fix this?Um, check over there -> in forum settings

  • Code register??? (Sry for double topic post)

    Ok, here is my "problem"
    I have read 2 huge manuals + half a book for teaching java.
    I do understand variables, oo programing etc... , and I know how the coding works.
    The only problem I have is to find a code register, where you got all the basic and most important codes, where the function is explained in side of each code.
    I have find allot manuals, but no code register. Does it exist any code register I can look at, or is the only way to search for all the codes and functions in the manuals?
    Edited by: Boffel on Feb 25, 2008 2:55 PM

    Thanks so much for helping with this, Nubz!
    Joerg's instructions are excellent. I refer to them often and I've had them bookmarked since I found Apple Discussions last year. The new Code section is great!! Very clear!
    Now we just need to find a way to get users to that page. Our problem has never been with users who are interested enough in Apple Discussions to visit the Tips Library. The unformatted code is coming from first-time users--not necessarily novice coders, but programmers of all skill levels who aren't coming here to learn about the forums or relate to the community. These folks are focused on their current project, may have found no answers anywhere else, and arrive here with tunnel vision. Often there's a language problem as well.
    The newly arrived OP will often start the thread with a page of unformatted code. Those of us with eyes used to filling in the missing brackets, indentation etc. can sometimes decypher the mess, but usually we need to give formatting instructions and ask the OP to repost. The frequency of this scenario has been increasing. Lately I've been posting those instructions almost once every day.
    Of course that's a good sign! We've been giving good service down there and the number of newcomers seems to be reflecting that. A big percentage have turned into regulars, so I think we have a very healthy forum. It's just the formatting cycle gets old, and the time and bytes add up too.
    My suggestion is this:
    One yellow moderator announcement that stays in the first position on the topic page for both dev forums. The subject line is:
    To format code: Paste your code here
    The user doesn't even need to open the message. Only developers will see this. No change to the page header is needed. If the user does open the message, a link will be provided to Joerg's tips.
    - Ray

  • Good Books on AS3 specifically?

    Im getting around pretty good in flash but on the AS3 side of things Im just starting to recognize bits and pieces of what the code is doing. I understand variables functions, event handlers ect but I am having the hardest time learning to think in code I think part of that is I still dont totally understand the stucture, classes and potential sequences. I guess my question is for reccomendations books, videos websites regarding AS3 specifically that will help me think in code better beyond just knowing the basic functions, arrays, variables etc.
    Thanks!

    For ActionScript 3.0 specifically I would recommend 'Essential ActionScript 3.0' by Colin Moock.
    The Adobe TV website is a fairly useful source for video based learning material -
    http://tv.adobe.com/product/flash/
    Michael James Williams has a blog based tutorial for learning important elements of as3, with an end project forming a Simple Avoider Game, he also provides help throughout the chapters. Very good tutorial.
    http://gamedev.michaeljameswilliams.com/2008/09/17/avoider-game-tutorial-1/

  • Understanding complex query with selections(customer exit variables)

    Hi experts,
    I am trying to understand one query having  a combination of selections and BEx variables in it.
    In Characteristic Restrictions panel of Query Designer:
    we have some CHARs restricted by means of authorisation variables
    In Default Values panel:
    some other CHARs without any filters
    In free CHARS panel
    some characteristics
    In Rows panel:
    some more chars that were placed in Default values panel
    In Columns panel:
    Formula YTD on selection YTD
    Formula Monthly on selection Monthly
    Selection on YTD characteristic(hidden)
    Selection on Monthly characteristic(hidden)
    Selection XX(in definition,I saw selection on YTD Keyfigure and a characteristic variable VAR1(i-step=1) filled with customer exit..this variable picks up right version of Master Data...our system has many versions of master data,one for each year)
    Selection YY(in definition,I saw selection on Monthly key figure and the same characteristic variable VAR1 we used in Selection XX)
    When I execute this..I see one variable popup which asks for values for year and version of master data...I enter master data version for that year and the year....I see the result...
    Now I tried to experiment to learn...I deleted Selection XX and Selection YY and tried to execute....a variable popup asking for year...I enter year and tried to execute..it throws message---'Value for variable VAR2 cannot be determined'......
    I couldnot understand this error because VAR2 is a customer exit characteristic variable defined in CMOD...ITS NEVER USED IN THIS QUERY...but defined in CMOD to pick up correct version of Master data..its defined in such a way that it picks value depending upon VAR1 varaible....both variables function is same...its just that  VAR1 works on i_step=1 and VAR2 works on i_step=2 plus dependent on VAR1....
    Can anyone understand why I am seeing error about VAR2 when its never used in Query....??
    Thanks for your inputs....

    Hi Vikram,
    I am unable to find VAR2 anywhere in query designer....Can it be like that its hidden?
    Thanks and Rgds,
    SChand

  • Trying To Understand Pattern in Variable of Type Double

    Does any one know what could have caused the following strange pattern? Focus on finding the sequence 1211
    -2.9164014687882487
    3.1835985312117456
    -2.51640146878826
    -20.216401468788252
    2.5835985312117393
    -11.716401468788257
    3.483598531211757
    1.8835985312117554
    11.383598531211748
    -1.216401468788253
    I would like to understand the reason for the pattern. Here's how each number comes about:
    1. From a txt file pull two digit precision numbers i.e., 2.01, 3.65, 4.94 etc.
    2. Subtract two of these and divide by another number of the same precision.
    3. Assign the result to a double variable called result.
    4. printout the result
    I suspect that I am just catching some junk after the two digits and somehow that junk is mostly consistent -probably pointing at the same memory location or something like that. Still I would like to understand this a little better.
    Also, note that sequence 1211 consistently shows up in positive numbers while the sequence 8788 shows up consistently in negative numbers.
    Any feedback appreciated.

    It's not leftover junk in memory locations or anything like that. Java isn't that stupid. It's more likely to be something to do with the number you are dividing by.
    For example if you always divided by 3 (a simple example), your result would eventually go "...33333" or "...66666". This isn't a fluke or a bug, it's just something about the number 3.

  • Fixed and variable prices of an activity type understanding

    Hi,
    To my understanding the fixed portion of the price will not be multiplied by the quantity and the variable price will be. However, i tested the cost estimates and it looks like both the fixed price and variable price is summed up together to get the total price and this total price is multiplied with the quantity.
    In this case what is the purpose of having fixed price and variable price in the activity type?

    Fixed price, is the fixed costs - I usually see it in relation to Overhead..
    Fixed costs remain, whether you manufacutre or not.
    Say you are deciding whether to out-source an assembly,  If you outsource, VARIABLE cost will be saved, Material, labor for that assembly, Overhead representing fringes for that labor, the electricity to run that specific machine.  However, you will still have fixed costs of: Management Salary (although some of that can be variable); insurance on the building; heating and cooling for the building; realestate taxes.
    If the cost to make "in house" is 150 each and the vendor is going to charge you 100, thi is only a true saving if your fixed costs are less than 50.
    SAP allows you to separate fixed and variable costs so that you do make/buy analysis, budgeting, etc
    Hope this helps
    Edited by: Althea Madigan on May 12, 2010 2:11 PM

  • Please help me understand making and loading variable classes

    Hi guys ,
    I know that I am stupid but I just can't get this!  AS3 says you need to load variables into a class?  Please please give me a simple example
    my variables look like this... (the whole point of playing around with variables was that if I had to make a change I could access one place and change them...
    but now I realse that I can't access or call them outside the movie clip they are in:(
    please hlep me!
    var ans1="";
    var ans2="";
    var w1="ABN";
    var def1="An ABN (Australian Business Number), is a personal number for your business that makes it easier and quicker to deal with  government and other businesses.";
    var w2="ACN";
    var def2="An ACN is an Australian Company Number, which is a special number that each company gets to identify it.  No two companies can have the same ACN";
    var w3="Action Plan";
    var def3="A business Action Plan will show What needs to be done and When it needs to be done by."
    var w4="Advertising";
    var def4="Advertising is producing information to let people know about your business and try to increase sales."
    var w5="Promotions";
    var def5="Promotions are where your business tries to increase the sales of a particular item through offering a good deal, advertising or a special display.";
    var w6="Benefit";
    var def6="A benefit is something good that you get.  One benefit of doing exercise is getting fit, another benefit is losing weight.";
    var w7="Business Mentor";
    var def7="A business mentor is a trusted guide. Someone who has experience and has been successful in business and can help and advise you.";
    var w8="Business Name";
    var def8="A Business name is the name a business uses to do its work.  It lets customers know who you are.";
    var w9="Business Registration";
    var def9="When you start a business you need to register your ABN, you may need to register your business name.";
    var w10="Cash flow";
    var def10="Cash Flow for a business is having enough cash saved to be able to pay your bills when they are due.";
    var w11="Characteristic";
    var def11="The characteristics of something are describing words about that thing.";
    var w12="Charges";
    var def12="A charge is something you have to pay, an expense.";
    var w13="Company";
    var def13="Is the same as a corporation. A company is a type of business that needs to be registered (either State or Federal) and has special legal status.  A company can put Pty. Ltd after it’s business name.";
    var w14="Competitor";
    var def14="A competitor is another business that is challenging you for customers.";
    var w15="Constitution";
    var def15="A constitution in business is a list of rules and principles that a company has agreed to follow.";
    var w16="Corporations Aboriginal and Torres Strait Islander Act";
    var def16="In the 1960s and 1970s, various reviews advised the Australian Government of the need for legislation to make it easier for Indigenous communities and organisations to form corporations. As a result, the ACA Act was passed, allowing Aboriginal and Torres Strait Islander groups to form corporations for any social or economic purpose.";
    var w17="Corporations Act";
    var def17="The Australian Securities and Investments Commission (ASIC) have laws that apply to corporations and these are found in the Corporations Act.";
    var w18="Cultural knowledge";
    var def18="Cultural knowledge is special information that is held by a particular cultural group, this could include technologies (e.g. special ways of using materials, making and using tools), stories, language and song, cultural rules, taboos, regulations and oral history.";
    var w19="Customer";
    var def19="The customer is someone who is buying something from a business.";
    var w20="Debt";
    var def20="Is something that you have to pay back. If you borrow 20 dollars you have a $20 debt.";
    var w21="Direct competitor";
    var def21="Is selling exactly the same thing as your business and competing for your customers.";
    var w22="Dividend";
    var def22="A dividend is money that is paid to shareholders regularly out of the company’s profits.";
    var w23="(Microsoft) Excel";
    var def23="Microsoft Excel is a computer program that lets you keep lists of numbers and also add up totals and do other sums to those numbers.";
    var w24="Fees";
    var def24="A fee is something that you have to pay, an expense.";
    var w25="Financial Management";
    var def25="Financial Management is the planning, organising, checking  and controlling of the income, expenses and Tax for a business.";
    var w26="Franchise";
    var def26="A franchise is a type of business you can buy. When you buy a franchise you set up the same type of business that has been successful somewhere else.";
    var w27="General ledger";
    var def27="A general ledger for a business is where all of the income and expenses for that business are kept in a document.";
    var w28="Goal";
    var def28="A goal is a target that you set yourself or your business.  Something that you want to achieve.";
    var w29="Growth opportunity";
    var def29="A growth opportunity is a chance for a business to get bigger.";
    var w30="GST";
    var def30="The Goods and Services Tax is paid when you buy things. Some items like food and medicine do not have the Goods and Services tax charged to them.";
    var w31="ICN";
    var def31="Indigenous Corporations Number is a special number given each indigenous corporation to identify it. No two indigenous corporations can have the same ICN.";
    var w32="Incorporate";
    var def32="Incorporate is what people do when they create a company or corporation.";
    var w33="Indirect competitor";
    var def33="An indirect competitor is selling a similar product or service to your business.  E.g. If you had a pizza shop, a fried chicken shop is an indirect competitor because it sells food and your customers might want to eat chicken instead of pizza.";
    var w34="Labour";
    var def34="Labour is all the work done by people (including you) in your business.";
    var w35="Legal name";
    var def35="Your Legal Name is the name that is on your Birth Certificate.";
    var w36="Legal protection";
    var def36="Legal protection means you are protected under the law from certain things happening.";
    var w37="Legal structure (business)";
    var def37="Legal structure is the type of business, sole trader, company, partnership.";
    var w38="Liability";
    var def38="A liability is something you are responsible for.";
    var w39="Licence";
    var def39="A license is proof that you have permission to do something.  For example, if you have a driving license you can drive a car.";
    var w40="Lodge";
    var def40="To lodge a form means to send it to where it has to go.";
    var w41="Manufacturing";
    var def41="A manufacturing business makes things.";
    var w42="Marketing budget";
    var def42="A marketing budget is the amount of money you have set aside for advertising and promotion for your business.";
    var w43="Minor criminal convictions";
    var def43="A minor criminal conviction is something small you have been in trouble over with the police.  Shop lifting is an example of a minor criminal conviction. ";
    var w44="MYOB";
    var def44="MYOB is financial management software for business.";
    var w45="Networks";
    var def45="A network for business is all of your contacts, customers and the people you know through doing business. ";
    var w46="Obligations";
    var def46="Obligations are things you are responsible for.";
    var w47="One off";
    var def47="A “one off” cost is something that only needs to be paid for once.";
    var w48="Operating budget";
    var def48="The Operating Budget is a record of the income and expenses of a business.";
    var w49="Overheads";
    var def49="Overheads are the expenses or costs in running your business, the things you have to pay for.";
    var w50="Partnership";
    var def50="A partnership is where two or more people own and run a business.";
    var w51="Permission";
    var def51="Permission is where you ask if you can do something.  If you ask and the person, group or council and they say yes, you have permission.";
    var w52="Permit";
    var def52="A permit is a special license or permission to do something";
    var w53="Personal assets";
    var def53="Personal assets are things that you own, like your car, house and furniture.";
    var w54="Personal protection";
    var def54="Being part of a company offers the shareholders some personal protection from legal and debt liabilities. This means that they have less responsibility than a Sole trader.";
    var w55="Photo identification";
    var def55="Photo Identification is a document that shows who you are and has your photo on it, like a Driver’s License, 18+ card or a passport.";
    var w56="Postal address";
    var def56="Your postal address is the address where you get your mail sent.  It might be different to the address where you live.";
    var w57="Pricing structure";
    var def57="Pricing structure is where prices for something can change depending on how much the customer orders.  The bigger the order the cheaper the price becomes.";
    var w58="Private";
    var def58="Private means not part of government.";
    var w59="Profitable";
    var def59="Profitable means that there is money left over after a business pays for all of its expenses out of the money it has made.";
    var w60="Promote";
    var def60="When you promote something you try to advertise or increase the amount of people who know about it.";
    var w61="Public liability insurance";
    var def61="Public Liability Insurance gives legal protection to the business owner against getting sued by a member of the public for things like injury or property damage. ";
    var w62="Quickbooks";
    var def62="Quickbooks is financial management software for business. ";
    var w63="Registered";
    var def63="Registered means that you have recorded your information on an official list.  You register your car to be able to drive it on the road.";
    var w64="Regulations";
    var def64="Regulations are rules or laws that control what you can and can’t do.";
    var w65="Retail";
    var def65="Retail is where things get sold in small amounts to customers.  Retail usually happens in a shop and the prices are higher.";
    var w66="Service";
    var def66="A Service business provides a service, like lawn mowing or accounting services.";
    var w67="Shareholders";
    var def67="Shareholders are people that own part of a company.";
    var w68="Sole trader";
    var def68="A sole trader is where one person owns and runs a business.";
    var w69="Start up budget";
    var def69="A Start Up Budget is the first Budget that gets done for a starting business and includes all of the costs involved in setting up the business.";
    var w70="strategy";
    var def70="A strategy in business is a plan of attack, or a plan of how to get something done.";
    var w71="system";
    var def71="A system is business is a set of detailed plans and rules for how to do something in your business.";
    var w72="Vision";
    var def72="Vision in business is being able to imagine and see something in the future.  To set up a new business you need to be able to see something new that wasn’t there before.";
    var w73="Wholesale";
    var def73="Wholesale is where things get sold in large amounts, usually for a cheaper price. The Wholesale price. A wholesaler is usually a big shed where goods are stored. Wholesale is not usually available to just anyone.";

    no, that's not a reason you would use a class file.
    anyway, your document class variables are defined on the main timeline so to reference them from any timeline you can use:
    MovieClip(root).w36;  // for example  (but it's really undesirable to have coding in more than one timeline)

  • Trying to understand the PATH variable

    Greetings,
    I read that the PATH variable specifies a set of directories where executable programs are located. But if I use "echo $PATH" in Terminal to view the directories, it does not list the Applications folder or the Downloads folder or any of the other places I have programs. So how to they run?
    Thanks

    The PATH variable is a list of search paths used by a particular shell. Basically, when you enter a command in a command-line context (such as from within Terminal.app), the unix system will search for executables in all of the folders listed in the PATH variable, running the first it finds.
    Apps that are run from the GUI are launched by the launch services daemon, which takes care of all the details of locating and loading executable. Launch services maintains a database of app locations, so it wouldn't need to search along unix PATHs to find what it needs.

  • Can you help me understand Offset on time variable

    Hi,
    1.
    if it prompts for user entries and the user enters Feb/3/06 to Feb/10/06.
    What time period does “Day Interval-1” i.e. with offset of 1 appears on report?
    2.
    What about an offset of +1. Will Feb/3/06 to Feb/10/06 as a user entry lead to reporting on
    Feb/3/06 to Feb/11/06
    or
    Feb/4/06 to Feb/11/06
    3.
    Also, does an offset of -1 on ocalmonth give one day less of the month or one month less of the month?
    4. Similarly, is an offset of +2 on Year, adjusting it by 2 years?
    Thanks

    Hi Edwin,
    now that we are on the same page,
    what if I want to report on data for the period:
    Feb/3/06 to Feb/10/06
    when the user enters Feb/3/06 to Feb/11/06
    i.e. for the Day Interval, I am trying to make the offset only apply to the upper limit.
    Also, to set the Offset, whether I make the Selection "Single values" or "Value Range" I still have only one textbox to enter the off set of -1. Wrere you suggestion that I should have seen one for the lower limit and one for the upper limit?
    I don't want the reported data to be for
    Feb/2/06 to Feb/9/06  i.e. I don't want it to also shift it for the lower limnit.
    Any help will be appreciated.

Maybe you are looking for

  • Very upset/disappointed with terrible attitude and...

    I write this as almost a last resort after almost pulling all my hair out with BT.  I had reported a fault of low speeds to house on the 11th November. I realised after trying to download a file for an update the internet slowed down to almost a dial

  • Errors encountered during perfromance testing

    While doing some stress testing on our WLS server we kept seeing the following errors: 1) NullPointerException on NTSocketMuxer, error log follows: Tue Feb 22 05:08:28 EST 2000:<E> <NTSockMux> failure in processSockets() loop: GetData: fd=16764 numBy

  • How to monitor changes in a directory

    Hai I want my program to listen to a directory and monitor changes made. That is , when ever a new file comes in the directory , i need to copy that file to another directory specified. How can i do it ?

  • Unable to open gl period in r12

    Hi All I just finish upgrade my application from 11.5.10 to 12.1.1 I am having some issues that I didnt have any answer for them in metalink. when I make open period for mar-2011 its resulting with error In log file i got this SHRD0079: 4124 record i

  • Dynamic dual select box

    I am sorry that i am asking this question because i have searched this website and forums to get my answer but my problem remains unsolved. The problem is reagrding the dual select boxes which are dependant uopn one another like: A1 is dependant on A