Modifying the script to include multiple domains

Hi,
The below script will start the servers by connecting to node manager for a particular domain. How can I modify the below script to include multiple servers which are from multiple domains.
from java.util import Properties
from java.io import FileInputStream
from java.io import File
from string import split
def carryFileProperties(serverName) :
print 'carrying properties of: ' + serverName
#properties file to be loaded
myProps = Properties()
#load properties file
myProps.load(FileInputStream(File(serverName)))
return myProps
def serversList(fileProperties):
print 'selecting servers from the properties'
servers = []
properties = fileProperties.propertyNames()
while properties.hasMoreElements():
key = properties.nextElement()
element = split(key, '_')
if element[0] == 'SERVER':
servers.append(key)
print'LIST OF servers to initialize'
for server in servers:
print 'Server ==>> ' + fileProperties.get(server)
return servers
def startInstance():
user = fileProperties.get('USER_ADM')
passwd = fileProperties.get('USER_ADM_PASSWD')
nmIP = fileProperties.get('NODEMANAGER_IP')
nmPort = fileProperties.get('NODEMANAGER_PORT')
domainName = fileProperties.get('DOMAIN_NAME')
domainDirectory = fileProperties.get('DOMAIN_DIRECTORY')
nmConnect(user,passwd, nmIP, nmPort, domainName, domainDirectory, 'plain', 'true')
for server in servers:
print 'requesting the server startup ' + fileProperties.get(server)
nmStart(fileProperties.get(server), domainDirectory)
fileProperties = carryFileProperties('servers.properties')
servers = serversList(fileProperties)
startInstance()
below is the properties file
NODEMANAGER_IP=localhost
NODEMANAGER_PORT=5559
DOMAIN_NAME=base_domain
DOMAIN_DIRECTORY=/opt/weblogic/base_domain/
USER_ADM=weblogic
USER_ADM_PASSWD=weblogic
SERVER_1=managedServer1
SERVER_2=managedServer2
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

I was able to answer myself

