Automated Unix Script For Registering Artifacts In OER

Hi,
i want to create automated unix script which will register the artifacts automatically in Oracle Enterprise Repository (OER)
is it possible to automatically harvest the artifacts in OER.
please help
regards,
yshintre

Some of what you want is possible. Take a look at the Count Tool in CS3/4. It may only be available in the Extended versions. That provides a
reasonable interface for marking items in a image like you are wanting to do with cells. Take a look at that and see what kind of manual process
you can get worked out.
However, to get the workflow you want (or anything close to it) would require more than a little code.

Similar Messages

  • Unix script for checking the user account status

    Hi All,
    i have created one unix script to check the status of the user in diff databases.
    #!/bin/ksh
    useracctreport.txt if [ ! -f hh ];
    then
    echo "Database file does not exist"
    fi
    echo "Enter Username"
    read USER
    echo "Enter the password"
    stty -echo
    read PASS
    stty echo
    for j in `cat users`
    do
    j="`echo $j| tr '[a-z]' '[A-Z]'`"
    for i in `cat hh`
    do
    sqlplus -s $USER/$PASS\@$i <<EOF >> useracctreport.txt
    column USERNAME format a8
    column ACCOUNT_STATUS format a5
    !echo "*****User $j Status in $i DB*****"
    select USERNAME,ACCOUNT_STATUS from dba_users where username=('$j');
    select OBJECT_TYPE,count(*) from dba_objects where owner='$j' group by object_type;
    EOF
    done
    done
    In log file ,i get the below error when its unable to connect to the DB.
    SP2-0306: Invalid option.
    Usage: CONN[ECT] [logon] [AS {SYSDBA|SYSOPER}] | [INTERNAL]
    where <logon> ::= <username>[<password>][@<connect_string>] | /
    SP2-0306: Invalid option.
    Usage: CONN[ECT] [logon] [AS {SYSDBA|SYSOPER}] | [INTERNAL]
    where <logon> ::= <username>[<password>][@<connect_string>] | /
    SP2-0157: unable to CONNECT to ORACLE after 3 attempts, exiting SQL*Plus
    ERROR:
    ORA-01017: invalid username/password; logon denied
    Is there any way i can supress this error?
    and is there any other way i can make this script faster.Thanks a lot for your help

    Hi,
    The failing line is
    sqlplus -s $USER/$PASS\@$i <<EOF >> useracctreport.txtYou should test the connect statement you provide to sqlplus. For example:
    CONSTRING=$USER/$PASS\@$i
    echo Connect string used: $CONSTRING
    sqlplus -s $CONSTRING <<EOF >> useracctreport.txtCheck the echoed value. It's malformed. Correct it appropriately.
    Yoann.

  • NO Script for Register RG1

    Dear Frineds
    when I try to print the register then it is showing error no script for RG1 register
    what should I do
    Regards
    Arun

    Hi Arun,
    Which version of SAP you are using? SAP has provided Excel formats In ECC 5 and ECC 6 Versions to be downloaded for all these registers.
    If you are in 4.6X versions, please check in in the table J_2ILAYCTR, whether layout exists or not.
    Regards,
    Sai

  • Unix Script for calling oracle packges.

    Hi All,
    I would like to know how to call packages(pro,fun) with parametrs from unix script.
    Can anybody provide me the sample code.
    thanks in advance.
    Dinesh

    This topic has been covered a few times in the past.
    Here are two threads that a quick search found:
    Execute stored procedure from script
    how to call shell script from pl/sql procedure.
    There are several other threads that may be of interest.
    HTH -- Mark D Powell --

  • ANT scripts for JBI artifacts operations

    HI All,
    I want to write ant scripts for installing,uninstalling and other operations for components ,SA,SU,. Can anybody tell me the way to write scripts....
    Hope a soon reply...

    The JBI 1.0 specification requires implementations to supply the Ant tasks defined in the Management chapter. Obviously the implementation you are using has not passed the JBI 1.0 technological compatibility test (TCK) suite.
    You should speak to the vendor. They cannot claim JBI 1.0 compliance until their implementation passes the TCK. The TCK includes extensive tests of the Ant tasks required by the specification.
    Alternatively, you can use the JBI reference implementation, available at http://java.sun.com/integration. This is a fully complaint implementation of JBI. Using it will allow you to avoid problems posed by other partial or other non-compliant implementations.

  • Need Info Regarding Unix Scripts for DBA's

    Hi,
    I'm a oracle DBA with little knowledge of Unix.
    I wanted to write some shell scripts which will be helpful for DBA's regular activity.
    As i'm a new to oracle with unix can any plese tell me what are all the activities can be done throgh Unix Shell Scripts also suggest me how to learn unix shell scripts quickly.
    Thanks in Advance
    Gobinathan

    Maybe it is about time you leave your ideal world, and take a reality check.
    You don't take into account, I would say all over the globe, with the likely exception of the University of Washington, companies unwilling to upgrade to a supported version of Oracle. Then there are companies who can't upgrade to a supported version of Oracle, as the third party sw doesn't support a supported version of Oracle.
    Then there are companies who are unwilling to pay for OEM and/or database control.
    My company can't afford to use OEM to manage all our customers.
    Daniel, I think I know your answers. They are, and always have been highly unrealistic. You need to leave your paradise, and stop making people frustrated, because they have to stick with the (you so often use that word) paleolithic version of Oracle that has been presented to them.
    They simply have no choice.
    In the Netherlands 50 percent of the customers use 10g, 25 percent 8i and 25 percent 9i. You can climb your hobbyhorse every day, many of them won't upgrade, simply because management doesn't want to upgrade, as it doesn't buy them anything, apart from support, which is considered unimportant, as the application 'works'.
    Apart from that, your assertion scripts aren't portable across platform is not necessarily true when you start using Perl (comes with Oracle).
    There are many tasks for which shell scripts are still mandatory.
    In fact Rman is one of them. As Rman doesn't support variables, you can't use OEM to set up a script which uses a proper tag in the backup command.
    You need scripting to reset an alert.
    You need scripting to rotate the log file of a listener.
    Etc, etc, etc.
    Sybrand Bakker
    Senior Oracle DBA

  • Automated ESSCMD script for logout

    This might sound like a weird question but I would like to know if it is possible to write an automated script in ESSCMD that logs out a specific user after loging out? We have done some @XREF functions in our trial db and for some reason the db leaves several connections open after logout. I know it would be wise to fix the problem with the script that causes the open connections, but until we figure out how to do that I would like to examine other possibilities to fix the problem. The Essbase version is 6.1.Any info regarding this matter will be very much appreciated.

    Its default functions are things that users already do with the App. How this helps anyone is beyond me. The scripts appear to be suggestive in nature - just placeholders "for what the software could do". Yawn.
    I need real world solutions not placeholder scripts. I cant believe Apple doesnt supply a solution - its simply obnoxious to ask users who have 5-100 mail folders to go:
    1. select Mailbox
    2. select Mailbox menu
    3. choose Rebuild
    Guess Im going to have to sit down with Automator or Applescript, bummer....

  • Help needed in Unix script for oracle 9i

    Hi gurus,
    I'm working on oracle 9i in solaris, i would like to calculate the amount of archived logs generate per day. Can anyone please help me to find that.
    Thanks

    Put the following lines in a script and it should work for you.
    SET feedback off
    SET line 200
    COL NAME FOR a100
    -- counts the no of archives generated today
    select count(*) "No. of Logs for today" from v$archived_log where to_char(completion_time,'DD-MON-YY')=to_char(sysdate,'DD-MON-YY');
    -- lists all archive generated for the day
    select name,blocks*block_size as "Size in KB" from v$archived_log
    where to_char(completion_time,'DD-MON-YY')=to_char(sysdate,'DD-MON-YY');
    -- shows total size in KB
    select sum(blocks*block_size) "Total Log Size for day in KB" from v$archived_log
    where to_char(completion_time,'DD-MON-YY')=to_char(sysdate,'DD-MON-YY');
    Hope this helps.
    Thanks
    Siba

  • [Solved]Automating a script for a usb device on systemd?

    Solution:See 3rd post by 65kid.
       Ok I'm trying to learn how to automate the execution of a script I wrote to run whenever a specific usb device is plugged in. In this case a usb flash drive with a specific partition identified though UUID following the path /dev/disk/by-uuid/specified-partion's-uuid.
       Basically the script uses rsync to update a snapshot of my system which I made bootable on this device. following the guide given in the wiki on full system backup using rsync I edited the --exclude options to ignore the contents of my /boot/ /etc/fstab and /etc/mkinitcpio.conf since the fstab entries, hooks array and initramfs and kernel images generated with them needed to be changed so as to make this snapshot bootable and adapted for use on the usb stick.
    the ultimate goal is to have a bootable snapshot the can be updated with whatever changes have been made with my system(i.e. pacman -Syu updates,config changes etc...) while leaving out the important things needed to have the usb still bootable afterwards. I've already succeeded at getting the script to work but I have to mount it manually then execute the script myself and I know that it works afterwards as I can still boot from the stick afterwards.
       This is not a question about rsync (which is why the script isn't posted here), to repeat myself, It's about how to execute ANY custom script whenever a specific device is plugged in. More specifically when a storage device with a certain uuid is detected after the device has been plugged in. I believe it may be different for running pure systemd and so that was the reasoning for having it mentioned in the subjects title(if I'm wrong then correct my understanding). If anything a few pointers on where to look would be appreciated. I've been googling and reading the wiki a bit with nothing specific on how to approach this. If an example of the script is requested I'll post it but it's not relevent to my question.
       For a general veiw of my setup regarding external storage volumes I do not automount anything as I do not use all the things I plug in in the same manner. Some of the stuff I do requires them to be unmounted or  mounted to different mount points(specified by me). The script handles the mounting part by itself just fine. The idea I have is to run it automatically when the flash drive is present. Any suggestions?
    Last edited by Thme (2012-12-29 00:06:56)

    Awebb wrote:You "seem to remember" has FUD potential, could you care to find the post again?
    he is probably referring to this: https://bbs.archlinux.org/viewtopic.php … 2#p1113682
    imho this is way different, the SYSTEMD_WANTS tag is completely ok to use. yes, he may be mounting the drive from the script, but imho he is not "exploiting" anything here. I personally don't see a much more elegant way to do this.
    these automount udev rules were however crappy and hackish. They were created by people who are like "but udisks is bloat!!1!" and whoever wrote them didn't really seem to know what he was doing because, for example, unmounting a device after it was unplugged from the system is completely non-sense.

  • Calling Unix scripts in ODI

    Hi all,
    I'm having unix scripts for file validation.How and where to call this Unix scripts in ODI?Please be in steps.
    Advance thanks
    Suresh

    Hi Suresh,
    Its very straight forward in ODI.
    For your package, click Tools, under Utilities you will find, OSCommand, type the exact path of your script file and make sure your agent should have all access rights to invoke the script.
    http://img19.imageshack.us/img19/5584/screenshot030z.jpg
    Thanks,
    G

  • How to store UNIX script in SM69/SM49

    Hi,all
    Its urgent requirement..
    I wrote a UNIX script for moving files from source dir to target dir ,how to call this script in ABAP.
    I know SXPG_command_execute...in that we can give a external command .But i need to call a script?
    so how can i do this and where to store this script?
    Thanx in advance

    Hi,
    Check the below document in sap help.
    http://help.sap.com/saphelp_47x200/helpdata/en/bb/9f038d4b9b11d189750000e8322d00/frameset.htm
    Thanks,
    Ramakrishna

  • Unix script error while mail the pdf file.

    Hi all,
    I want to do a mail in pdf format via a unix script. for that i used the following query:
    # Verplichte variabelen
    inputname="dago130r.rdf"
    outputname="$DATOUT/dago130rDC.pdf"
    mailto="$MAIL_INKOOP_DC"
    subject="Opgeloste PV's per Category Manager"
    params="p_datum_1='08-08-2006' p_ind_dc_of_rz='D'"
    # Opgeloste PV's per Category Manager
    # Start script.
    # Vanaf hier hoeft in principe niets gewijzigd te worden.
    mymail () {
         local tmp=$DATTMP/$$.txt
         cat "$mailbody" > $tmp 2>/dev/null
         do_unix "uuencode $outputname $(basename $outputname) >> $tmp"
         check_success
         do_unix "mailx -s '$subject' -c '$mailcc' -r '$replyto' '$mailto' < $tmp"
         check_success
    header
    perform "$inputname R DESFORMAT=PDF DESTYPE=FILE DESNAME=$outputname $params"
    check_success exit
    mymail
    footer
    exit_check "$total_success"
    When i execute this query it will make the pdf file in the output folder as well as in the tmp folder as a text file. but after that it will give me error in the log file as follows.:
    09/08/06-11:13:19 [  25178] -- perform: Successful completion of dago130r.rdf R DESFORMAT=PDF DESTYPE=FILE DESNAME=/appl/tst/ah01/dago/dat/out/dago130rDC.pdf p_datum_1='08-08-2006' p_ind_dc_of_rz='D'
    09/08/06-11:13:19 [  25178] -- do_unix: Successful completion of uuencode /appl/tst/ah01/dago/dat/out/dago130rDC.pdf dago130rDC.pdf >> /appl/tst/ah01/dago/dat/tmp/25178.txt
    [  25178] ,/appl/tst/ah01/dago/dat/tmp/25178.txt,: No such file or directory
    [  25178] "/appl/tst/ah01/dago/home/dead.letter" 1/1
    [  25178]
    09/08/06-11:13:19 [  25178] -- ERROR do_unix: mailx -s 'Opgeloste PV's per Category Manager' -c '' -r '' '[email protected]' < /appl/tst/ah01/dago/dat/tmp/25178.txt returned 1
    09/08/06-11:13:19 [  25178] --
    I am not getting why this script not taking the file from the tmp folder and why this error comes??
    please help me to go out of this problem.

    Hi Bhavik,
    Please can you tell how you are executing this script. ?
    ./scritpname or sh scriptname
    Can you try the script removing local while declaring the tmp variable ?
    naghu

  • Automation Script for RPD in Linux !!

    Hi,
    I have a requirement to automate the RPD in linux to get the Repository Documentation in RPD with the UNIX script.
    Actual manual process is Tools -> Utilities -> Select the Repository Documentation -> Execute -> Save,
    I Need to do the same process with UNIX script,
    Repository Path : /devobi/OBIEE11g/instances/instance1/bifoundation/OracleBIServerComponent/coreapplication_obis1/repository/OracleBIAnalyticsApps
    Thanks in Advance,

    Hi Srini/Sunil,
    Thanks for your reply,
    Yes, We have a manual process in OBIEE11g as i mentioned the navigation. But, We need to do the automation process with UNIX Script in Linux environment.
    So, Please help me on this assignment.
    Thanks in Advance,

  • Need Help in creating Unix Shell Script for database

    Would be appreciable if some one can help in creating unix shell script for the Oracle DB 10,11g.
    Here is the condition which i want to implement.
    1. Create shell script to create the database with 10GB TB SPACE and 3 groups of redo log file(Each 300MB).
    2. Increase size of redolog file.
    3. Load sample schema.
    4. dump the schema.
    5. Create empty db (Script should check if db already exists and drop it in this case).
    6. Create backup using rman.
    7. restore backup which you have backed up.

    This isn't much of a "code-sharing" site but a "knowledge-sharing" site.  Code posted me may be from a questioner who has a problem / issue / error with his code.   But we don't generally see people writing entire scripts as responses to such questions as yours.  There may be other sites where you can get coding done "for free".
    What you could do is to write some of the code and test it and, if and when it fails / errors, post it for members to make suggestions.
    But the expectation here is for you to write your own code.
    Hemant K Chitale

  • Script for Automator to reorder text in file/folder name.

    I have a folder full of pictures named by their first and last names. I need them to be renamed by listing them by last name first, first name last in order to get them alphabatized properly. Anybody out there have a nice Automator script for me to make this happen? I'm new.
    Looking for it to look like this:
    Brown, John

    Try this (should work for "John H Smith" --> "Smith John H" as well):
    The Run Shell Script Action is:
    for f in "$@"
    do
        basename=${f##*/}
        path=${f%/*}
        ext=${f##*.}
        name=${basename%.*}
        if [[ "$name" =~ \  ]]; then
            fname=${name% *}
            lname=${name##* }
            name="$lname $fname"
            mv "$f" "$path/$name.$ext"
        fi
    done
    If you want a comma, then change: name="$lname $fname" to name="$lname, $fname"
    As with all scripts, back-up the files before running

Maybe you are looking for

  • Wrong charging port

    Apple made a mistake of putting a charger port for an ipod touch 3rd generation in an ipod touch 4ths generation. What should I do? The prongs are broken off.

  • 2012 MacBook pro will not power up sleep light on then off

    Please help my mid 2012 MacBook pro will not turn on. When I press the power button the light on front comes on and the cd rom drive attempts to start then it shuts back off. I have tried holding down the power button and pressing the button combo to

  • SAP Access Control Project

    Dear All, I am preparing a proposal for SAP GRC Access Control. At the moment, I am having some trouble with the cleansing part. I want to know if role cleansing is a part of the project? If it is, then how one can estimate the time to do this activi

  • Scanner Not Found Error Message on My Computer

    5 years ago, I got an HP inkjet printer and after it was installed, I could never get the scanner to work. I always got an error message (can't remember the wording). Last month, I got a new HP laserjet printer with a scanner, and it is installed, bu

  • Option to auto-resize text frame vertically?

    Hi, Sometimes I don't know exactly how tall a text frame is going to be or I just want to get some text on the page quickly without drawing it out exactly.  I was wondering if there was an option to auto-resize the text frame vertically as you type.