Where to get Sequence name for logging into Database?

Hello
I need to create a custom schema for database logging which consists of a table to log Sequence name and its Execution status(Pass|Failed),
this will include the name of sequence along with the sub sequences executed from sequence file.
Please let me know from where i can get a property to access the sequence and sub sequence name.
Regards
Nitin Goel

Thanks for information i hope this will be helpfull but before that i need to know that how do i add a new Column in the statement "SEQUENCE_SEQCALL" which is also present in the Generic Recorset Schema. I tried to make a new schema and copied "SEQUENCE_SEQCALL" statement and then added a new column "Status" with expression "NameOf( RunState.Sequence)" and saved the changes.
On executing the sequence with database logging enabled i get an error, see attached image for the error.
Attachments:
Error.JPG ‏35 KB

Similar Messages

  • Getting group names for a list of IDs

    I've got the list of group IDs of which the user is a member, and I'm trying to get the group names in a single query. I've got it working where I get each name in a loop, but I'm concerned about performance if a user is a member of a large number of groups.
    This is the Java code I've been fooling with:
    Object qFilter[][] = new Object[3][1];Integer ids[] = new Integer[iGroupIDs.length];for (i = 0; i < iGroupIDs.length; i++) { ids[i] = (Integer)iGroupIDs; }
    qFilter[0][0] = new Integer(PT_PROPIDS.PT_PROPID_USERGROUP_GROUPID); qFilter[1][0] = new Integer(PT_FILTEROPS.PT_FILTEROP_IN);qFilter[2][0] = ids;ptQueryResult = objMgrGroups.Query(PT_PROPIDS.PT_PROPID_USERGROUP_SIMPLENAME, -1, PT_PROPIDS.PT_PROPID_USERGROUP_SIMPLENAME, 0,-1,qFilter);
    I keep getting an exception:
    Native exception: The parameter is incorrect. (0x80070057): [ParseQueryFilter error on clause #0
    (0x80070057) Invalid property ID specified (0x10000)] (612,PTDispatch.cpp)
    I'm new to PT programming so I'm a bit stumped as to what is the issue. Any hints anyone can offer is appreciated. Thanks!

    Thanks to everyone - responded.
    This is group set up when creating user. This is standard functionality.
    What we do:
    Step 1.
    Using "Administer" tab in portal, then using "Create new groups" link, We have created various groups. We assigned six digit numeric value to group name. We have several groups, such as 001234, 002235, 003348. These group's have different privilege.
    Step 2.
    Using "Administer" tab, we create new user on a regular basis using "Create new users" link. Later on, we assign these new user to a group created in step 1.
    We have a custom table, where we store, user and their corresponding group information, such as:
    record user name group name date created
    1 aaa 001234 01-02-04
    2 bbb 001234 01-04-04
    3 ccc 002235 01-05-04
    Key in the table is based on both user and group name.
    What I need to find out is, when user 'aaa' logged in, to find out who is the user and what portal group this user belong to.
    Then join these two value to our custom table to make sure to match the user and his group name, and get other value from other table and display in the LOV.
    But I am not sure what API need to use in my query in LOV. Or is there any other way?
    Thanks

  • What's the Default Password for Logging into huawei switches?

    I was wondering if I bought the Huawei switches,
    what’s the Default Password for Logging into them? so many people may have the same question that if bought a Huawei switch, what's the default password for logging into the switch? and maybe different kind of switches have different kind of passwords,
    so maybe all of us wanna know them clearly.
    Here, i'll tell you.
    As for the bootrom default code:
    Huawei S9300 V100R006 and the earlier version is 9300
    Huawei S7700 V100R006 and the earlier version is huawei
    And you can log into
    http://www.huanetwork.com/blog/whats-the-default-password-for-logging-into-huawei-switches/ for more information, really useful.

    Unfortunately your post is off topic as it's not specific to Microsoft Training and Certification.  
    This is a standard response I’ve written in advance to help the many people who post their question in this forum in error, but please don’t ignore it.  The links I provide below will help you determine the right forum to ask your question
    in.
    For technical issues with Microsoft products that you would run into as an end user, please visit the Microsoft Answers forum ( http://answers.microsoft.com ) which has sections for Windows, Hotmail,
    Office, IE, and other products.
    For Technical issues with Microsoft products that you might have as an IT professional (like technical installation issues, or other IT issues), please head to the TechNet Discussion forums at http://social.technet.microsoft.com/forums/en-us, and
    search for your product name.
    For issues with products you might have as a Developer (like how to talk to APIs, what version of software do what, or other developer issues), please head to the MSDN discussion forums at http://social.msdn.microsoft.com/forums/en-us, and
    search for your product or issue.
    If you’re asking a question particularly about one of the Microsoft Dynamics products, a great place to start is here: http://community.dynamics.com/ 
    If you think your issue is related to Microsoft Training and Certification and I've flagged it as Off-topic, I apologise.  Please repost your question and include as much detail as possible about your problem so that someone can assist you further. 
    If you really have no idea where to post your question please visit the Where is the forum for…? forum http://social.msdn.microsoft.com/forums/en-us/whatforum/ 
    When you see answers and helpful posts, please click Vote As Helpful,
    Propose As Answer, and/or Mark As Answer
    Jeff Wharton
    MSysDev (C.Sturt), MDbDsgnMgt (C.Sturt), MCT, MCSE: Data Platform & Business Intelligence
    Blog: Mr. Wharty's Ramblings
    Twitter: @Mr_Wharty
    MC ID:
    Microsoft Transcript

  • HP ePrint from excel add-in: Error while getting driver name for printer

    Trying to use add-in for ePrint from excel/word I get, "error while getting driver name for printer \\...HP DesignJet 800PS 42 by HP," with an option to select "OK" and that same message repeats with each printer in our network, and then it doesn't allow me to print using the add-in. However, I can print normally to HP Go Web, open up Print and Share,  then print it from there. This happens with excel and word. I have Office Suite 2007.

    Hello modameister,
    Sorry you are having issues with this printer and the ePrint add-on.  There are a couple of questions I would like you to answer please.
    1.  What operating system are you using? (XP,VISTA,7,MAC OS X)
    2.  What and how much data are you trying to print?
    3.  Have you tried to copy and paste the data into a different application or tried using the snip it tool?
    4.  Are you receiving any .dll errors (mscms.dll)
    Thanks
    If I have solved your issue, please feel free to provide kudos and make sure you mark this thread as solution provided!
    Although I work for HP, my posts and replies are my own opinion and not those of HP.

  • How to get column names for a specific view in the scheme?

    how to get column names for a specific view in the scheme?
    TIA
    Don't have DD on the wall anymore....

    or this?
    SQL> select text from ALL_VIEWS
      2  where VIEW_NAME
      3  ='EMP_VIEW';
    TEXT
    SELECT empno,ename FROM EMP
    WHERE empno=10

  • Find the sequence name for a particular table

    Hi,
    Please give query to find the sequence name for a particular table in oracle.
    Thanks

    I mean getting List of Sequence names defined in DB.
    I got the answers
    select *from user_sequences                                                                                                                                                                                                               

  • How to get sequence name in run time.

    hi
    I have several sub sequence called in the main sequence in TestStand. Those sub sequences have different sequence names, which i wanted to display by string indicator on the Labview Operator Interface. Is there a simple way to show the current calling sub sequence name during run time(run main).
    thanks.
    Message Edited by Appledoll on 07-12-2007 10:12 AM

    Hi,
    The easiest way is to use the NameOf() function. In this case where you wish to get the name of the current sequence the syntax NameOf(RunState.Sequence) yields the name. I attach a very simple example also.
    Getting the Name of Any TestStand Property Programmatically in TestStand
    Hope this helps
    Pelle S
    District Sales Manager
    National Instruments Sweden
    Attachments:
    Get sequence name.vi ‏15 KB

  • I keep getting ' user not register for online ' when trying to get track names for my CD imports for Windows 7

    I keep getting ' user not register for online ' when trying to get track names for my CD imports for Windows 7 and I'm unable to find a solution.

    I can't be certain exactly which steps are going to be needed in each case, but if you work through this in sequence hopefully one of the steps will prove effective.
    First try this:
    With iTunes closed.
    Press the WinLogoKey+R
    Type in %appdata% and press return
    Double click on Apple Computer
    Double click on iTunes
    Delete the file CD Info.cidb
    Start iTunes and try again.
    If that doesn't work close iTunes and try deleting com.apple.iTunes.Gracenote.plist in the same folder.
    If that doesn't work close iTunes and try deleting iTunesPrefs.xml. This will reset your some of your preferences in iTunes so be sure to check them and reset as required.
    If that still hasn't resolved things close iTunes and try deleting the entire %appdata%\Apple Computer folder or look for parallel files/folders in the C:\Users\<User>\AppData\Local or C:\Users\<User>\AppData\LocalLow in case a corrupt file is persisting there.
    Note that any iOS device backups are stored in the MobileSync folder within Apple Computer. Once things are working you should backup your devices again as soon as possible.
    Or it might not be the preference files after all...
    For general advice see Troubleshooting issues with iTunes for Windows updates.
    The steps in the second box are a guide to removing everything related to iTunes and then rebuilding it which is often a good starting point unless the symptoms indicate a more specific approach. Review the other boxes and the list of support documents further down page in case one of them applies.
    Your library should be unaffected by these steps but there is backup and recovery advice elsewhere in the user tip.
    tt2

  • Any Function module or BAPIs are available to get scheme name for the inter

    I have internal order no value in table  AUFK-AUFNR ,  and the internal order corresponding Scheme value is available in IMPR-PRNAM . Now I want to inner join both the tables to extract the data , but there is no common field . Is there any Function module or BAPIs are available to get scheme name for the internal orders?

    look at DB-VIEW  "V_IVP_OR".
    Regards,
    Laurent

  • Setting privilege level for logging into ASA through ACS

    Hi!,
    In my environment i implemented AAA for logging into switches, routers, asa etc through ACS which is being configured TACACS+.
    I have set different privilege levels like readonly, readwrite etc into ACS. There are working fine when i try to login into switch or router.
    But in ASA i am unable to restrict the privilege levels of different users.
    Can someone plz guide me with ASA & ACS setting to solve this issue!!!!!

    Hi!!
    I tried this option. It is working fine with routers & switches. But for ASA privilege access it is not functioning.
    I created 3 profiles in "Shared Profiles" & added 1 of them in Group setting & added users to this group with mentioning group authentication. This way i am able to control access to the switches & routers with proper privilege. But the same way when i tried to impolement ASA it's not happening.
    Can u plz check it out...

  • Well, I created a new Apple ID and I put money on it, I wanted to sign into ICloud and it wouldn't let me sign in due to the usage of too many Apple IDs created. The point for logging into the ICloud was to save my photos before I reset my phone.

    Well, I created a new Apple ID and I put money on it, I wanted to sign into ICloud and it wouldn't let me sign in due to making too many Apple IDs created. The point for logging into the ICloud was to save my photos before I reset my phone. Is there any way I could fix this? I also want to transfer my money because I think it's a waste to just forget about the $13.75 on my account. Thanks.

    I recently created a new apple ID
    Bad idea.
    Content bought with an Apple ID is forever associated with that Apple ID. Apple will not transfer content from one Apple ID to another and Apple will not merge Apple IDs. Unless you are prepared to forfeit all the previously purchased content and buy it all again with the new Apple ID, you will need to maintain the old ID to update and redownload your content.

  • Structuring accounts for logging into servers (advice)

    Hi All,
    I have a domain with computers and users (standard setup). What I am wondering, how do you structure accounts that are for logging into the servers?
    For example, I could create a group in AD with users and call this group "Local Admins", and add this group to all servers via GP.
    Or I could use the Managed By attribute on AD?
    What's the best approach?

    Hi,
    Based on my research, the “Manage by” tab is only informational, we still need to delegate control to the user/group so that it has appropriate access permissions on the object.
    Here is related link below I suggest you refer to:
    "Managed By"
    http://social.technet.microsoft.com/Forums/windowsserver/en-US/287526e4-c28c-4967-8a15-02b4d0f00807/managed-by?forum=winserverDS
    Best Regards,
    Amy Wang

  • Is there a Virtual keyboard for logging into online accounts securely?

    Does OS X offer a Virtual keyboard for logging into online accounts safely and securely? (bank accounts and email accounts and other membership accounts)
    If not, does anyone know of such a program designed for OS X?
    Thank you.

    That worked. Thank you.
    System Prefs >
    International button >
    Input Menu Tab >
    Choose "Show Input Menu in Menu Bar" checkbox >
    Choose "Keyboard Viewer" checkbox >
    Close System Prefs >
    Chose "Show Keyboard Viewer" in Menu Bar of USA Flag

  • I cant get the names for music on mediasource for my zen to

    I cant seem to get any names for my music on mediasource. I went and did the Gracenote CDDB thing but all that I can seem to get is a a thing that says Socket open failed. Does anybody know what that means and how can I fix it's
    Thanks!

    You can try reregistering the Gracenote DLLs, as described in the Zen FAQ at Nomadness.net.
    Alternati'vely try installing a program that also uses Gracenote to see if that works.

  • Need help with log4j logging tool (org.apache.log4j.*) to log into database

    Hi,
    I need help with log4j logging tool (org.apache.log4j.*) to log into database using JDBCAppender. Have look at my logger code and corresponding log4j.properties file stated below. I'm running this program using Eclipse IDE and it's giving me the following error (highlighted in red) at the end:
    log4j: Parsing for [root] with value=[debug, stdout, Roll, CRSDBAPPENDER].
    log4j: Level token is [debug].
    log4j: Category root set to DEBUG
    log4j: Parsing appender named "stdout".
    log4j: Parsing layout options for "stdout".
    log4j: Setting property [conversionPattern] to [%x %d{HH:mm:ss,SSS} %5p [%t] (%c:%-4L %M) - %m%n].
    log4j: End of parsing for "stdout".
    log4j: Parsed "stdout" options.
    log4j: Parsing appender named "Roll".
    log4j: Parsing layout options for "Roll".
    log4j: Setting property [conversionPattern] to [%x %d{yyyy.MM.dd HH:mm:ss,SSS} %5p [%t] (%c:%-4L %M) - %m%n].
    log4j: End of parsing for "Roll".
    log4j: Setting property [file] to [HelloWorld.log].
    log4j: Setting property [maxBackupIndex] to [10].
    log4j: Setting property [maxFileSize] to [20KB].
    log4j: setFile called: HelloWorld.log, true
    log4j: setFile ended
    log4j: Parsed "Roll" options.
    log4j: Parsing appender named "CRSDBAPPENDER".
    {color:#ff0000}
    Can't find class HelloWorld{color}
    import org.apache.log4j.*;
    public class HelloWorld {
    static Logger log = Logger.getLogger(HelloWorld.class.getName());
    public static void main(String[] args) {
    try{
    // Now, try a few logging methods
    MDC.put("myComputerName", "Ravinder");
    MDC.put("crsServerName", "ARNDEV01");
    log.debug("Start of main()");
    log.info("Just testing a log message with priority set to INFO");
    log.warn("Just testing a log message with priority set to WARN");
    log.error("Just testing a log message with priority set to ERROR");
    log.fatal("Just testing a log message with priority set to FATAL");
    catch(Exception e){
    e.printStackTrace();
    ------------------------- log4j.properties file ------------------------------
    #### Use three appenders - log to console, file and database
    log4j.rootCategory=debug, stdout, Roll, CRSDBAPPENDER
    log4j.debug=true
    # Print only messages of priority WARN or higher for your category
    # log4j.category.your.category.name=WARN
    # Specifically inherit the priority level
    # log4j.category.your.category.name=INHERITED
    #### stdout - First appender writes to console
    log4j.appender.stdout=org.apache.log4j.ConsoleAppender
    log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
    log4j.appender.stdout.layout.ConversionPattern=%x %d{HH:mm:ss,SSS} %5p [%t] (%c:%-4L %M) - %m%n
    #### Roll - Second appender writes to a file
    log4j.appender.Roll=org.apache.log4j.RollingFileAppender
    ##log4j.appender.Roll.File=${InstanceName}.log
    log4j.appender.Roll.File=HelloWorld.log
    log4j.appender.Roll.MaxFileSize=20KB
    log4j.appender.Roll.MaxBackupIndex=10
    log4j.appender.Roll.layout=org.apache.log4j.PatternLayout
    log4j.appender.Roll.layout.ConversionPattern=%x %d{yyyy.MM.dd HH:mm:ss,SSS} %5p [%t] (%c:%-4L %M) - %m%n
    #### CRSDBAPPENDER - third appender writes to the database
    log4j.appender.CRSDBAPPENDER=org.apache.log4j.jdbc.JDBCAppender
    log4j.appender.CRSDBAPPENDER.Driver=net.sourceforge.jtds.jdbc.Driver
    log4j.appender.CRSDBAPPENDER.URL=jdbc:jtds:sqlserver:/arncorp15:1433;DatabaseName=LOG
    log4j.appender.CRSDBAPPENDER.USER=sa
    log4j.appender.CRSDBAPPENDER.PASSWORD=p8ss3doff
    log4j.appender.CRSDBAPPENDER.layout=org.apache.log4j.PatternLayout
    log4j.appender.CRSDBAPPENDER.sql=INSERT INTO LOG (computername, crsservername, logtime, loglevel, threadname, filename, linenumber, logtext) VALUES ('%X{myComputerName}', '%X{crsServerName}', '%d{dd MMM yyyy HH:mm:ss,SSS}', '%p', '%t', '%F', '%L', '%m')
    #log4j.appender.CRSDBAPPENDER.sql=INSERT INTO LOG(COMPUTERNAME,CRSSERVERNAME,LOGTIME,LOGLEVEL,THREADNAME,FILENAME,LINENUMBER,LOGTEXT) select host_name(),'${CRSServerName}${InstanceName}','%d','%5p','%t','%F','%L','%m%n'
    #log4j.appender.CRSDBAPPENDER.sql=INSERT INTO LOG (computername, crsservername, logtime, loglevel, threadname, filename, linenumber, logtext) VALUES ("%X{myComputerName}", "%X{crsServerName}", "%d{dd MMM yyyy HH:mm:ss,SSS}", "%p", "%t", "%F", "%L", "%m")
    ------------------------------- end of log4j.properties file ------------------------------
    Here is the directory structure of my program. My log4j.properties file and HelloWorld.class file are residing in folder HelloWorld\bin.
    HelloWorld\bin
    HelloWorld\lib
    HelloWorld\src
    Please note - The same program works fine for console and file appender when I comment the database appender part in my properties file.
    Thanks
    Ravinder

    try this :
    log4j.appender.PROJECT.Append=false

Maybe you are looking for

  • Which control surface do you use, would like to use or have used for audio?

    I am shopping control surfaces for mixing audio in Premiere Pro CC. I am buying used so I would sure like to get it right the first time. I am looking for feedback from those who have used a control surface as well as those who have just looked aroun

  • Weird problem; image in iPhoto and library, but finder won't find?

    Okay, so I have 2 open issues, i believe both stemming from Aperture somehow. Long story short, Aperture made all of these referenced copies and placed them in a random folder on my HD. See thread here: http://discussions.apple.com/thread.jspa?thread

  • Display on Asus screen under windows distorted

    Hi there, I have just bought an Asus VW222U screen and connected it to my MacBook Pro. On the Macbook I am running Mac and Windows. On the Mac platform the picture on the Asus is fine but not on the Windows platform. Everything displayed on the Asus

  • My IMEI can not be found?

    Hey there, im new to this so please bare with me. I recently got an iphone 4S from Canada, that was brought over to Australia by my cousin. Im with 3/VODA and i went on the website to unlock the iphone but it says that my IMEI cannot me found and tha

  • New to CC...Lr won't run.

    I installed LR and PS about a week ago using CC.  Both worked just fine.  Now LR won't run when I click on it, although PS runs without problem.