Batch script for automating process

Hi all, not sure if this is the right area asking about batch scripts, but this has to do with the back-end system in Hyperion.
I was wondering if there is a way to run a batch script on the transaction log that will give a list of any new GL accounts that have been added in the prior month or within the last 30 days? Can it also show which users are added to the account?
The purpose of this is to automate the process periodically and eliminate the Outline Maintenance Log or import to the Outline Maintenance Log. It would be helpful for adding more new cost centers.
Lastly, can I also run a batch script to see how often our end-users are in Hyperion reports?
thank you.

+...give a list of any new GL accounts that have been added in the prior month...+
Correct me if i'm wrong:
You want to know new members added in the account dimension recently. Is that right?
If so, you could do a select command like that:
SELECT O.OBJECT_NAME -- Just the member name. For alias, you need another join
FROM HSP_ACCOUNT A -- For performance, i put the smallest table here
INNER JOIN HSP_OBJECT O ON A.ACCOUNT_ID = O.OBJECT_ID -- Join to get the member name
WHERE O.CREATED >= (SYSDATE-(30)) -- last 30 days
Note this specific select you can only get the account dimension. Entity has his own table too.
For custom dimention it gets a little more complicated.

Similar Messages

  • Batch job for IDOC processing in 64 status

    Hi experts ,
    i want to know the name of Batch job for IDOC processing in 64 status.
    I have configured the partner profiles as 'process immediatly'.
    So with this configuration whenever an idoc comes in production it gets processed immediatly and automatically.
    i want to know how they are getting processed automatically.
    is there any job which looks for these idocs(in 64 status and process immediatly flag) and process it.
    What is the trigger for thiese idocs processing???
    Please guide me
    thanks in advance
    Anit gautam

    Hi Thanks for ur reply.
    =====Upon arrival, "process immediately" should fire that process =====
    how it is getting fire?
    means is there any batch job running which looks for idoc in 64 status or is there any event which get triggered when an idoc
    comes in 64 status.
    why we use OYEB transaction???
    Regards

  • Not able to push batch script for installing IIS all features using SCCM 2012 task sequence

    Hey Guys, I am working for this from a long time but not able to make it work, I am using following batch script for installing IIS  using SCCM 2012 task sequence:
    Dism.exe /online /Enable-Feature /FeatureName:IIS-WebServerRole /FeatureName:IIS-WebServerRole /FeatureName:IIS-WebServer /FeatureName:IIS-ApplicationDevelopment /FeatureName:IIS-Security /FeatureName:IIS RequestFiltering /FeatureName:IIS-NetFxExtensibility
    /FeatureName:WAS-WindowsActivationService /FeatureName:WAS-ProcessModel /FeatureName:WAS-NetFxEnvironment /FeatureName:WAS-ConfigurationAPI /FeatureName:NetFx3 /FeatureName:WCF-HTTP-Activation /FeatureName:WCF-NonHTTP-Activation /FeatureName:IIS-WebServerManagementTools
    /FeatureName:IIS-ManagementConsole /FeatureName:IIS-ManagementScriptingTools  /FeatureName:IISIIS6ManagementCompatibility /FeatureName:IIS-ManagementService /FeatureName:IIS-Metabase /FeatureName:IIS-WMICompatibility
    When I run this script as admin by right click on it and select "run as a administrator" the script works fine but when I pushed the script as a software package or a step in OSD task sequence, nothing happens. I also tried
    run command line option but no luck. Please help me with this.
    Thanks,
    VST

    1. When I used "run command line" option I found following errors in smsts.log:
    Remediation failed. Code 8027000C TSManager 1/2/2014 2:32:12 PM 2720 (0x0AA0)
    Remediation failed with error code 8027000C TSManager 1/2/2014 2:32:12 PM 2720 (0x0AA0)
    Remediation failed. Code 8027000C TSManager 1/2/2014 2:34:16 PM 2092 (0x082C)
    Remediation failed with error code 8027000C TSManager 1/2/2014 2:34:16 PM 2092 (0x082C)
    Failed to run the action: Run Command Line.
    Unknown error (Error: 800F080C; Source: Unknown) TSManager 1/2/2014 2:34:32 PM 2092 (0x082C)
    Failed to delete directory 'C:\_SMSTaskSequence' TSManager 1/2/2014 2:34:33 PM 2092 (0x082C)
    SetNamedSecurityInfo() failed. TSManager 1/2/2014 2:34:33 PM 2092 (0x082C)
    SetObjectOwner() failed. 0x80070005. TSManager 1/2/2014 2:34:33 PM 2092 (0x082C)
    RemoveFile() failed for C:\_SMSTaskSequence\TSEnv.dat. 0x80070005. TSManager 1/2/2014 2:34:33 PM 2092 (0x082C)
    RemoveDirectoryW failed (0x80070091) for C:\_SMSTaskSequence TSManager 1/2/2014 2:34:33 PM 2092 (0x082C)
    Failed to delete registry value HKLM\Software\Microsoft\SMS\Task Sequence\Package. Error code 0x80070002 TSManager 1/2/2014 2:34:33 PM 2092 (0x082C)
    RegQueryValueExW failed for Software\Microsoft\SMS\Task Sequence, SMSTSEndProgram TSManager 1/2/2014 2:34:34 PM 2092 (0x082C)
    GetTsRegValue() failed. 0x80070002. TSManager 1/2/2014 2:34:34 PM 2092 (0x082C)
    ReleaseRequest failed with error code 0x80004005 TSManager 1/2/2014 2:34:34 PM 2092 (0x082C)
    RegQueryValueExW failed for Software\Microsoft\SMS\Task Sequence, SMSTSEndProgram OSDSetupHook 1/2/2014 2:34:35 PM 360 (0x0168)
    GetTsRegValue() failed. 0x80070002. OSDSetupHook 1/2/2014 2:34:35 PM 360 (0x0168)
    2. We are not using MDT in our environment so I ant use add features and roles option.
    3. The script is running fine when we run it manually.

  • Executable or batch script for end users to export mailbox to PST

    We are in the process of taking over a small firm and proceeding with manual migration of mailboxes from this firm , currently we do not have full access to their environment and having a hard time depending on admins of their organization dealing over
    to exporting mailboxes and then importing them back to our exchange environment,  my idea is to rather provide a executable or batch script to user's of their organization get their mailboxes exported out directly from end users  so that we do not
    have to depend on remote organization's admins for every single user out there . is there a batch script or some executable code that end users can run to have their mailbox exported out directly ? 
    Aditya Mediratta

    Seems like, this informative article would be a good approach to resolve your concern :
    http://www.msexchange.org/articles-tutorials/exchange-server-2013/management-administration/managing-pst-import-export-process-exchange-server-2013-part2.html
    Moreover if you wish, you may also give a shot to this automated solution (http://www.exchangemailboxtopst.org/) in order to accomplish this job in more easier and quicker way.

  • 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

  • Windows 8.1 Batch Scripts for devcon.exe

    HiI'm using batch script with devcon.exe for cleaning usb ghost devices. On XP and Win 7 it works perfect but on windows 8.1 only if i manualy paste commands on "administrator command line" but it wont start from my batch script. Is there any solution for windows 8 to enable security rule for batch script? Win 8 is so annoying for any type of scripts even gpo. At the moment im trying to resolve this problem with PowerShell.This is how script looks like:
    Text@echo offDEVCON Find * | FIND /I /V "matching device(s)" > "%Temp%\DevconFind.txt"FOR /F "tokens=1 delims=: " %%A IN ('DEVCON FindAll * ^| FIND /I /V "matching device(s)"') DO (TYPE "%Temp%\DevconFind.txt" | FIND "%%~A" >NULIF ERRORLEVEL 1 %Debug% DEVCON Remove "@%%~A")DEL "%Temp%\DevconFind.txt"
    Regards
    This topic first appeared in the Spiceworks Community

    Uninstall it.  Reboot.  Then install.  Reboot.
    All of this should be done as Run as Administrator or it will fail.
    16GIG or Larger usb flash drive is required.  8 gigs is too small.
    http://www.dell.com/support/home/us/en/19/Drivers/DriversDetails?driverId=8HY96

  • Batch File for automation

    Hello Geeks,
    I am doing a scripts for remote installation pushed from a centralized location or server. But the question is, when I ran the .bat script it would prompt the user "do you want to install the program?" (yes, no). How can I remove this prompt to the users side using a batch command?
    Please advise me. I would like to run my scrip on the users' background for them not to be disturbed. 
    Thanks in advance.

    We reported at the end of July that the feature and software string freeze was in effect for the Fedora 23 Alpha starting with July 29. We also reported the fact that the Alpha build of the Fedora 23 Linux operating system was initially scheduled for release on August 11, 2015."At the Fedora 23 Alpha Go/No-Go Meeting #2 that just occurred, it was agreed to Go with the Fedora 23 Alpha by Fedora QA, Release Engineering and Development," says Jan Kurik, Fedora Program Manager at Red Hat. "Fedora 23 Alpha will be publicly available on Tuesday, August 11, 2015."Therefore, this is probably one of the few Fedora Linux versions to respect the initial release schedule. The development cycle of Fedora 23 will continue with the release of the Beta build on September 22, and the final release of the operating system on October 27, 2015, if...

  • Need Help with scripting for Automator/AppleScript.

    Hi everybody,
    I am building a small app for my mac, What I need is a script that can rename a file that I drop on it.
    and example being:
    example.jpg
    (when I drop it on the app, I want the app to change the filename of the document to "Image.jpg"
    I have tried this with Automator, but it requires that I specify the file to be changed, what I need is something that will change the name of any file I drag onto it.
    I am using it for application specific files.
    Kind regards,
    Pete.
    iBook G4; 60GB Hard Drive, 512MB RAM, Airport Extreme    

    Open the Script Editor in the
    /Applications/AppleScript/ folder and enter the
    following:
    on open(the_file)
    tell application "Finder"
    set name of the_file to "Image"
    end tell
    end open
    Save this script as an application.
    (11347)
    this script compiled correctly; however when run it returned the following error "Can't set name of (the_file) to "Image.jpg"
    I am also given the option of editing the script or just quitting.
    thanks for your help

  • Automatic Batch Determination for Subcontracting Process(ME2ON)

    Dear All,
    When we are issuing the components to subcontracting vendor in ME2ON t-code, system is not picking the batch automatically like while creating delivery. In Sales for automatic batch determination they are using item category group but for subcon. order we have only delivery type.
    Is SAP will support automatic Batch determination while issue the goods through ME2ON?
    If yes kindly revert back.
    Thanks &Regards,
    Edited by: Priya on Nov 7, 2011 11:40 AM

    Hi,
    Go to SPRO > Logistics - General > Batch Management > Batch Determination and Batch Check > Batch Search Procedure Allocation and Check Activation > Allocate IM Search Procedure/Activate Check > Here assign Batch Search Procedure "ME0001" to Movement Type 543 O
    Then go to MBC1 and maintain condition record for Strategy Type ME02 i.e. Plant and here keep selection method as "O"
    In MIGO, click on "Stock Determination" button for automatic batch determination.

  • Script for automated partitioning in the next official release?

    Disclaimer: don't run it with root privileges unless /dev/sda is a blank disk. You have been warned.
    # dhcpcd
    # curl sprunge.us/WATU > autopart #Uppercase required.
    # nano autopart
    # sh autopart
    http://sprunge.us/WATU
    Tested in VirtualBox.
    I remember that the AIF used 100 MB for /boot and 7.4 GB for "/". Close enough, right?
    Users can also edit the script and make their own version. What do you think?
    Last edited by DSpider (2012-08-07 08:22:26)

    DSpider wrote:
    Here's what it looks like multiplied by 1024: http://i.imgur.com/fttkB.png
    And here's what it looks like by 1000: http://i.imgur.com/oaCxF.png
    I don't know about you, but I very much dislike 7.81 GB, 1.95 GB, etc. If you're going to test it in VirtualBox, please create a virtual drive of at least 15.1 GB (100+8+2+5), or, you know, use smaller numbers. Also, using "Dynamic Size" only takes up about 60 MB or so of actual space, so you may as well create a 20 GB+ virtual drive.
    I am doing the max calculation directly on my desktop computer and using 1000 is the only result that corresponds to the label on the disk, so to speak. I'm not sure though, have to look closer at this when I get the time.

  • Router script for Automated router changes

    I am new to the scripting world and do need assistance in developing a script that will assist me to perform the following tasks when executed
    1] remove all existing tunnels
    2] remove dialer/BVI interface
    3] create new DMVPN tunnel
    - tunnel x--- MPLS connection to data center
    -tunnel y--- Guest traffic
    4] Configure interface gi0/2 for broadband connection
    - negotiate DHCP addresses
    5] remove RIP routing
    6] remove EIGRP routing
    7] remove route-map pbr-dsl
    8] remove route-map pbr-extsrv
    9] create route-map for internet traffic over verizon ( pbr-verizon)
    - set interface gi0/2
    10] create route-map for internet traffic over mpls (pbr-mpls)
    - set interface ser0/0
    11] apply pbr-verizon to VLANS 10,20,30,40
    12] modify NAT statement
    13] create inbound and outbound ACL for Gi0/2 interface
    - permit udp gre traffic from VIP
    - permit tcp any any established
    -permit tcp any any eq ftp-data
    -permit udp any any eq domain
    14] combine all other ACL to ensure no blocking will occur based on all internet traffic from verizon and not mpls

    Joseph,
    My question is on syntax when using username and password.  I'm stuck on a script that I found here on the support forums that is using the Expect command. 
    My goal is to run the script from a host monitoring server using a device list file to go out and telnet into each one of the routers to run a "Show Inventory" command. 
    All the routers are using local AAA with username and password to get to the Privledged Exec mode.  Here's a copy of my script.  I have bolded the parts that I'm curious if correct.  If you could check over it and let me know where my mistakes (If any) are located, I'd appreciate it.  Thanks, Brandon
    # Here, we specify all our commands in a list, that we will issue one
    # by one at a later time.
    set commands {
        "show inventory"
    # This variable is for a file called hosts.txt that has the hostname/IP
    # of all of the routers you are collecting information from.
    set device_list [read [open "hosts.txt"]]
    # Specify the username and password, as well as what we expect the routers'
    # prompt to be.
    set username "blah"
    set pass "mypassword1234"
    set prompt "#"
    # This command tells expect not to echo the output to the console.
    exp_log_user 0
    # We loop through each device in our list, one by one...
    foreach device $device_list {
        # Set each device's log file to be the name of the device...
        # (i.e. router1.location.com-log.txt)
        set file_name "$device-log.txt"
        # Assuming you are using PuTTY, and have plink.exe, we initiate the SSH
        # connection
        exp_spawn plink.exe -telnet $device
        # If we see a message asking about the device's host key, accept it.
        expect -re ".*ogin:" {
            exp_send "$username\r"
            exp_send "$pass\r"
        # We log our output from each router to its specified file.
        exp_log_file -a $file_name
        # Loop through each command that we specified earlier.
        foreach cmd $commands {
            expect -re $prompt {
                exp_send "$cmd\r"
                exp_sleep 1
        # Now we enter enable mode for the running-config
        expect -re $prompt {
            send "en\r"
        expect -re ".*assword:" {
            send "$enable_pass\r"
        expect -re $prompt {
            send "term len 0\r"
        expect -re $prompt {
            send "show running-config\r"
        expect -re $prompt {
            exp_send "quit\r"
        # Turn off logging.
        exp_log_file

  • Script for automator to names jpegs with incorrect metadata date

    I use Automator to name my images YYYYMMDDHHMMSSname.jpg. Some images have the incorrect time stamp because I forgot to change the camera time while traveling in a different time zone. How do I write a script to correct this?
    G5, dual 2 GHz   Mac OS X (10.4.8)  

    If your camera records EXIF data with each jpeg, then try using EXIF Renamer rather than Automator.
    20 iMac G5, 1.25Gb RAM, 20Gb iPod, iSight   Mac OS X (10.4.8)   Newton 2100, 2000 (upgraded).

  • Script for automation.

    Rhel 5.
    11.2.0.3
    Any body have idea how to write a scripts to fullfill below requirments.
    script 1) Change Partition name and subpartition name ( Range Hash). First List and then change.
    script 2) Estimate Size and then purge data of selected partition by exchanging into a separate table.
    any help will be highly appreciated!!
    My workaround is
    *1) script 1*
    i) partition and sub partition listening.
    select table_name, PARTITION_NAME,TABLESPACE_NAME from user_tab_partitions where table_name='XXXX';
    select partition_name,TABLESPACE_NAME from user_segments where segment_name='XXXX';
    partition and subparition renaming
    ii) partition and sub parition renaming.
    alter table <tablename> rename partition <old parition name> to <new parition name>;
    ALTER TABLE <tablename> RENAME SUBPARTITION <old-partition-name> TO <new-partition-name>;
    *2) scrpit 2*
    I) Estimate size of sub parition
    select substr(partition_name,1,7) p_name,sum(bytes)/1024/1024 "MB" from user_segments where segment_name='INFO' group by substr(partition_name,1,7);
    ii) Exchange parition.
    a) create a table with sub parition type i.e hash parition table
    b) create new table rang hash.
    c) first exchange partition with sub partition type table than exchange sub partition type table with new rang hash partition.
    alter table <old range hash table> exchange partition <partition name> with table <sub type hash table>;
    alter table <sub type hash table> exchange partition <partition name> with table <new range hash table>;
    Now my question is how can i read partition and sub parition names in script and than rename and exchange it dynamically??.
    Edited by: Kh$n on Apr 25, 2013 5:20 AM

    1) day wise not month wise.what? dont understand sorry, plase elaborate it.
    2) i dn.t want to truncate it directly before truncating i want to save that data to another table thats why am exchanging it.with an example:
    SQL> CREATE TABLE my_table
      2  (id  NUMBER(5),
      3  name VARCHAR2(30),
      4  mydate    DATE)
      5  PARTITION BY RANGE(mydate)
      6  (
      7  PARTITION january2013 VALUES LESS THAN(TO_DATE('01/02/2013','DD/MM/YYYY')),
      8  PARTITION february2013 VALUES LESS THAN(TO_DATE('01/03/2013','DD/MM/YYYY')),
      9  PARTITION march2013 VALUES LESS THAN(TO_DATE('01/04/2013','DD/MM/YYYY')),
    10  PARTITION april2013 VALUES LESS THAN(TO_DATE('01/05/2013','DD/MM/YYYY'))
    11  );
    Tabla creada.
    SQL> insert into my_table values (1, 'Fran', '01/01/2013');
    1 fila creada.
    SQL> insert into my_table values (1, 'Mike', '11/02/2013');
    1 fila creada.
    SQL> insert into my_table values (1, 'Donald', '11/03/2013');
    1 fila creada.
    SQL> insert into my_table values (1, 'Anna', '11/03/2011');
    1 fila creada.
    SQL> commit;
    Confirmaci¾n terminada.
    SQL>
    SQL> select * from my_table;
            ID NAME                           MYDATE
             1 Fran                           01/01/13
             1 Anna                           11/03/11
             1 Mike                           11/02/13
             1 Donald                         11/03/13
    SQL> create table my_new_table(id number(5), name varchar2(30), my_date date);
    Tabla creada.
    SQL> select * from my_new_table;
    ninguna fila seleccionada
    SQL> ALTER TABLE my_table
      2  EXCHANGE PARTITION march2013
      3  WITH TABLE my_new_table;
    Tabla modificada.
    SQL> select * from my_new_table;
            ID NAME                           MY_DATE
             1 Donald                         11/03/13
    SQL> select * from my_table;
            ID NAME                           MYDATE
             1 Fran                           01/01/13
             1 Anna                           11/03/11
             1 Mike                           11/02/13With this you directly exchange data from partition to a table, don't need to purge the partition.

  • Help with a script for checking processes

    hello,
    I have the following script
    while :
    do
    date
    ps -ef |grep f60runm | wc -l
    sleep 60
    done
    I would like this script to also add to a txt file so that I can see the activity overnight.
    rgds
    Alan

    Well, if the commands are in a script:
    script.sh >> /path/to/logfile.log
    or you could do this inside the script:
    LOGFILE="/path/to/logfile.log"
    while :
    do
    date >> $LOGFILE
    ps -ef |grep f60runm | wc -l >> $LOGFILE
    sleep 60
    done

  • Batch Script for Logging Outline Change(s)

    In 11.1.2.2., is there a way of automatically generating a maintenance log to keep track of each time making changes to the outline?
    I haven't seen it in the docs, but figured that I should double check with the forum...

    You will get a better answer in Essbase forum
    However go through
    http://docs.oracle.com/cd/E17236_01/epm.1112/esb_tech_ref/outlinechangelog.html
    http://docs.oracle.com/cd/E17236_01/epm.1112/esb_tech_ref/outlinechangelogfilesize.html
    This is what you are looking for. I'll use that with caution, because it can cause a performance degradation.
    During a restructure, Essbase holds outline change information in memory until all updates have been made to the outline change log. Turning on the outline change log might affect your restructure performance, particularly after dimension builds of several hundred or more members.Regards
    Celvin
    http://www.orahyplabs.com

Maybe you are looking for

  • Network halted after upgrade to 1/6

    I updated my Solaris 10 3/5 x86 build to the 1/6 build. After what appeared to be successful completion, my network no longer works. ifconfig reports the interface as up, all the relevent files mentioned in sys-unconfig look correct (I ran sys-unconf

  • Jsp taglibs in include files not detected, throws errors, no code insight

    I have a jsp which is included in all the other jsp. it looks something like this taglibs.jsp <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %> <%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %> <%@ taglib uri="http://ww

  • Use of Gif With Animination In Forms 6i

    Hai everone, i am trying to use GIF FILE with Animination in forms 6i but it not working Animination is not working can any one help me or any one have designed form pls help to find solution. Thanx

  • Opening Lock on a MAC to download the Flash Player

    I have a MAC and can not unlock the lock to download the Flash player.  When I enter my ID and Password it does a little wiggle. I tried my Apple password as I have in the past and it didnt work I then tried my Adobe password and that didn't work eit

  • Viewing both RAW and JPEG files in iPhoto (or somehow on a Mini)

    I'll be traveling later this year and I'm looking to get a tablet so I can view and do some light editing of my images while I'm on the road. If I use the new Apple SD card reader to download image files from my camera to the iPod Minin, it is my und