.bas script

I have a netbasic (.bas) script that runs on novonyx (NW51SP8) perfectly.
But now I want to migrate to OES2 (NW65sp2) running Apache2. I made some
tests without success "playing" with mod_nsn.conf.
How can I configure Apache2 to run .bas scripts like Novonyx does?
Thanks in advance,
Renato Crochik

Hi Renato,
"Renato" <[email protected]> wrote in news:8_1Sj.8755$Dh4.6996
@kovat.provo.novell.com:
> I have installed Novell Script for Netware without success.
>
> This is the error message:
>
> Sub [MAIN] Line [1] Col [1] Abs [11]
> LOCAL Unknown Command or Function INTP
> Error running script TROCASENHA.BAS([])
well, that sounds more like a prob of the script itself which has nothing to
do with serving *.bas scripts through Apache in first place ....
so first please check with a simple script if your Apache setup is working;
f.e. try this one:
http://www.gknw.net/nscript/asp/env.asp
if this works then *.bas works too;
just put it into sys:/nsn/web and then call it from browser with:
http://your.server/nsn/env.asp
now try to find out what's wrong with your script; for that launch from
console 'nsnshell' which opens a NScript shell prompt; put your bas script
into sys:/nsn/user, then try to call it from the nscript prompt with the
script name (the .bas extension is optional, and not needed):
TROCASENHA.BAS
try to find out what the INTP function is for, and what might provide it;
see also the docu for NScript:
http://developer.novell.com/document...ipt/index.html
HTH, Gnter.