Similar Messages

  • Powershell script to add multiple domains to a transport rule

    I have a transport rule in Exchange 2013 that I created in the EAC (mail flow>rules).  it is set so *Apply this rule if.. the sender's domain is..  and then I entered a few domains.
    I want to use a powershell script to enter multiple domains into the senderdomainis parameter using the set-transportrule.  I would like to do this from a csv input file.  The file has  header row of domains and then the domains are listed
    under it.  This is also used successfully in a script that does content and sender id filter additions.
    I tried the following:
    $allowed = import-csv c:\temp\allowed.csv
    $Rule=get-transportrule "safe domain List"
    $Senderdomains =$rule.senderdomainis
    foreach($row in $allowed)
    $Senderdomains +=$row.domain
    #Set-Transportrule "Safe Domain List" -senderdomainis $Senderdomains
    It just adds a long line of all the domains mashed together without separation.
    Any ideas would be helpful.
    Thanks.

    This isn't the most elegant solution, but I was able to accomplish it with this script:
    $allowed = import-csv c:\temp\allowed.csv
    $domains=Get-TransportRule "Safe Domain List" | select -ExpandProperty senderdomainis
    foreach ($a in $allowed)
    $domains += $a.domain
    $domainstoadd = $domains | select -Unique
    Set-TransportRule "Safe Domain List" -SenderDomainIs $domainstoadd
    It's key to note that the column in the CSV file has a heading of "Domain". Basically the script pulls the existing array into a variable so you can add values from the CSV to the array. This creates duplicates,
    so the "Select -Unique" is a quick and easy way to eliminate the duplicates.

  • How to modify the scripts

    hi,
    any body could u help me regarding "how to modify the scripts?
    how to  add disclaimer terms in footer window? that is not connected in stand program?
    give any realtime seniro with screen -shot .
    give one realtime seniro  plz.
    i will be waiting for reply.
    regards,
    eswar.

    Hi,
    go to SE71 T code
    enter the std script, display
    from the second page Copy the script to the ZSCRIPT with EN as lang
    and do the modifications in that Zscript and that has to be attached in the NACE t code for the related Output type and Driver program.
    for example
    for PO MEDRUCK is the std Script Copy it to ZMEDRUCK and do the changes.
    then in NACE select the output type NEU and attache it to SAPFM05P program and remove the MEDRUCK and keep ZMEDRUCK.
    reward if useful
    Regards

  • Ruined my contacts with Apple Script, need someone to help me modify the script to undo what I did!

    Hi all, so all my contacts started with "+1". The goal was to erase the "+" and just have all of them start with "1". However, I messed up royally. I ran the following script, which made all my contacts start with "1+1". :
    tell application "Contacts"
              repeat with eachPerson in people
                        repeat with eachNumber in phones of eachPerson
                                  set theNum to (get value of eachNumber)
                                  if (theNum starts with "1+") then
                                            set value of eachNumber to "1" & theNum
                                  end if
                        end repeat
              end repeat
    save
    end tell
    This is messed up in 2 ways. Firstly, I meant to write "+1" in the script, but instead I wrote "1+". Secondly, even if I had written "1+", it still wouldn't make sense, because I'd effectively be telling the program to just add "1" in front of what's already there, including the "+1".
    Could someone please tell me how to modify this script to say:
    If the contact starts with "1+1", then erase the "1+1". Then I would need another script to take all my numbers and add "1" in front of them.

    What you want to do is simply delete the first few characters from the phone number, yes?
    How about something like this:
                             repeat with eachNumber in phones of eachPerson
                                            set theNum to (get value of eachNumber) as string
                                            if (theNum starts with "1+1") then
                     set myFixedNum to (characters 3 thru -1) of theNum
                                            else if (theNum starts with "+1") then
                                                           set myFixedNum to (characters 2 thru -1) of theNum
                                            end if
                                            set value of eachNumber to (myFixedNum as string)
                              end repeat
    That will take you from 1+1 or +1 to 1 in one easy step.

  • E-catt Script  error  while trying to Modify the script

    Hi  All ,
    I get the error while trying to modify the  E-catt Script  "Entry  cannot be changed In User View Object  <Objext Name > ". Please let me know if  Some one confronted with  same error  or that can be avoided.
    Waiting for your reply
    Badari

    Hi Baez,
    You have to create a record with country record id in BankDetails table or get record id if country record id is already existed in BankDetails table  and use this record id to create qualified link .
    1. get Country record id
    2. search in Bankdetails table with Country Record id,
    3 . if exist in Bank details table, get record id in Bank details table and pass it to createQualifiedLink()method
                    or
    3. if Country record does not exist in BankDetails table, then  create new record in bankdetails table with Country record id, pass record id of new record to createQualifiedLink()method
    I hope this helps you......
    Cheers,
    Veeru

  • Reusing the same jsp include multiple times on the same page

    If someone knows a way out of this
    I'd like to print out 2 records of the same data type I have a JSP include which does that.
    Now my issue is how to use the same include twice on the same page
    Ideally I would like to do the following:
    <%
    request.setAttribute("person", person1);
    %>
    <jsp:include page="./person.jsp"/>
    <%
    request.setAttribute("person", person2);
    %>
    <jsp:include page="./person.jsp"/>
    And in person.jsp
    I could have
    <h:inputText name=#{person.name}/>
    This fails in the updateModel phase - And I realize why it's failing. There really is no person managed bean.
    It's just that I am at a kind of loss as to what I need to do now -
    Am missing something or is it just impossible to use jsp:includes the way Ive tried to?

    I do not understand, have you created a backing bean named person? Have you defined it in your config file?
    Please copy/paster your backing bean code and config file.
    Normally, you can set directly the value of the bean by using some java code in your jsp instead of setting the request attribute.

  • Is it possible to modify this script to include subfolders?

    I have tried to do this with no luck. This script works great, but how to I make it apply to all sub-folders? Thanks for any suggestions.
    #target bridge  
    if( BridgeTalk.appName == "bridge" ) { 
    descToTitle = MenuElement.create("command", "Keys to Title", "at the end of Tools");
    descToTitle.onSelect = function () {
    if (ExternalObject.AdobeXMPScript == undefined) ExternalObject.AdobeXMPScript = new ExternalObject("lib:AdobeXMPScript");
    var thumb = app.document.selections;
        for(var s in thumb){
    if(thumb[s].hasMetadata){
            var selectedFile = thumb[s].spec;
      var myXmpFile = new XMPFile( selectedFile.fsName, XMPConst.UNKNOWN, XMPConst.OPEN_FOR_UPDATE);
      var myXmp = myXmpFile.getXMP();
             var Description =  getArrayItems(XMPConst.NS_DC, "keywords");
            myXmp.deleteProperty(XMPConst.NS_DC, "title");
            myXmp.appendArrayItem(XMPConst.NS_DC, "title", Description, 0, XMPConst.ALIAS_TO_ALT_TEXT);
            myXmp.setQualifier(XMPConst.NS_DC, "title[1]", "http://www.w3.org/XML/1998/namespace", "lang", "x-default");
    function getArrayItems(ns, prop){
    var arrItem=[];
    try{
    var items = myXmp.countArrayItems(ns, prop);
    for(var i = 1;i <= items;i++){
    arrItem.push(myXmp.getArrayItem(ns, prop, i));
    return arrItem;
    }catch(e){alert(e +" Line: "+ e.line);}
            if (myXmpFile.canPutXMP(myXmp)) {
            myXmpFile.putXMP(myXmp);
            myXmpFile.closeFile(XMPConst.CLOSE_UPDATE_SAFELY);
             } else {
      xmpFile.closeFile();

    I have done that, but for some reason that feature is not working in my copy of Bridge.
    Not to mention, I need to do this on thousands of images. That is why the subfolder feature would be helpful.
    However, I also thought about creating a collection with all of the images in it.

  • The store directory and Multiple Domain

    Gentlemen,
    My directory structure is composed of a fantasy domain like abc.com (internal IP only) under which (ou=People) I created all users.
    A second domain was created like xyz.com (MX record and a valid IP address) with the proper entry in the DC tree and
    - inetDomainBaseDN pointing to abc.com
    - preferredMailHos server.abc.com
    - inetCanonicalDomainName xyz.com
    Messages sent (from an outside domain) to any user addressed like [email protected] goes to ../=user/hashdir/hashdir/=joe@xyz%dcom/00 in the store directory.
    For some users I noticed that there exists another (upper level) directory, like ../=user/hashdir/hashdir/=joe. What is the purpose of this directory? How/why was it created?
    Now: Netscape Messenger is configured with reference to the real domain, i.e:
    - server.xyz.com
    - [email protected]
    - Reply-To address: [email protected]
    I can send messages out, but incoming messages are not fetched by this mail tool. They remain in the store directory as explained
    Where is the error? What did I miss?
    Thanks in advance...
    Ivo

    Hi,
    the architecture described above DOES work.
    The trouble with the mail tools that showed an erratic behavior was caused by another team that was playing with the Company's firewall and DNS.
    My messaging system is now working OK for over a week with the mail tools configured with the correct domain name.
    Now, for the store directory: in a structure as the above, each user will eventually have an entry for each domain, like:
    ../hash/hash/=user
    ../hash/hash/=user@xyz%dcom
    I could not find an explanation about such usage in the manuals. Do you have any hint?
    Bye.
    Ivo

  • Script -asjob (modified bgping script)

    Hello,
    I liked very much the original bgping script (http://poshtips.com/bgping-a-high-performance-bulk-ping-utility/)
    I thought, it would be nice to modify the script for query multiple servers (for example, get some information from them, like Serial Number, asap).
    So..
    Ive cut the lines i didnt need (IP address checking, results etc.. ) and left only JOB related lines..
    Param ([int]$BatchSize=3)
    #list of servers
    $source = Get-Content .\servers_FQDN.txt
    #scriptblock
    $blok = {gwmi win32_bios |select serialnumber}
    $elapsedTime = [system.diagnostics.stopwatch]::StartNew()
    $result = @()
    $itemCount = 0
    ## checking running jobs
    if (get-job|? {$_.name -like "Script*"}){
    write-host "ERROR: There are pending background jobs in this session:" -back red -fore white
    get-job |? {$_.name -like "Script*"} | out-host
    write-host "REQUIRED ACTION: Remove the jobs and restart this script" -back black -fore yellow
    $yn = read-host "Automatically remove jobs now?"
    if ($yn -eq "y"){
    get-job|? {$_.name -like "Script*"}|% {remove-job $_}
    write-host "jobs have been removed; please restart the script" -back black -fore green
    exit
    $offset = 0
    ## measure object
    $itemCount = $source.count
    Write-Host "Script will run against $itemcount servers!"
    ## Script start time mark
    write-host " Script started at $(get-date -Format ("yyyy/MM/dd hh:mm:ss")) ".padright(100) -back darkgreen -fore white
    write-host " (contains $itemCount unique entries)" -back black -fore green
    $activeJobCount = 0
    $totalJobCount = 0
    write-host "Submitting background jobs..." -back black -fore yellow
    ## end of clean, verified code
    for ($offset=0; $offset -le $itemCount;$offset += $batchSize){
    $activeJobCount += 1; $totalJobCount += 1; $HostList = @()
    $HostList += $source |select dnshostname |sort |get-unique |select -skip $offset -first $batchsize
    $j = invoke-command -computername $($source) -scriptblock $blok -asjob
    $j.name = "Script`:$totalJobCount`:$($offset+1)`:$($HostList.count)"
    write-host "+" -back black -fore cyan -nonewline
    write-host "`n$totaljobCount jobs submitted, checking for completed jobs..." -back black -fore yellow
    $recCnt = 0
    while (get-job |? {$_.name -like "Script*"}){
    foreach ($j in get-job | ? {$_.name -like "Script*"}){
    $temp = @()
    if ($j.state -eq "completed"){
    $temp = @()
    $temp += receive-job $j
    $result += $temp
    remove-job $j
    $ActiveJobCount -= 1
    write-host "-" -back black -fore cyan -nonewline
    if ($result.count -lt $itemCount){
    sleep 3
    write-host " "
    write-host " Script finished at $(get-date) ".padright(60) -back darkgreen -fore white
    write-host (" Number of hosts : {0}" -f $($result.count)) -back black -fore green
    write-host (" Elapsed Time : {0}" -f $($ElapsedTime.Elapsed.ToString())) -back black -fore green
    write-host "TEMP variable: $temp"
    $result
    write-host " Script completed all requested operations at $(get-date -Format ("yyyy/MM/dd hh:mm:ss")) ".padright(60) -back darkgreen -fore white
    write-host (" Elapsed Time : {0}" -f $($ElapsedTime.Elapsed.ToString())) -back black -fore green
    There is a bug i didnt discovered yet, the $result table containts $temp*number_of_jobs ... why?
    If i run this script against 10servers, divided by 2 (batchsize 2), it would create 5 background jobs. While $temp contains serial number from every single server, $result will multiply it * 5.
    I can use $temp as result as well, but original author used $result for a reason ...
    I  think the problem starts with line
    foreach($jinget-job|?{$_.name
    -like"Script*"}){
    ...  can u correct this script, so i will get results only 1 time?  In case of 10 servers with batchsize of 2, it will create 5jobs containing 2 queries ...
    Elapsed time is now ~24sec, i think it should be done in around 6..

    .. ah.. figured it out..
    wrong:
    $HostList += $source |select dnshostname
    |sort |get-unique
    |select -skip $offset
    -first $batchsize
     $j = invoke-command
    -computername $($source)
    -scriptblock $blok -asjob
    correct:
    $HostList += $source |sort |get-unique |select -skip $i -first $batchsize
    $j = invoke-command -computername $Hostlist -scriptblock $blok -asjob

  • Do I have to modify the nms perl script to understand a redirect code in DW cs4

    I am using DW cs4 and created a registration form on on my website that is hosted by 1and1. I am trying to use a custom "thank you" page after the user submits the form by using the redirect code in my form but i keep getting the ugly default "thank you" page gernerated by the formmail.pl script located on my cgi-bin folder. Do I need to modify the script? I let DW code for me and I used the full url of the custom thank you page I created with DW. I thought by coding with redirect the script would know what to do without needing a modification.
    Your help would be greatly appreciated.

    Hi Lapster,
    Sorry about the delayed response, but you can look at this document on Applying FieldPoint IAK Settings to a FieldPoint Real-Time Controller for some information on IAK files, and for your questions on IP settings, take a look at this document on Linking an IAK File to a Compact FieldPoint with a Different IP Address.
    I hope this helps.
    Regards,
    Stephen S.
    National Instruments
    Applications Engineering

  • Start multiple domains simultaneously on 1 Weblogic server installation?

    Is it okay to start and run multiple domains simultaneously. Better yet, when having multiple domains on 1 WLS server, should each domain have a different port number in order to be run simultaneously?
    Here's my scenario - I installed Oracle Business Intellgence, which by default installs and configures WLS server for certain Business Intelligence applications (BI Publisher). This instance was running fine and good and still is.
    Then I had another application, Oracle Data Integrator, which has a Console piece that requires a domain on WLS. So instead of modifying the existing domain for Oracle Business Intelligence, I created a new domain via the Configuration Wizard and selected those components for Oracle Data Integrator.
    therefore current domains:
    ...\domains\bifoundation_domain --> installed automatically as part of Oracle Business Intelligence
    ...\domains\odi11g --> I created this domain after I
    Now I have 2 domains under 1 WLS Server (windows 7 64bit), but if I startWeblogic.cmd for the bifoundation_domain, and I startWeblogic.cmd for the odi11g...then only the components for the bifoundation_domain become available via the WLS Console.
    Questions:
    - Can I run both domains simultaneously?
    - Should I have modified the bifoundation_domain to include Oracle Data Integrator component; therefore only having 1 domain but having everything run under that domain?
    - Does the Port for each domain matter? both bifounddation_domain and odi11g domain use ports 7001
    Are there any other considerations? Thanks much.

    Hi,
    It is perfectly OK to run multiple domains on a single Weblogic server installation. Only constraint would be you have enough capacity available on your server to start multiple instances.
    Things to note is, if your domain1 is running on listen address : port { localhost : 7001 } then your other domain should be configured on a different port say {localhost : 8001 }. If you want both domain to run on same port then go for virtual IP's to be plumbed on your physical network interface and configure as,
    domain1 - { ip1 : 7001 }
    domain2 - { ip2 : 7001 }
    this way you will can access both domain admin console on same port.
    Remember, Weblogic resources cannot be shared between domain, however a single nodemanager will be enough to monitor both the domains.
    * rank it if answer is helpful :) *
    Thanks,
    Ranjan

  • Exchange 2003 migrate to Exchange 2010 - single forest multiple domain. Active Sync problem

    Hi All, 
    I have AD single forest and multiple domain. for example, the forest domain is jakarta.co.id, and the other domain is bali.co.id.
    Exchange 2003 deployed in jakarta.co.id, User mail enabled in domain jakarta.co.id and bali.co.id.
    Then, I upgrade to Exchange 2010 (deploy in jakarta.co.id) and move mailbox from Exchange 2003 to Exchange 2010.
    All users in bali.co.id are able to access email from Owa, BlackBerry (BIS), Outlook, but cannot access from Android, Windows Phone. (Active-Sync).
    I got error information generated from https://testconnectivity.microsoft.com, as following:
    Attempting the FolderSync command on the Exchange ActiveSync session.
    The test of the FolderSync command failed.
    Tell me more about this issue and how to resolve it
    Additional Details
    Exchange ActiveSync returned an HTTP 500 response (Internal Server Error).
    Active-Sync still not work even I check option "Include inheritable permissions from this object" in security tab.
    any idea to fix this issue?
    Thanks.
    Endrik
    Endrik | blog: itendrik.wordpress.com Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading
    the thread.

    Hi Sathish, 
    We are planning to migrate Exchange 2003 to Exchange 2013, all user already in Exchange 2010 and Exchange 2003 was decommissioned
    Event Viewer log as following:
    Log Name:      Application
    Source:        MSExchange ActiveSync
    Date:          1/17/2014 10:00:48 PM
    Event ID:      1008
    Task Category: Requests
    Level:         Warning
    Keywords:      Classic
    User:          N/A
    Computer:      EXC2010.jakarta.co.id
    Description:
    An exception occurred and was handled by Exchange ActiveSync. This may have been caused by an outdated or corrupted Exchange ActiveSync device partnership. This can occur if a user tries to modify the same item from multiple computers. If this is the case,
    Exchange ActiveSync will re-create the partnership with the device. Items will be updated at the next synchronization. 
    URL=/Microsoft-Server-ActiveSync/default.eas?Cmd=Sync&User=bali%5Csteveng&DeviceId=SAMSUNG123456789&DeviceType=SAMSUNGGTN7000
    --- Exception start ---
    Exception type: Microsoft.Exchange.AirSync.AirSyncPermanentException
    Exception message: A null value was received for the NTSD security descriptor of container CN=ExchangeActiveSyncDevices,CN=Steven Gerrard,OU=IT,DC=bali,DC=co,DC=id.
    Exception level: 0
    HttpStatusCode: 500
    AirSyncStatusCode: 110
    XmlResponse: 
    This request does not contain a WBXML response.
    Exception stack trace:    at Microsoft.Exchange.AirSync.ADDeviceManager.SetActiveSyncDeviceContainerPermissions(ActiveSyncDevices container)
       at Microsoft.Exchange.AirSync.ADDeviceManager.CreateActiveSyncDeviceContainer(Boolean retryIfFailed)
       at Microsoft.Exchange.AirSync.ADDeviceManager.CreateActiveSyncDevice(GlobalInfo globalInfo, ExDateTime syncStorageCreationTime, Boolean retryIfFailed)
       at Microsoft.Exchange.AirSync.ADDeviceManager.CreateActiveSyncDevice(GlobalInfo globalInfo, ExDateTime syncStorageCreationTime)
       at Microsoft.Exchange.AirSync.Command.UpdateADDevice(GlobalInfo globalInfo)
       at Microsoft.Exchange.AirSync.Command.CompleteDeviceAccessProcessing()
       at Microsoft.Exchange.AirSync.Command.WorkerThread()
    --- Exception end ---.
    I think KB817379 is not related because Exchange 2003 was decommissioned.
    Regards, 
    Endrik
    Endrik | blog: itendrik.wordpress.com Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading
    the thread.

  • Setting up the Script Based Node Manager

    I noticed that someone has already asked this question from the Java side but I was wondering about the process for the node manager used for Solaris. I have been through the process in the documentation but I have yet to complete the dots to get a working nodemanager. The node manager starts up but then the admin console is unable to start down servers. I can shut a managed server down but I cannot bring it back up unless I physically (well virtually) log into each WLS and start them from the command line as root (yes, I have some servers running in privileged port ranges). I got it so when it starts, the servers switch users from root to my weblogic user. I just cant figure out the rest of the configuration.
    Any feedback here?
    Here is what I do:
    1. Installed Weblogic and configured my domain.
    2. I setup my SSL Trusts between boxes.
    3. Set the weblogic nodemanger password and port.
    4. Configured the nodemanager for each managed server in the console (I am totally unsure if I did this right or not).
    5. Ran NMEnroll on all of my wls machines including the AdminServer.
    6. Started the NodeManger on all machines.
    7. Tested and was unable to control any of the managed servers from the console from a shutdown state.

    I think I figured out whats going on. I think maybe I confused the two types of node managers. It appears to me that the way the script based one works is that you give it a command and then it uses a SSH shell connection to issue the command. Here is my case, I am on Solaris 10 and I have servers running on ports in the privileged range. I ran the test in the manual and it will not startup. The command works, but I am being stopped by the OS. How do you modify the script node manager to run as root over SSH when you need to sudo? I would normally consider setting up sudo to run without a password only for the weblogic server startup commands. However, I know in a production system the security folks would never permit this. Right now I can stop servers but I cannot start them remotely without manually SSHing in and using sudo to start the managed servers.

  • How can I get the script Export Layers to Files to export compressed pngs?

    I would love to be able to take advantage of Photoshop's compressed png when using the script Export Layers to Files. I there a way I could modify the script to do this?
    TIA!!!
    ========================
    I found it ... I needed to add a line to the pngSaveOptions (around line #886) ...
                var saveFile = new File(exportInfo.destination + "/" + fileNameBody + ".png");
                pngSaveOptions = new PNGSaveOptions();
                pngSaveOptions.interlaced = false;
                // trying to compress png files
                pngSaveOptions.compression = 9;
                docRef.saveAs(saveFile, pngSaveOptions, true, Extension.LOWERCASE);
                break;
    =========================

    It does. The standalone XML Export was only offered by itself
    in the
    registration incentives. Sorry.
    Nancy Gill
    Adobe Community Expert
    Author: Dreamweaver 8 e-book for the DMX Zone
    Co-Author: Dreamweaver MX: Instant Troubleshooter (August,
    2003)
    Technical Editor: DMX 2004: The Complete Reference, DMX 2004:
    A Beginner''s
    Guide, Mastering Macromedia Contribute
    Technical Reviewer: Dynamic Dreamweaver MX/DMX: Advanced PHP
    Web Development
    "neilcreagh" <[email protected]> wrote in
    message
    news:f4rsrt$ptf$[email protected]..
    > I've just purchased Dreamweaver CS3 and, after
    registering, the email sent
    > offered me a free gift. I chose the free font. Another
    option is the
    > Dreamweaver XML Export Extension for Spry and I would
    like to purchase
    > this (it
    > stated the value at ?15) but I can't find it anywhere?
    >
    > The interaktonline website says that its functionality
    has been included
    > in
    > the Dreamweaver Developer Toolbox - but does this mean
    that I have to
    > purchase
    > the entire toolbox?
    >

  • Running the script

    I have to run a script file with 150 sql commands to test the integrity of the database and output into an outfile.Is there any way to send the output results with sql syntax and its corresponding number.Thanks in advance for help.

    Modify the script to add something like
    PROMPT Statement 1before each SQL statement. Prior to running the script, issue
    SPOOL <path>/outfile.lsand after the script is done, do
    SPOOL OFF

Maybe you are looking for