Similar Messages

  • Has any one wrote a bas script to find google wacks?

    im just watching dave gormans googlewach adventure and i was thinking that this would be perfect for a bash script. has any one tried doing this ?
    wordlist=/path/to/word/list
    word1=head -n $random $worklist tail -n 1
    word2=head -n $random $worklist tail -n 1
    curl http://www.google.co.uk/search?source=ig&hl=en&rlz=&=&q=$word1+$word2 > google.cach
    if grep "Results 1 - 1" google.cache
    then goto 1
    else
    echo google wach found $word1 $word2
    fi
    so far all i have is this not proper syntax, just mental planing
    Last edited by markp1989 (2009-04-29 23:34:46)

    Procyon wrote:
    Planning to do a million google searches? I don't think they will like that.
    Anyway, you can get a random item with word1=$(sort -R "$wordlist" | head -n 1)
    And you can look at a rendered google page like this:
    curl -s -A 'Mozilla/4.0' 'http://www.google.co.uk/search?source=i … &rlz=&=&q='"$word1+$word2" | html2text -ascii -nobs -style compact -width 80
    You have to grep that for "1 out of 1 result", but I don't know what the string is, try this with an actual googlewhack:
    curl -s -A 'Mozilla/4.0' 'http://www.google.co.uk/search?source=i … ooglewhack' | html2text -ascii -nobs -style compact -width 80 | grep Results
    After you get the grep, you can use grep -q and then if .......... | grep -q ........; then echo got a result for $word1 $word2; fi
    EDIT:
    And you might as well exchange the html2text command with just: tr '=' '\n'
    EDIT2:
    If you're going to make a new post, make a new post...
    #!/bin/bash
    wordlist=/home/mark/wordlist.txt
    word1=$(sort -R "$wordlist" | head -n 1)
    word2=$(sort -R "$wordlist" | head -n 1)
    curl -s -A 'Mozilla/4.0' 'http://www.google.co.uk/search?source=ig&hl=en&rlz=&=&q=$word1+$word2' | html2text -ascii -nobs -style compact -width 80 > google.cache
    if grep -qw "Results 1 - 1" google.cache; then
    echo google wack found
    echo $word1
    echo $word2
    else
    echo $word1
    echo $word2
    echo is not a google wack
    grep Results google.cache
    echo waiting 30 seconds and trying again
    sleep 30; /home/mark/google.wack
    fi
    so far all that happens with this is that curl searches google for $word1 and $word2 how can i get curl to use the exports?
    Thanks Markp1989

  • VB Script Problems with Windows Vista Ultimate

    I have iTunes 7.0.2.16 and when i try to update it i keep getting a message that says:
    "iTunes could not be installed becasue visual basic script (VB Script) is not installed or has been disabled. make sure VB Script is installed, turn off script blocking in anti-virus and personal firewall software, re-register VB Script, then install iTunes."
    I even get this message when i try to unistall iTunes. I completly uninstalled my antivirus software and removed all firewalls, but i wasnt able to fix the problem.
    I visited the iTunes and QuickTime for Windows cannot be installed without Visual Base Script (VBScript) section for help, however, it was unable to solve my problem.
    I currently have Windows Vista Ultimate and have been looking for a fix for a while now...any help would be greatly appreciated...
    thanks
      Other OS   Windows Vista Ultimate
      Other OS   Windows Vista Ultimate
      Other OS   Windows Vista Ultimate

    Hey rrijeka,
    Unfortunately, Vista is currently not compatible with iTunes.
    This article: http://docs.info.apple.com/article.html?artnum=305042 will tell you more about the iTunes and windows Vista compatability. The article will also be updated when itunes and Vista are compatible.
    Jason

  • Can I search the current set path in a script?

    I have on my machine a folder full of mathscript commands and functions.  This folder is beginning to get quite large and I'd like to be able to clean it up a bit by grouping the files into sub-folders.  For example, I'd like to create the following folders;
    C:\MatrixXTools
    C:\MatrixXTools\StringTools
    C:\MatrixXTools\VariableTools
    Of course, this would be fine if I was to set the path to every folder individually.  What I want to do though, is to set my path manually to C:\MatrixXTools and then put a command in there called 'import'.  The 'import' command would be responsible for searching the current path for a given folder and then adding it to the path when it finds it. So to import the StringTools, I would just call
    import "StringTools"
    All of my base scripts would go into C:/MatrixXTools and then if a script needed to use the StringTools, I could just call the import function.
    The problem I have is that I can't find a command that will return me the path into a string vector.  Is there some way of doing this?  'SHOW PATH' doesn't do what I want it to because it just shows the path and doesn't give me a way of programmatically viewing it.
    Is there a better method of getting everything into sub-folders all together?
    I realise that I could also do this using the startup script, however I have the tools in revision control (svn) so that other people can use them - I don't want to have to get everyone to change their startup script every time I make a new folder - I should be able to do this in the scripts.
    Note: we are still on v62.2 and we are looking into upgrade options.
    Solved!
    Go to Solution.

    You can get the show path output into a string using === operator.
       [showPathStr,] === show path;
    You can break up the showPathStr on the new line characters
    into a string vector using the split function.
    The split function was added in MATRIXx 7.1.9. The split function internally
    uses the index and stringex functions to create the split string vector.
       showPathVector = split(""n",showPathStr);
    If you try out the split function and look at the algorithm you will need to
    download and eval MATRIXx 7.1.9 or higher.
    Also, instead of changing startup.ms everytime you add a tools directory, why not
    have startup.ms execute another script (i.e. execute file = toolsetup.ms) and you
    would only update toolsetup.ms when adding a new tools directory.

  • Solaris 9 - init.d scripts in bash instead of sh

    Hello,
    I have some init.d scripts which are written in bash and they are not working correctly on Solaris 9. I made some researches and it looks like "rc" scripts must be written in bourne shell syntax. Before rewriting my (long) scripts, I would like to ask whether or nit it is possible to "force" the execution of the scripts in bash.
    Thanks in advance for your help,
    Tex.

    SimonJM wrote:
    The system 'knows' when to use stop or start as the script will be called as the run level of the server changes (via the init command, server shutdown, reboot, restart, etc.).
    Your script will physically reside in /etc/init.d but will be referenced (via a link) from the /etc/rc?.d directories - where the ? equates to the run level: /etc/rc2.d for example. If the link starts with an S it is for starting and if it starts with a K it is fro Killing (shutting down). Standards state that teh S or K be followed by two numbers so that the order in which the scripts are executed can be controlled:
    ln -s /etc/init.d/myscript /etc/rc2.d/S34myscript
    as an example, and that will get the system to to append the start parameter on to the call when it enters run level 2 as part of a system startup.
    If you want to run it by hand just call the base script directly: /etc/init.d/myscript startWell .. the reason why the System "knows" it is the /etc/rc? script which contains this piece of code
         for f in /etc/rc3.d/S*; do
              if [ -s $f ]; then
                   case $f in
                        *.sh)     .      $f ;;
                        *)     /sbin/sh $f start ;;
                   esac
              fi
         doneSo yes, it will start all the scripts being linked from the /etc/rc3.d/ directory and here is the point where the system passes the "start" argument. What surprise me is the **.sh* case where the script is not executed but just sourced.
    Tex

  • Writing NetShow comparable script

    I am trying to write perl cgi base script has the same concept like net show and the main reason for that is the out put of the show command to writen to screen instead of file like net show. I don't want to give LMS file access to everyone.so I want everyone else to use this script when they want to to run Cisco IOS commands on multiple devices.
    here is my initial script but I am stack on the middle, hopefully there is some one perl expert on this forum! and  I am really apperciate if some one able indicating my error on attached script! thanks much!!

    thanks much Joe, i have used your suggestion  and I am able to pull information from the device from bowser input. (attached the updated script) the only issue  I have now, some reason the script not pulling information from multiple devices only access one devices at the time. even though i have selected (router -1, 2, 3 and 4) from the list only showing the result of one devices. do you see any thing?? thanks again for your help

  • Peoplesoft HRMSCS 9.0 script did not create database

    Hi :
         i am working on peoplesoft HRMS module and i was install peoplesoft on windows xp  and other software install one by one list given below
         1- oracle 10g on D:\ drive with oracle folder
         2- create database D:\ drive with oradata folder
         3- install BEA Web logic install in C:\ drive
         4- install Tuxedo 9.1 on window install in C:\ drive
         5- install peopletool 8.49 install into D:\ drive PT8.49 folder
         6- install installing peoplesoft  enterprise HRMS and Campus Solution 9.0  same folder where peopletool install
         7- leave the Multi Language because it is optional.
         8-Running DataBase Script ( set data base script as give into manual)
              a-utlspace.sql( run script accordingly given manual)  message showed synonym created Grant succeeded view created  
              b-dbowner.sql(message showed,(ORA-00959) ' PSDefault ' does no exist 
         other remaining script files are in pending, PSDEFAULT  is main that can not create how to create this PSDEFAULT
    Please help me to run theses script
    Thanks
    Samiullah

    Hi hi:
    i run scripts that you given to me but at the end i face this error:
    Tablespace created.
    SQL> REM * Create a tablespace for database users default tablespace.
    SQL> REM *
    SQL> CREATE TABLESPACE       PSDEFAULT
      2  DATAFILE                D:\oradata\HRCS9\psdefault.dbf    SIZE 100M
      3  EXTENT MANAGEMENT LOCAL AUTOALLOCATE
      4  SEGMENT SPACE MANAGEMENT AUTO
      5  ;
    DATAFILE                D:\oradata\HRCS9\psdefault.dbf    SIZE 100M
    ERROR at line 2:
    ORA-02236: invalid file name
    script is run but PSDEFULT not exist.
    this is log file
    Oracle Database 10g CRS Release 10.2.0.1.0 Production Copyright 1996, 2005 Oracle.  All rights reserved.
    2013-07-26 10:56:03.187: [  OCROSD][1916]utgdv:1:could not open registry key SOFTWARE\Oracle\ocr os error The system could not find the environment option that was entered.
    2013-07-26 10:56:03.187: [  OCRRAW][1916]proprinit: Could not open raw device
    2013-07-26 10:56:03.203: [ default][1916]a_init:7!: Backend init unsuccessful : [33]
    2013-07-26 10:56:03.203: [ CSSCLNT][1916]clsssinit: error(33 ) in OCR initialization
    after utlspace.sql script i run dbowner.sql script but this script tell PSDEFAULT not exist...
    SQL> set echo on
    SQL> spool dbowner.log
    SQL>
    SQL> GRANT CONNECT, RESOURCE, DBA TO PS IDENTIFIED BY PS;
    Grant succeeded.
    SQL> CONNECT PS/PS;
    Connected.
    SQL> CREATE TABLE PSDBOWNER (DBNAME VARCHAR2(8) NOT NULL, OWNERID VARCHAR2(8) NOT NULL ) TABLESPACE
    CREATE TABLE PSDBOWNER (DBNAME VARCHAR2(8) NOT NULL, OWNERID VARCHAR2(8) NOT NULL ) TABLESPACE PSDEF
    ERROR at line 1:
    ORA-00959: tablespace 'PSDEFAULT' does not exist
    SQL> CREATE UNIQUE INDEX PS_PSDBOWNER ON PSDBOWNER (DBNAME) TABLESPACE PSDEFAULT;
    CREATE UNIQUE INDEX PS_PSDBOWNER ON PSDBOWNER (DBNAME) TABLESPACE PSDEFAULT
    ERROR at line 1:
    ORA-01775: looping chain of synonyms
    SQL> CREATE PUBLIC SYNONYM PSDBOWNER FOR PSDBOWNER;
    CREATE PUBLIC SYNONYM PSDBOWNER FOR PSDBOWNER
    ERROR at line 1:
    ORA-00955: name is already used by an existing object
    SQL> GRANT SELECT ON PSDBOWNER TO PUBLIC;
    GRANT SELECT ON PSDBOWNER TO PUBLIC
    ERROR at line 1:
    ORA-01775: looping chain of synonyms
    SQL> CONNECT SYSTEM/MANAGER;
    ERROR:
    ORA-01017: invalid username/password; logon denied
    Warning: You are no longer connected to ORACLE.
    SQL> REVOKE CONNECT, RESOURCE, DBA FROM PS;
    SP2-0640: Not connected
    SQL>
    SQL> spool off
    this is dbowner file
    -- ORACLE CONFIDENTIAL.  For authorized use only.  Except for as     
    -- expressly authorized by Oracle, do not disclose, copy, reproduce, 
    -- distribute, or modify.                                            
    set echo on
    spool dbowner.log
    GRANT CONNECT, RESOURCE, DBA TO PS IDENTIFIED BY PS;
    CONNECT PS/PS;
    CREATE TABLE PSDBOWNER (DBNAME VARCHAR2(8) NOT NULL, OWNERID VARCHAR2(8) NOT NULL ) TABLESPACE PSDEFAULT;
    CREATE UNIQUE INDEX PS_PSDBOWNER ON PSDBOWNER (DBNAME) TABLESPACE PSDEFAULT;
    CREATE PUBLIC SYNONYM PSDBOWNER FOR PSDBOWNER;
    GRANT SELECT ON PSDBOWNER TO PUBLIC;
    CONNECT SYSTEM/MANAGER;
    REVOKE CONNECT, RESOURCE, DBA FROM PS;
    spool off
    Please Check it
    Thanks

  • Using a Global Session to find data in an XML file in Repository

    Ok, here is the scenario:
    1. We issue a company iPhone to each Field Sales Rep
    2. Each Sales Rep has an assigned Sales Support Rep in the Contact Center.
    3. When a Sales Rep calls the Contact Center from their company phone, we try to route them to their designated Sales Support Agent (if that Rep is available, if not they go to the Queue and wait for next available Sales Support Agent).
    At first we had all entries in 1 xml file but our Sales Force soon grew larger than we could accomodate in one xml file (my testing found a lookup limit of 121 rows in the xmfl file).
    I changed the script logic to first look at the area code and then do a lookup into one of 3 xml files based on the area code. For example, the first file contained all phones with area codes up to 350, the 2nd file for numbers with area codes from 351 to 700, the 3rd file for numbers with area codes from 701 to 999.
    The problem is that the script utilizes the Create XML Document function to search the xml files. This has resulted in the following condition:
    Error: It is not recommended to update the application as
    Engine heap memory usage exceeded configured threshold
    Do I create a global session for each xml file to hold that file's data?
    Do I just replace the "Create XML Document step with a subflow step to the appropriate global session for each xml file?
    Thanks in advance for help and or clarification.
    The recommended solution is to utilize global session variables to store the contents of the xml files.
    I found the following thread discussing just such a situation:
    https://supportforums.cisco.com/thread/2047722
    I have downloaded Anthony Holloway's global session subscript but I am still unclear exactly how I utilize it in my base script.

    Ok, I just noticed that my initial post comes up somewhat out of sequence. The very last questions I had (after the included graphic) ended up before the graphic. Here are the questions I had:
    Do I create a global session for each xml file to hold that file's data?
    Do I just replace the "Create XML Document" step with a subflow step to the appropriate global session for each xml file?
    Thanks in advance for help and or clarification.

  • Macbook pro vs htc touch diamond pair

    I want to use my diamond as a modem. I've installed it through bluetooth mac utility. Installation was successfull. I've entered valid APN and checked box which enables PPN connection. But when i want to connect, i got error (couldn't connect to device). If I'm using modem utility - i got error that modem isnot responding (It connects, then sends AT command and after that "No response". I've found this error in console.). If I'm trying to connect via bluetooth-><my device name>->connect (I don't know how it exactly sounds,because i'm using non-english version of macos), i got "connected" in status, but after few seconds got disconnected . Also i've tried to connect via System Preferences->Network and also no chances.
    I thought it should work via several clicks! Please help me. Is there any other method to use my smartphone as a modem? If you need more information, i will post it to you here.
    Mac OS X 10.6.2

    26.11.09 13:19:27 pppd[1679] pppd 2.4.2 (Apple version 412) started by v0id, uid 501
    26.11.09 13:19:32 ccl[1680] Apple Base Script.ccl Version 3.3
    26.11.09 13:19:32 ccl[1680] CCLWrite : AT\13
    26.11.09 13:19:32 ccl[1680] CCLMatched : OK\13\10
    26.11.09 13:19:32 ccl[1680] Initializing phone: AT&FE0Q0V1
    26.11.09 13:19:32 ccl[1680] CCLWrite : AT&FE0Q0V1\13
    26.11.09 13:19:33 ccl[1680] CCLMatched : OK\13\10
    26.11.09 13:19:33 ccl[1680] Initializing PDP context: AT+CGDCONT=1,"IP","3g.utel.ua"
    26.11.09 13:19:33 ccl[1680] CCLWrite : AT+CGDCONT=1,"IP","3g.utel.ua"\13
    26.11.09 13:19:33 ccl[1680] CCLMatched : OK\13\10
    *26.11.09 13:19:33 ccl[1680] Dialing: ATD99***1#
    *26.11.09 13:19:33 ccl[1680] CCLWrite : ATD99***1#13
    26.11.09 13:19:33 ccl[1680] Waiting for connection
    26.11.09 13:19:39 ccl[1680] CCLMatched : ERROR\13\10
    26.11.09 13:19:39 ccl[1680] Modem error; the modem is not responding.
    26.11.09 13:19:39 ccl[1680] CCLExit: -6019 (Modem error, modem not responding.)
    26.11.09 13:19:39 pppd[1679] Connect script failed
    pppd is dialing 99**1#, but i need to dial *99#. I set this number in Network->Remote bluetooth. But nothing changing! Even if i enter a random value! So pppd script is not working valid.... Is there any method to change script manually?

  • How to insert multilingual text

    Problem Statement:
    Inserting mutilingual text into a table. English, and other languages with the base script of English is perfectly fine. But what if the script is something like Japanese, Chinese, Korean etc?

    You can't have different colors for different pieces of text. See the Swing tutorial on "General Rules for Using Text Components" for and example of how to do this using a JTextPane:
    http://java.sun.com/docs/books/tutorial/uiswing/components/generaltext.html

  • Struts 2 external js file

    hey,
    I have a problem in invoking methods in an external js file. I'm using struts 2 in eclipse.
    the jsp page is in WEB-INF\jsp\view and the js file is in
    WEB-INF\jsp\view\js\
    Following is my code;
    <%@ page contentType="text/html; charset=utf-8" language="java" import="java.sql.*" errorPage="" %>
    <%@ taglib uri="http://struts.apache.org/tags-html" prefix="html" %>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Untitled Document</title>
    <html:base/>
    <script language="javascript" type="text/javascript" src="js/map.js"></script>
    <body class="oneColElsCtr" onload="init()">but the init() never seems to be invoked!
    I'm new to struts and it would be great if some one can help me
    thanks in advance!

    This is not the Struts problem but rather the location of You js folder. Folder with JavaScript scripts should be placed on the same level as WEB-INF directory. As evanfets said: "Anything under the WEB-INF directory is not directly accessible by the client. Nothing under WEB-INF can be downloaded." When You put your js folder in the same folder as WEB-INF (this is web root) it should work. To import js file use:
    <script type="text/javascript" src="../js/script.js"></script> on the main jsp site (path to script should be considered).

  • How to preserve OSB security settings while deploying a existing project

    Hi ,
    We are deploying OSB projects using ant scripts, But security settings are getting disabled every time we deploy new version project.
    Through console deployment we can preserve those settings , but we need to capture/preserve security settings through ant scripts

    We had used the WLST based import scritps provided by Oracle. These have the options for setting the settings while importing the sbconfig jars.
    There are below methods that you can invoke to set/unset the settings while import.
    > void      setPassphrase(java.lang.String passphrase) Sets the passphrase
    > void      setPreserveExistingAccessControlPolicies(boolean preserveExistingAccessControlPolicies) Sets the value of preserveExistingAccessControlPolicies flag across all import operations.
    > void      setPreserveExistingCredentials(boolean preserveExistingCredentials) Sets the value of preserveExistingCredentials flag across all import operations.
    > void      setPreserveExistingEnvValues(boolean preserveExistingEnvValues) Sets the value of preserveExistingEnvValues flag across all import operations.
    > void      setPreserveExistingOperationalValues(boolean preserveExistingOperationalValues) Sets the value of preserveExistingOperationValues flag across all import operations.
    > void      setPreserveExistingSecurityAndPolicyConfig (boolean preserveExistingSecurityAndPolicyConfig) Sets the value of preserveExistingSecurityAndPolicyConfig flag across all import operations.
    Please refer to http://docs.oracle.com/cd/E13159_01/osb/docs10gr3/javadoc/com/bea/wli/sb/management/importexport/ALSBImportPlan.html for more details.
    There should be similar options for the ANT bases scripts as well.
    Thanks,
    Patrick

  • Cannot Start SI4 After New License

    I have a test drive version of NW 4 running on Suse 9.2 Linux and db2.  It ran fine for 3 months.  Yesterday I installed a new license because the old one expired.  I installed it as root while the db was running.
    This morning, I cannot start sap, because the database won't start.
    The following is the output of R3trans.  Can anyone give me any suggestions on things to try to resolve it?
    4 ETW000 R3trans version 6.09 (release 640 - 28.04.04 - 16:14:00).
    4 ETW000 ===============================================
    4 ETW000
    4 ETW000 date&time   : 30.10.2005 - 07:08:07
    4 ETW000 control file: <no ctrlfile>
    4 ETW000 R3trans was called as follows: R3trans -d -w xx.log
    4 ETW000  trace at level 2 opened for a given file pointer
    4 ETW000  [dev trc     ,00000]  Sun Oct 30 07:08:07 2005                             148  0.000148
    4 ETW000  [dev trc     ,00000]  db_con_init called                                    27  0.000175
    4 ETW000  [dev trc     ,00000]  create_con (con_name=R/3)                             59  0.000234
    4 ETW000  [dev trc     ,00000]  Loading DB library '/usr/sap/SI4/SYS/exe/run/dbdb6slib.so' ...
    4 ETW000                                                                              57  0.000291
    4 ETW000  [dev trc     ,00000]  load shared library (/usr/sap/SI4/SYS/exe/run/dbdb6slib.so), hdl 0
    4 ETW000                                                                           21464  0.021755
    4 ETW000  [dev trc     ,00000]  Library '/usr/sap/SI4/SYS/exe/run/dbdb6slib.so' loaded
    4 ETW000                                                                              59  0.021814
    4 ETW000  [dev trc     ,00000]  function DbSlExpFuns loaded from library /usr/sap/SI4/SYS/exe/run/dbdb6slib.so
    4 ETW000                                                                              59  0.021873
    4 ETW000  [dev trc     ,00000]  Version of '/usr/sap/SI4/SYS/exe/run/dbdb6slib.so' is "640.00", patchlevel (0.7)
    4 ETW000                                                                             137  0.022010
    4 ETW000  [dev trc     ,00000]  function dsql_db_init loaded from library /usr/sap/SI4/SYS/exe/run/dbdb6slib.so
    4 ETW000                                                                              40  0.022050
    4 ETW000  [dev trc     ,00000]  function dbdd_exp_funs loaded from library /usr/sap/SI4/SYS/exe/run/dbdb6slib.so
    4 ETW000                                                                              40  0.022090
    4 ETW000  [dev trc     ,00000]  New connection 0 created                              35  0.022125
    4 ETW000  [dev trc     ,00000]  0: name = R/3, con_id = -000000001 state = DISCONNECTED, perm = YES, reco = NO , con_max = 255, con_opt = 255, occ = NO
    4 ETW000                                                                              45  0.022170
    4 ETW000  [dev trc     ,00000]  db_con_connect (con_name=R/3)                         31  0.022201
    4 ETW000  [dev trc     ,00000]  find_con_by_name found the following connection for reuse:
    4 ETW000                                                                              37  0.022238
    4 ETW000  [dev trc     ,00000]  0: name = R/3, con_id = 000000000 state = DISCONNECTED, perm = YES, reco = NO , con_max = 255, con_opt = 255, occ = NO
    4 ETW000                                                                              39  0.022277
    4 ETW000  [dev trc     ,00000]  RLIMIT_STACK: current=-1, max=-1                     296  0.022573
    4 ETW000  [dev trc     ,00000]  DB6 (DB2 UDB) database interface 640.00 [opt]         31  0.022604
    4 ETW000  [dev trc     ,00000]  DB6 shared library (dbdb6slib) patchlevels            27  0.022631
    4 ETW000  [dev trc     ,00000]    (0.6) DB6: Schema setting for remote monitoring (note 711477)
    4 ETW000                                                                              36  0.022667
    4 ETW000  [dev trc     ,00000]    (0.7) DB6: support DB6_DB_TYPE=DB2/400 (note 663756)
    4 ETW000                                                                              35  0.022702
    4 ETW000  [dev trc     ,00000]    (0.7) DB6: CTE on UNICODE (note 717357)             23  0.022725
    4 ETW000  [dev trc     ,00000]  Supported features:                                   22  0.022747
    4 ETW000  [dev trc     ,00000]    - smart optlevel handling (non-UR, FAE)             32  0.022779
    4 ETW000  [dev trc     ,00000]    - SQLExtendedBind for LOBs and Unicode (V8 or higher)
    4 ETW000                                                                              38  0.022817
    4 ETW000  [dev trc     ,00000]  ..retrieving configuration parameters                 87  0.022904
    4 ETW000  [dev trc     ,00000]  ..done                                               136  0.023040
    4 ETW000  [dev trc     ,00000]  Sun Oct 30 07:08:08 2005                           97739  0.120779
    4 ETW000  [dev trc     ,00000]  *** ERROR in DB6Connect[dbdb6.c, 1497] (BEGIN)        67  0.120846
    4 ETW000  [dev trc     ,00000]  &+***      DbSlConnectDB6( SQLConnect ): [IBM][CLI Driver] SQL1032N  No start database manager command was issued.  SQLSTATE=
    4 ETW000                                                                              46  0.120892
    4 ETW000  [dev trc     ,00000]  &+***      57019                                                                           
    4 ETW000                                                                              37  0.120929
    4 ETW000  [dev trc     ,00000]  &+***                                                                               
    4 ETW000                                                                              36  0.120965
    4 ETW000  [dev trc     ,00000]  &+***                                                                               
    4 ETW000                                                                              37  0.121002
    4 ETW000  [dev trc     ,00000]  &+***      ABAP location info '', 0                                                        
    4 ETW000                                                                              49  0.121051
    4 ETW000  [dev trc     ,00000]  &+***                                                                               
    4 ETW000                                                                              35  0.121086
    4 ETW000  [dev trc     ,00000]  *** ERROR in DB6Connect[dbdb6.c, 1497] (END)          23  0.121109
    4 ETW000  [dbdb6.c     ,00000]  *** ERROR => DbSlConnect to 'SI4' as 'sapsi4' failed
    4 ETW000                                                                             138  0.121247
    2EETW169 no connect possible: "DBMS = DB6                              --- DB2DBDFT = 'SI4'"
    si4host:si4adm 77>
    si4host:si4adm 77> db2admin start
    db2admin: Command not found.
    si4host:si4adm 78> db2admin
    db2admin: Command not found.
    si4host:si4adm 79> db2start
    10/30/2005 07:36:36     0   0   SQL8000N  DB2START processing failed; a valid product license was not found.
    SQL1032N  No start database manager command was issued.  SQLSTATE=57019

    Yes, startsap is the base script, which calls other scripts, R3trans and db2start.
    I didn't have any luck.  I did find an indication on an IBM website that the error message related to the fact that the db2 license had expired.  There is a command called "db2licm" which you can run to update the db2 license, but I couldn't find a license file.
    I wonder if IBM imposes it's own license expiration separate from SAP's, and that IBM require a re-install.  So, I gave up and just re-installed it.  Oh well, re-installing is good practice.
    Sorry I couldn't help you.

  • List alerts meeting Management Pack, Severity, and Priority criteria

    Hello,
    As part of our Management Pack Life Cycle Management Process, I need to identify the alerts meeting the following criteria:
    1.      
    Generated from objects hosted by a specific subset of Management Packs (ex.: Windows Server 2003 & Windows Server 2008 (Monitoring))
    2.      
    With a particular subset of “Severities” (ex.: Severity = Critical | Warning)
    3.      
    With a particular subset of “Priorities” (ex.: Priority = High)
    Alert Views
    Though I can scope an alert view by severity & priority, I cannot scope by source Management Pack. 
    I therefore see alerts from all Management Packs! L
    Alert Report
    Though the Alerts report (under
    Microsoft generic Report Library) allows me to scope by Severity & Priority, here too I cannot scope by source Management Pack.
    I guess ideally, I would either:
    1.      
    Create a new report, allowing me to specify the desired criteria; or
    2.      
    Build & run a SQL statement that would extract the information directly from the database
    The problem is that I haven’t yet gained enough experience with OpsMgr to build either of them.
    Looking forward to hearing from someone,
    Larry

    Hi Larry
    Try the following:
    # Name of Root Management Server
    $RMS="XXXXXXXXXXXXXXXX"
    # Initialise OpsMgr Provider
    write-Host
    write-Host "Executing UpdateAlerts.ps1 ..."
    write-Host
    ## prepare OpsMgr shell
    if ((Get-PSSnapin | Where-Object {$_.Name -eq 'Microsoft.EnterpriseManagement.OperationsManager.Client'}) -eq $null) {
    Write-Host
    Write-Host "File loaded."
    Write-Host "Initializing shell for operations manager..."
    Write-Host "Add Microsoft.EnterpriseManagement.OperationsManager.Client snap in."
    Add-PSSnapin Microsoft.EnterpriseManagement.OperationsManager.Client -ErrorAction SilentlyContinue -ErrorVariable Err
    if ($Err) { $(throw write-Host $Err) }
    if ((Get-ManagementGroupConnection | Where-Object {$_.ManagementServerName -eq $RMS}) -eq $null) {
    Write-Host "Connect to Management Server: $RMS"
    New-ManagementGroupConnection $RMS -ErrorAction SilentlyContinue -ErrorVariable Err
    if ($Err) { $(throw write-Host $Err) }
    if ((Get-PSDrive | Where-Object {$_.Name -eq 'Monitoring'}) -eq $null) {
    Write-Host "Create Monitoring drive from Provider."
    New-PSDrive -Name: Monitoring -PSProvider: OperationsManagerMonitoring -Root: \ -ErrorAction SilentlyContinue -ErrorVariable Err
    if ($Err) { $(throw write-Host $Err) }
    Write-Host "Operations manager shell initialized."
    Write-Host
    Set-Location Monitoring:\$RMS
    # Rules - Alert Name, Severity, Priority, Management Pack
    get-alert -criteria 'PrincipalName is not null and ResolutionState = ''0'' and IsMonitorAlert=''False''' |
    select-object name, Severity, Priority, @{Name="ManagementPack"; Expression={((get-rule $_.monitoringruleid).getmanagementpack()).displayname}} |
    Export-csv c:\temp\listalertsfromrules.csv
    # Monitors - Alert Name, Severity, Priority, Management Pack
    get-alert -criteria 'PrincipalName is not null and ResolutionState = ''0'' and IsMonitorAlert=''True''' |
    select-object name, Severity, Priority, @{Name="ManagementPack"; Expression={((get-monitor $_.problemid).getmanagementpack()).displayname }} |
    Export-csv c:\temp\listalertsfrommonitors.csv
    It works for me (at the moment it lists all alerts with resolution state = 0 but you can change the -criteria clause to amend that). You could also add filters for different priorities and severities and I guess add on date ranges ... but lets check the
    base script works for you first!
    Just a few things you'll need to amend in the script:
    1) The RMS is defined in the second line - you'll need to specify your RMS
    2) I have saved the output to a folder c:\temp - either create such a folder or change the file output path
    Let us know how it goes.
    Cheers
    Graham
    View OpsMgr tips and tricks at
    http://systemcentersolutions.wordpress.com/

  • Display the filed instructions (that´s under IPTC Core metadata).

    Hi all
    I´m new on programing scripts in Photoshop..and tried everything but was not able to change the script below. Let´s explain this script is found at Adobe Photoshop default folder and works to show the Camera Model used to the current image.
    Now..the challenge...I want to change the scripts so when you run the it shows a field called Instructions (that´s located in the IPTC Core XMP metadata Tab. (In Photoshop > open an Image > go to File menu > File Info option and see the IPTC Core Tab > Instruction field).
    Can anyone please help me to change this lines. It could look very simple for you but it´s actually very difficult to me; This base-script is what I have and works fine to display the camera model:
    try {
         var xmpString = activeDocument.xmpMetadata.rawData.toString();
         var tiffModelLength = ('<tiff:Model>').length;
         var tiffModel = xmpString.search( '<tiff:Model>' );
         var tiffModelEnd = xmpString.search( '</tiff:Model>' );
         var tiffModelStr = xmpString.substr( tiffModel + tiffModelLength, tiffModelEnd - tiffModel - tiffModelLength );
         if ( tiffModelStr.length > 0 ) {
              alert( tiffModelStr + localize ( '$$$' ) );
         // check the exif
         var exifModelStr = '';
         var exifData = activeDocument.info.exif;
         for ( var i = 0; i < exifData.length; i++ ) {
              if ( exifData[i][0] == 'Model' ) {
    } // try end
    catch( e ) {
    // always wrap your script with try/catch blocks so you don't stop production
    // remove comments below to see error for debugging
    // alert( e );
    Thank you a lot for any help.
    Gustavo.

    Here is one of X's functions that should give you the information..
    #target photoshop
    var xmp = activeDocument.xmpMetadata.rawData;
    var Instructions = parseMetadata(xmp,"photoshop:Instructions");
    alert(Instructions);
    function parseMetadata(xmp, tag) {
      var re = new RegExp('<' + tag + '>(.+)</' + tag + '>');
      var m = xmp.match(re);
      if (!m) {
        re = new RegExp("<[^:]+:" + tag + ">(.+)</[^:]+:" + tag + '>');
        m = this.xmp.match(re);
      return (m ? m[1] : '');

Maybe you are looking for

  • Blue screen pops and my device restarts. This started happening when I updated it to iOS8. Amy solutions??

    I am facing problems in iPad mini with retina display. The device restarts suddenly by displaying blue screen. It started happening after I updated my device to iOS8. I request you to kindly update the iOS8 or provide some solutions.

  • IPhone 4 -screen freezing

    My iPhone 4 keeps freezing and I can't seem to turn the phone off. How can I resolve this issue?

  • ATV1 not recognized by iTunes (over Wi-Fi)

    Hi guys! My ATV1 is not recognized anymore by iTunes. I tried everything (Apple tips, searched the discussions pages), but had no luck. I even erased the connection and started all over again, only to find the same result. However, the ATV is connect

  • Issues In iOS Needing Updates.

    1. Programs Do Not close completely; when manually exited from, and waste memory resources, as programs are still cached in RAM and re-open at your last position. 2. Safari Browser Does Not Surf In Private, and caches cookies + last viewed Webpages;

  • Unaccounted transactions report

    Hi All, Month end report "unaccounted transactions report" alwasy takes around 5-10 mins to complete but this month it ended first with error and later on it took more than 10 hrs to complete. Does anyone any idea what's causing this to occur. Thanks