Script or Allocation.

Hi Everybody,
I have a problem and I am little confused about what to do. Here is my situation I try to do cost budget and l have 3 specific dimension for tha problem.
1 material
2 mark
3 category
l must write a script logic that is
Giro*Percentage and l am getting giro data from selling budget with destination application but when l take this data it is created only according to material dimension. This mean that l know only material giro. But in my application users will enter data for Percantage and according to mark and category dimensions.
However main problem is that when we created material dimension we added 8 properties for mark and category because each material also is under some marks and categories. Now data l want to multiply doesn't have shared points. Solution l think for that problem is allocation I can read material giro from properties for mark and category but it is very complicated because there is 8 properties in material dimension. l care that is there any solution to multiply this two data even their situation is like that. As a result I want to write data for materials and users will be able to view any mark and category giro.
Thanks For Your Replies.
Kasim SENGUL

Hi Nitin,
Both - script WHEN/ENDWHEN with multiple REC or script with RUNALLOCATION can be used. For allocation:
*RUNALLOCATION
*FACTOR=1
*DIM ENTITY WHAT=BASESOURCE; WHERE=BAS(PARENTTARGET)
*ENDALLOCATION
Vadim

Similar Messages

  • Allocation with hierarchies

    Hi,
    I have two questions regarding allocation in BPC 10 for NW:
    1. I have in ACCOUNT dim two hierarchies: PARENTH1 and PARENTH2. When creating logic script for allocation I want to define data scope for node BEAPA in hierarchy PARENTH1 and I did it this way:
    *XDIM_MEMBERSET ACCOUNT=BAS(BEAPA)
    What if I have the same node in hierarchy PARENTH2? I made several tries combining BAS(BEAPA) with PARENTH1 but I had no luck...
    2. I want to allocate plan data evenly among children of a node. In documentation I read that I shoudl use "*FACTOR = 1/COUNT" for that but when I run package I get error:
    ------------ ABAP Code Generation Error:4 -------------
    MESSAGEGTUField "COUNT" is unknown. It is neither in one of the specified tables nor defined by a "DATA" statement. "DATA" statement.
    Line11 WordCOUNT
    My ALLOCATION script code below:
    *XDIM_MEMBERSET ACCOUNT=BAS(BEAPA),BAS(BEAPC)
    *XDIM_MEMBERSET TIME=2006.01
    *XDIM_MEMBERSET CATEGORY=Plan,Budget
    *XDIM_MEMBERSET AUDITTRAIL=Input
    *XDIM_MEMBERSET ENTITY=CSO
    *XDIM_MEMBERSET INTERCO=I_DE
    *XDIM_MEMBERSET PRODUCT=ProductA
    *XDIM_MEMBERSET RPTCURRENCY=EUR
    *XDIM_MEMBERSET MEASURES=PERIODIC
    *RUNALLOCATION
    *FACTOR = 1/COUNT
    *DIM CATEGORY WHAT=Plan ;WHERE=Budget;
    //Using={expression}; Total={expression}
    *DIM ACCOUNT WHAT=BEAPA.1PL ;WHERE=BAS(BEAPA)  ;
    *ENDALLOCATION
    Regards,
    Andrzej

    Hi Vadim,
    re 1 - thanks!
    re 2 - in handbook for training BPC420 "SAP BusinessObjects Planning and Consolidation, Version for SAP NetWeaver: Administration"
    Anyway is there any way to distribute evenly?
    Regards,
    Andrzej

  • Rman/PERL scripts errors

    I am trying to automate the backups and disk maintenence on a test machine using a "Host Command" in the 10g EM environment. If I run the script from the command on the target host the scripts completes successfully.
    This is the script:
    ORACLE_HOME=/u01/app/oracle/product/9.2.0
    export ORACLE_HOME
    ORACLE_SID=coeusdba.
    export ORACLE_SID
    rman <<EOF
    connect target sys<password>@coeusdba;
    connect catalog <user>/<password>@recv;
    replace script coeusdba_full_bkp { 
    allocate channel Channel1 type disk format '/u03/orabkp/coeusdba/b_%u_%p_%c';
    backup
    ( database include current controlfile );
    backup ( archivelog all delete input );
    run { execute script coeusdba_full_bkp;}
    EOF
    /u01/app/oracle/product/9.2.0/dbs/scripts/coeusdba_new.sh
    exit
    When I execute the same script from a 10g EM "Host Command" job the script fails at the PERL command step with the following output:
    Recovery Manager: Release 9.2.0.7.0 - Production
    Copyright (c) 1995, 2002, Oracle Corporation. All rights reserved.
    RMAN>
    RMAN>
    connected to target database: COEUSDBA (DBID=1916078485)
    RMAN>
    RMAN>
    connected to recovery catalog database
    RMAN> 2> 3> 4> 5> 6> 7> 8>
    replaced script coeusdba_full_bkp
    RMAN>
    RMAN>
    executing script: coeusdba_full_bkp
    allocated channel: Channel1
    channel Channel1: sid=10 devtype=DISK
    Starting backup at NOV-01-2005 10:32:32
    channel Channel1: starting full datafile backupset
    channel Channel1: specifying datafile(s) in backupset
    including current controlfile in backupset
    input datafile fno=00006 name=/u02/oradata/coeusdba/users01.dbf
    input datafile fno=00002 name=/u03/oradata/coeusdba/undotbs01.dbf
    input datafile fno=00004 name=/u03/oradata/coeusdba/index01.dbf
    input datafile fno=00005 name=/u03/oradata/coeusdba/tools01.dbf
    input datafile fno=00007 name=/u03/oradata/coeusdba/xdb01.dbf
    input datafile fno=00001 name=/u02/oradata/coeusdba/system01.dbf
    input datafile fno=00003 name=/u02/oradata/coeusdba/drsys01.dbf
    channel Channel1: starting piece 1 at NOV-01-2005 10:32:33
    channel Channel1: finished piece 1 at NOV-01-2005 10:33:28
    piece handle=/u03/orabkp/coeusdba/b_3rh2l4q1_1_1 comment=NONE
    channel Channel1: backup set complete, elapsed time: 00:00:55
    Finished backup at NOV-01-2005 10:33:28
    Starting backup at NOV-01-2005 10:33:29
    current log archived
    channel Channel1: starting archive log backupset
    channel Channel1: specifying archive log(s) in backup set
    input archive log thread=1 sequence=49 recid=200 stamp=573215609
    channel Channel1: starting piece 1 at NOV-01-2005 10:33:32
    channel Channel1: finished piece 1 at NOV-01-2005 10:33:33
    piece handle=/u03/orabkp/coeusdba/b_3sh2l4rr_1_1 comment=NONE
    channel Channel1: backup set complete, elapsed time: 00:00:02
    channel Channel1: deleting archive log(s)
    archive log filename=/u04/arch/coeusdba/1_49.dbf recid=200 stamp=573215609
    Finished backup at NOV-01-2005 10:33:35
    Starting Control File and SPFILE Autobackup at NOV-01-2005 10:33:35
    piece handle=/u04/orabkp/coeusdba/ctl_file_bkps/c-1916078485-20051101-00 comment=NONE
    Finished Control File and SPFILE Autobackup at NOV-01-2005 10:33:38
    released channel: Channel1
    RMAN>
    RMAN>
    Recovery Manager complete.
    syntax error at /u01/app/oracle/product/9.2.0/EM10g_1/perl/lib/5.6.1/warnings.pm line 306, near "{^"
    syntax error at /u01/app/oracle/product/9.2.0/EM10g_1/perl/lib/5.6.1/warnings.pm line 311, near "{^"
    BEGIN failed--compilation aborted at /u01/app/oracle/product/9.2.0/EM10g_1/perl/lib/5.6.1/English.pm line 38.
    BEGIN failed--compilation aborted at /u01/app/oracle/product/9.2.0/dbs/scripts/rmanc.pl line 20
    Is anyone having this problem in 10g and if so , can you provide me with some insight with respect to resolution?

    The .sh script calls a perl script that parses the output of the report obsolete command in rman and deletes the obsolete datasets from disk. This shell completes from the command line with no errors. Here is the .sh and the perl script. Like I said the odd thing is that this shell executes successfully from the command line. Thanks for your interest in looking at this.
    cat coeusdba_new.sh
    /u01/app/oracle/product/9.2.0/dbs/scripts/rmanc.pl target sys/<password>@coeusdba catalog rmantest/<password>@recv redundancy 2
    rmanc.$ cat rmanc.pl
    #!/usr/bin/perl -w
    # NAME
    # rmanc.pl - delete obsolete backups and copies
    # DESCRIPTION
    # This perl script automates deletion of obsolete datafilecopies and
    # backup pieces. It uses perl strin manipulation to process the output of the RMAN
    # "report obsolete" command and creates rm commands to delete the files
    # NOTES
    # Some customization is necessary.
    # Adapted from Oracle 8i rman1.sh Unix shell script.
    # benmalek 03/08/2003 - Modified to delete backup sets and datafilecopies only
    # Does not touch backup records.
    use strict;
    #use English;
    #$ENV{ORACLE_OWNER}='oracle';
    #$ENV{ORACLE_HOME}='/disk01/app/oracle/product/9.2.0';
    $ENV{NLS_DATE_FORMAT}='DD-MON-YYYY:HH24:MI:SS';
    &PrintEnv;
    sub Usage {
    my ($arg1, @arg2) = @_;
    my $base_name = `basename $0`;
    chop($base_name);
    CASE: {
    if (!defined($arg1)) {last CASE; }
    if ($arg1 =~ /\S/) {print ("\nUnknown argument or incorrect value for: $arg1\n\n"); last CASE; }
    my $example1 = 'rmanc.pl target sys/orclpass@orcl catalog rman/rmanpass@rec redundancy 5';
    my $example2 = 'rmanc.pl target sys/orclpass@orcl nocatalog redundancy 5';
    my $usage_txt =
    " Usage: $base_name [option] ...
    option: [target CNCTSTR] [catalog CNCTSTR | nocatalog] [params 'PARMS'] [redundancy NUMBER]
    Option Description
    target CNCTSTR Connect to the target db using CNCTSTR.
    catalog CNCTSTR Connect to catalog db using CNCTSTR.
    nocatalog Don't use a recovery catalog.
    parms 'PARMS' Use PARMS string for SBT_TAPE maintenance channel.
    You can use single or double quotes depending on
    your needs. In the rman script, single-quotes
    will be used.
    redundancy NUMBER Set redundancy of backups to NUMBER.
    The catalog or nocatalog option must be specified. All others are optional
    The target option must also be specified
    Examples:
    $example1
    $example2 ";
    print ("$usage_txt \n");
    die "Exiting subroutine 'Usage'.\n";
    # Initialize default connect string variables:
    my $target=""; # force user to supply target option
    my $catalog=""; # force user to supply catalog option;
    my $parms="";
    my $redun=""; # force user to supply redundancy option;
    # process target and catalog arguments
    my $args = @ARGV;
    while ( $args > 0 ) {
    ARGS: {
    if (($ARGV[0] eq "target") && defined($ARGV[1]))
    {$target="$ARGV[0] $ARGV[1]"; shift(@ARGV); last ARGS;}
    if (($ARGV[0] eq "catalog" || $ARGV[0] eq "rcvcat") && defined($ARGV[1]))
    { $catalog="$ARGV[0] $ARGV[1]"; shift(@ARGV); last ARGS;}
    if ($ARGV[0] eq "nocatalog") { $catalog="$ARGV[0]"; last ARGS;}
    if (($ARGV[0] eq "parms") && defined($ARGV[1])) { $parms = "$ARGV[0] $ARGV[1]"; shift(@ARGV); last ARGS;}
    if (($ARGV[0] eq "redundancy") && defined($ARGV[1]) && !($ARGV[1] =~ /\D/))
    {$redun=$ARGV[1]; shift(@ARGV); last ARGS;}
    &Usage($ARGV[0]);
    shift(@ARGV);
    $args= @ARGV;
    if ((!defined($catalog) || $catalog eq "") || (!defined($target) || $target eq "") || (!defined($redun) || $redun eq "" )) {&Usage;}
    #print (" target=$target \n catalog=$catalog \n parms=$parms \n redundancy=$redun\n");
    # Get a list of obsolete disk files to delete:
    my @rman_out=`rman $target $catalog << EOF
    report obsolete redundancy=$redun device type disk;
    exit;
    EOF`;
    # debug
    print ("############################################\n");
    print ("Output of REPORT OBSOLETE REDUNDANCY=$redun\n");
    print @rman_out;
    print ("############################################\n");
    #my $command = `rman $target $catalog << EOF
    # report obsolete redundancy=$redun device type disk;
    # exit;
    # EOF"
    #open (RMAN, "$command |" );
    #my @rman_out=<RMAN>;
    # Extract the names of the obsolete files to delete
    my $line;
    my @files;
    my @dates;
    my @pieces;
    foreach $line (@rman_out) {
    if (($line =~ /Backup Piece/) && ($line =~ /\S/)) {
    my @fields=split (/\s+/, $line);
    my $nelem=@fields;
    push(@pieces, $fields[$nelem-3]);
    push(@dates, $fields[$nelem-2]);
    push(@files, $fields[$nelem-1]);
    # Verify files exists
    my $i=0;
    foreach $line (@files) {
    if (-e $line) {
    print ("Deleting backup piece or file copy: $pieces[$i] $dates[$i] $line\n");
    system("rm $line");
    } else {
    # print ("file $line does not exist. \n");
    $i = $i + 1;
    sub PrintEnv{
    my $var;
    foreach $var (sort keys %ENV) {
    print "$var: \"$ENV{$var}\".\n"
    pl

  • Insert Applescript in ObjC with variables?

    Hello,
    I know you can insert Applescript in ObjectiveC like this:
    NSString *myScript = [@"display dialog \"This a a dialog pop up\""];
    NSAppleScript *script = [[NSAppleScript alloc] initWithSource:myScript];       
    [script executeAndReturnError:nil];
    But if I want to use a variable, which is defined by ObjectiveC (before the applescript has started), how do I do that?!
    (Example:)
    NSString *myScript = [@"display dialog \"This a a dialog pop up\" & TheVariable"];
    NSAppleScript *script = [[NSAppleScript alloc] initWithSource:myScript];       
    [script executeAndReturnError:nil];
    OR
    NSString *myScript = [@"display dialog \"This a a dialog pop up\"" & TheVariable];
    NSAppleScript *script = [[NSAppleScript alloc] initWithSource:myScript];  
    [script executeAndReturnError:nil];
    OR
    NSString *myScript = (@"display dialog \"", TheVariable, @"\"");       
    NSAppleScript *script = [[NSAppleScript alloc] initWithSource:myScript];       
    [script executeAndReturnError:nil];
    The three scripts above doesn't work  
    My second question is How to set a ObjectiveC-variable to the return/output of an applescript?
    NSMutableString *scriptText = [NSMutableString stringWithString:@"property theapplescriptvariable : "Bye"\n"];
        [scriptText appendString:@"set theapplescriptvariable to \"Hi\"\n"];
       [scriptText appendString:@"return theapplescriptvariable\n"];
    (For the script above, it would be something like:)
    Set theObjCvariable to the output of [NSMutableString *scriptText]
    Please help,
    Isaiah

    Hi,
    Drake69 wrote:
    I want to use a variable, which is defined by ObjectiveC (before the applescript has started), how do I do that?
    Here is an example, %@ is the contents of the variable.
    NSString *theVariable = @"Hello world";
    NSString *myScript = [NSString stringWithFormat:@"display dialog \"This a dialog pop up, %@\"\nreturn button returned of the result\n", theVariable];
    NSLog(myScript);
    the log ---> display dialog "This a dialog pop up, Hello world"
    return button returned of the result
    Drake69 wrote:
    My second question is How to set a ObjectiveC-variable to the return/output of an applescript?
    Like this:
              NSString *scriptText = [NSString stringWithFormat:@"property theapplescriptvariable : \"Bye\"\n"
                                                                                          @"set theapplescriptvariable to \"Hi\"\n"
                                                                                          @"return theapplescriptvariable\n"];
              NSAppleScript *script = [[NSAppleScript alloc] initWithSource:scriptText];
              NSAppleEventDescriptor *resultDescriptor = [script executeAndReturnError:nil];
              NSString *output = [resultDescriptor stringValue];
              NSLog(output);
    the log --->  Hi

  • FREE SPACE Inconsistency

    Hi,
    I am using the following SQL to report on free space from a production database and it has reported free space incorrectly two days in a row even though nothing was deleted
    SELECT NVL(b.tablespace_name, NVL(a.tablespace_name,'UNKNOWN')) "Tablespace",
    ROUND(Mbytes_alloc,0) "Allocated MB",
    ROUND(Mbytes_alloc-NVL(Mbytes_free,0),0) "Used MB",
    ROUND(NVL(Mbytes_free,0),0) "Free MB",
    ROUND( ((Mbytes_alloc-NVL(Mbytes_free,0))/Mbytes_alloc * 100 ),2) "% Used",
    ROUND(Mbytes_maxalloc,0) "Max Allocated MB"
    FROM
    (SELECT SUM(bytes)/1024/1024 Mbytes_free,
    MAX(bytes) /1024/1024 largest,
    tablespace_name
    FROM sys.dba_free_space
    GROUP BY tablespace_name
    ) a,
    (SELECT SUM(bytes)/1024/1024 Mbytes_alloc,
    SUM(maxbytes) /1024/1024 Mbytes_maxalloc,
    tablespace_name,
    COUNT(*) data_files
    FROM sys.dba_data_files
    GROUP BY tablespace_name
    )b
    WHERE a.tablespace_name (+) = b.tablespace_name
    ORDER BY 5 DESC;
    On the Thursday, running the script reported the USERS tablespace as:
    Thursday:
    allocated mb: 44266
    used mb:     43977
    free mb: 289
    % Used: 99.35%
    maxsize mb: 69632
    On Friday, the script reported:
    allocated mb: 44266
    used mb: 43412
    free mb: 854
    % Used: 98.07%
    maxsize mb: 69632
    Why is it reporting a difference in FREE MB over two days when nothing has been deleted?
    Any help is appreciated.
    Thanks.

    You can prove no objects have been deleted by 1 - implementing auditing on tables and indexes so that all create, drops, and alters will be logged and available via the dba_audit_trail and associated views or 2 - You can take a snapshot of the objects assigned to the tablespace, store it in a table, and then the next day compare the contents of dba_segmetns verse the snapshot displaying any dropped or new objects. You could also capture size changes allowing you to show where free changes came from and also where free extents were consumed.
    I think DDL auditing is the best approach and that most all DDL should be audited on production databases. You should not be creating and dropping tables as part of normal production processing. I am not a big fan of DML auditing. However I have seen developers who write code that creates and drops tables. Generally I get the drop and create replaced with a call to a truncate procedure.
    You customer may not trust the audit results so you may want to set up auditing and perform option 2 as proof. Once you have proved your point then all you should need going forward is auditing; however, you may find running a option 2 process that tracks object extent changes useful as a space management tool especially if you do not have the EM Diagnostic and Performance Pack licenses so you cannot access the AWR (10g+).
    HTH -- Mark D Powell --

  • RMAN-backup slow perform

    I have one 10g SE database running on Linux x86_64; I have migrated this database resently with upgrade;
    I used export-import utilities for perform this task;
    Some information about this database:
    OS version: "Linux xxx.qqq.ru 2.6.18-194.3.1.el5 #1 SMP Sun May 2 04:17:42 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux"
    SQL> select * from v$version;
    BANNER
    Oracle Database 10g Release 10.2.0.4.0 - 64bit Production
    PL/SQL Release 10.2.0.4.0 - Production
    CORE 10.2.0.4.0 Production
    TNS for Linux: Version 10.2.0.4.0 - Production
    NLSRTL Version 10.2.0.4.0 - Production
    I noticed that rman perform backup operation too long; For example here I place piece of rman log from one database backup operation:
    executing script: backup_db_nfs
    allocated channel: nfs
    channel nfs: sid=1275 devtype=DISK
    Starting backup at 31-07-10 04:00:04
    channel nfs: starting full datafile backupset
    channel nfs: specifying datafile(s) in backupset
    input datafile fno=00028 name=/db/u12/oradata/billing/excellent_02.dbf
    input datafile fno=00030 name=/db/u12/oradata/billing/excellent_04.dbf
    input datafile fno=00032 name=/db/u12/oradata/billing/excellent_06.dbf
    input datafile fno=00034 name=/db/u12/oradata/billing/excellent_08.dbf
    input datafile fno=00029 name=/db/u11/oradata/billing/excellent_03.dbf
    input datafile fno=00031 name=/db/u11/oradata/billing/excellent_05.dbf
    input datafile fno=00033 name=/db/u11/oradata/billing/excellent_07.dbf
    input datafile fno=00035 name=/db/u11/oradata/billing/excellent_09.dbf
    channel nfs: starting piece 1 at 31-07-10 04:00:05
    channel nfs: finished piece 1 at 31-07-10 04:34:21
    piece handle=/db/backup/billing/rman_nfs/full_20100731.BILLING.2615.1.1 tag=BACKUP_DB_NFS comment=NONE
    channel nfs: starting piece 2 at 31-07-10 04:34:21
    channel nfs: finished piece 2 at 31-07-10 05:08:36
    piece handle=/db/backup/billing/rman_nfs/full_20100731.BILLING.2615.2.1 tag=BACKUP_DB_NFS comment=NONE
    channel nfs: starting piece 3 at 31-07-10 05:08:36
    channel nfs: finished piece 3 at 31-07-10 07:38:43
    piece handle=/db/backup/billing/rman_nfs/full_20100731.BILLING.2615.3.1 tag=BACKUP_DB_NFS comment=NONE
    channel nfs: backup set complete, elapsed time: 03:38:38
    channel nfs: throttle time: 3:###:42
    channel nfs: starting full datafile backupset
    channel nfs: specifying datafile(s) in backupset
    input datafile fno=00036 name=/db/u12/oradata/billing/excellent_10.dbf
    input datafile fno=00038 name=/db/u12/oradata/billing/excellent_12.dbf
    input datafile fno=00040 name=/db/u12/oradata/billing/excellent_14.dbf
    input datafile fno=00042 name=/db/u12/oradata/billing/excellent_16.dbf
    input datafile fno=00037 name=/db/u11/oradata/billing/excellent_11.dbf
    input datafile fno=00039 name=/db/u11/oradata/billing/excellent_13.dbf
    input datafile fno=00041 name=/db/u11/oradata/billing/excellent_15.dbf
    input datafile fno=00043 name=/db/u11/oradata/billing/excellent_17.dbf
    channel nfs: starting piece 1 at 31-07-10 07:38:43
    channel nfs: finished piece 1 at 31-07-10 08:13:18
    piece handle=/db/backup/billing/rman_nfs/full_20100731.BILLING.2636.1.1 tag=BACKUP_DB_NFS comment=NONE
    channel nfs: starting piece 2 at 31-07-10 08:13:18
    channel nfs: finished piece 2 at 31-07-10 08:47:24
    piece handle=/db/backup/billing/rman_nfs/full_20100731.BILLING.2636.2.1 tag=BACKUP_DB_NFS comment=NONE
    channel nfs: starting piece 3 at 31-07-10 08:47:24
    channel nfs: finished piece 3 at 31-07-10 11:17:20
    piece handle=/db/backup/billing/rman_nfs/full_20100731.BILLING.2636.3.1 tag=BACKUP_DB_NFS comment=NONE
    channel nfs: backup set complete, elapsed time: 03:38:37
    channel nfs: throttle time: 3:###:59
    channel nfs: starting full datafile backupset
    channel nfs: specifying datafile(s) in backupset
    input datafile fno=00044 name=/db/u12/oradata/billing/excellent_18.dbf
    input datafile fno=00046 name=/db/u12/oradata/billing/excellent_20.dbf
    input datafile fno=00047 name=/db/u12/oradata/billing/index_all_02.dbf
    input datafile fno=00049 name=/db/u12/oradata/billing/index_all_04.dbf
    input datafile fno=00045 name=/db/u11/oradata/billing/excellent_19.dbf
    input datafile fno=00048 name=/db/u11/oradata/billing/index_all_03.dbf
    input datafile fno=00050 name=/db/u11/oradata/billing/index_all_05.dbf
    input datafile fno=00052 name=/db/u11/oradata/billing/index_all_07.dbf
    channel nfs: starting piece 1 at 31-07-10 11:17:20
    channel nfs: finished piece 1 at 31-07-10 12:16:46
    piece handle=/db/backup/billing/rman_nfs/full_20100731.BILLING.2655.1.1 tag=BACKUP_DB_NFS comment=NONE
    channel nfs: starting piece 2 at 31-07-10 12:16:46
    channel nfs: finished piece 2 at 31-07-10 14:55:53
    piece handle=/db/backup/billing/rman_nfs/full_20100731.BILLING.2655.2.1 tag=BACKUP_DB_NFS comment=NONE
    channel nfs: backup set complete, elapsed time: 03:38:33
    channel nfs: throttle time: 3:###:02
    channel nfs: starting full datafile backupset
    channel nfs: specifying datafile(s) in backupset
    input datafile fno=00051 name=/db/u12/oradata/billing/index_all_06.dbf
    input datafile fno=00053 name=/db/u12/oradata/billing/index_all_08.dbf
    input datafile fno=00055 name=/db/u12/oradata/billing/index_all_10.dbf
    input datafile fno=00057 name=/db/u12/oradata/billing/index_all_12.dbf
    input datafile fno=00054 name=/db/u11/oradata/billing/index_all_09.dbf
    input datafile fno=00056 name=/db/u11/oradata/billing/index_all_11.dbf
    input datafile fno=00058 name=/db/u11/oradata/billing/index_all_13.dbf
    input datafile fno=00060 name=/db/u11/oradata/billing/index_all_15.dbf
    channel nfs: starting piece 1 at 31-07-10 14:55:53
    channel nfs: finished piece 1 at 31-07-10 18:34:30
    piece handle=/db/backup/billing/rman_nfs/full_20100731.BILLING.2674.1.1 tag=BACKUP_DB_NFS comment=NONE
    channel nfs: backup set complete, elapsed time: 03:38:37
    channel nfs: throttle time: 3:###:44
    channel nfs: starting full datafile backupset
    channel nfs: specifying datafile(s) in backupset
    input datafile fno=00019 name=/db/u12/oradata/billing/excellent_big_02.dbf
    input datafile fno=00021 name=/db/u12/oradata/billing/excellent_big_04.dbf
    input datafile fno=00068 name=/db/u12/oradata/billing/support_excl_04.dbf
    input datafile fno=00024 name=/db/u11/oradata/billing/excellent_big_07.dbf
    input datafile fno=00026 name=/db/u11/oradata/billing/excellent_big_09.dbf
    input datafile fno=00012 name=/db/u13/oradata/billing/pay_assist_01.dbf
    input datafile fno=00004 name=/db/u13/oradata/billing/users_01.dbf
    input datafile fno=00023 name=/db/u12/oradata/billing/excellent_big_06.dbf
    input datafile fno=00025 name=/db/u12/oradata/billing/excellent_big_08.dbf
    input datafile fno=00027 name=/db/u12/oradata/billing/excellent_big_10.dbf
    channel nfs: starting piece 1 at 31-07-10 18:34:30
    channel nfs: finished piece 1 at 31-07-10 21:59:27
    piece handle=/db/backup/billing/rman_nfs/full_20100731.BILLING.2695.1.1 tag=BACKUP_DB_NFS comment=NONE
    channel nfs: backup set complete, elapsed time: 03:24:57
    channel nfs: throttle time: 3:###:13
    channel nfs: starting full datafile backupset
    channel nfs: specifying datafile(s) in backupset
    input datafile fno=00059 name=/db/u12/oradata/billing/index_all_14.dbf
    input datafile fno=00061 name=/db/u12/oradata/billing/index_all_16.dbf
    input datafile fno=00063 name=/db/u12/oradata/billing/index_all_18.dbf
    input datafile fno=00065 name=/db/u12/oradata/billing/index_all_20.dbf
    input datafile fno=00062 name=/db/u11/oradata/billing/index_all_17.dbf
    input datafile fno=00064 name=/db/u11/oradata/billing/index_all_19.dbf
    input datafile fno=00015 name=/db/u12/oradata/billing/monitor_01.dbf
    channel nfs: starting piece 1 at 31-07-10 21:59:27
    channel nfs: finished piece 1 at 01-08-10 00:50:14
    piece handle=/db/backup/billing/rman_nfs/full_20100731.BILLING.2712.1.1 tag=BACKUP_DB_NFS comment=NONE
    channel nfs: backup set complete, elapsed time: 02:50:47
    channel nfs: throttle time: 2:###:07
    channel nfs: starting full datafile backupset
    channel nfs: specifying datafile(s) in backupset
    input datafile fno=00002 name=/db/u12/oradata/billing/undotbs_01.dbf
    input datafile fno=00011 name=/db/u12/oradata/billing/index_all_01.dbf
    input datafile fno=00009 name=/db/u12/oradata/billing/mviewlog_01.dbf
    input datafile fno=00008 name=/db/u11/oradata/billing/support_excl_01.dbf
    input datafile fno=00010 name=/db/u11/oradata/billing/excellent_01.dbf
    input datafile fno=00067 name=/db/u11/oradata/billing/support_excl_03.dbf
    input datafile fno=00007 name=/db/u11/oradata/billing/tpcctab_01.dbf
    input datafile fno=00013 name=/db/u11/oradata/billing/tpchtab_01.dbf
    input datafile fno=00005 name=/db/u13/oradata/billing/web_01.dbf
    input datafile fno=00006 name=/db/u13/oradata/billing/alien_users_01.dbf
    channel nfs: starting piece 1 at 01-08-10 00:50:14
    channel nfs: finished piece 1 at 01-08-10 02:08:00
    piece handle=/db/backup/billing/rman_nfs/full_20100801.BILLING.2729.1.1 tag=BACKUP_DB_NFS comment=NONE
    channel nfs: starting piece 2 at 01-08-10 02:08:00
    channel nfs: finished piece 2 at 01-08-10 03:40:46
    piece handle=/db/backup/billing/rman_nfs/full_20100801.BILLING.2729.2.1 tag=BACKUP_DB_NFS comment=NONE
    channel nfs: backup set complete, elapsed time: 02:50:32
    channel nfs: throttle time: 2:###:12
    channel nfs: starting full datafile backupset
    channel nfs: specifying datafile(s) in backupset
    input datafile fno=00016 name=/db/u12/oradata/billing/excellent_big_01.dbf
    input datafile fno=00017 name=/db/u12/oradata/billing/monitor_lob_01.dbf
    input datafile fno=00066 name=/db/u12/oradata/billing/support_excl_02.dbf
    input datafile fno=00020 name=/db/u11/oradata/billing/excellent_big_03.dbf
    input datafile fno=00022 name=/db/u11/oradata/billing/excellent_big_05.dbf
    input datafile fno=00069 name=/db/u11/oradata/billing/support_excl_05.dbf
    input datafile fno=00001 name=/db/u13/oradata/billing/system_01.dbf
    input datafile fno=00003 name=/db/u13/oradata/billing/sysaux_01.dbf
    input datafile fno=00018 name=/db/u13/oradata/billing/excl_addition_01.dbf
    input datafile fno=00014 name=/db/u13/oradata/billing/arm_xml_01.dbf
    channel nfs: starting piece 1 at 01-08-10 03:40:46
    channel nfs: finished piece 1 at 01-08-10 06:02:03
    piece handle=/db/backup/billing/rman_nfs/full_20100801.BILLING.2742.1.1 tag=BACKUP_DB_NFS comment=NONE
    channel nfs: backup set complete, elapsed time: 02:21:17
    channel nfs: throttle time: 2:###:51
    Finished backup at 01-08-10 06:02:03
    Size of this database:
    SQL> select sum(user_bytes)/1024/1024/1024 from dba_data_files;
    SUM(USER_BYTES)/1024/1024/1024
    456.025085
    I have another database that runs on the same hardware platform, eith the same configuration, and under the same OS. and oracle instance has the same configuration (except oracle version: there is 9.2.0.8);
    Size of this, database is ~700Gb, and this database load is heavier that database with slow rman;
    But on this database rman makes full-db backup in 10 hours, usually;
    I read note 360443.1, and I checked - how long rman perform full database backup with validate option;
    This time, practicaly, is equal database backup time ~24 hours;
    Almost all database datafiles are splaced on disk array - stripe 10 and /db/u11 and /db/u12 - are mount points of two partitions created on this disk array;
    /db/u13 - this is raid 5;
    Now I wish to know in details - where time is spent and my question is: can anybody suggest me - what should I do for find it;

    Instance configuration
    audit_file_dest      /var/log/oracle/billing/audit      
    audit_sys_operations      TRUE      
    audit_trail      OS      
    background_dump_dest      /var/log/oracle/billing/bdump      
    compatible      10.2.0.3.0      
    control_files      /db/u11/oradata/billing/ctrl00.ctl, /db/u12/oradata/billing/ctrl01.ctl, /db/u00/oradata/billing/ctrl02.ctl, /db/u13/oradata/billing/ctrl03.ctl      
    core_dump_dest      /var/log/oracle/billing/cdump      
    db_block_checking      TRUE      
    db_block_checksum      TRUE      
    db_block_size      8192      
    db_cache_advice      ON      
    db_cache_size      24696061952      
    db_file_multiblock_read_count      64      
    db_keep_cache_size      3221225472      
    db_name      billing      
    db_recycle_cache_size      3221225472      
    db_writer_processes      4      
    disk_asynch_io      FALSE      
    dispatchers      (protocol=tcp)(listener=mts_1522)(dispatchers=2), (protocol=tcp)(listener=mts_1523)(dispatchers=2)      
    filesystemio_options      DIRECTIO      
    global_names      FALSE      
    java_pool_size      1342177280      
    job_queue_processes      10      
    large_pool_size      536870912      
    lock_sga      TRUE      
    log_archive_dest      /db/archive/billing      
    log_archive_format      %T_%S_%r.arclog      
    log_buffer      144326144      
    log_checkpoint_interval      10000      
    log_checkpoints_to_alert      TRUE      
    log_checkpoint_timeout      0      
    max_dispatchers      5      
    max_dump_file_size      100M      
    max_shared_servers      350      
    nls_date_format      DD.MM.RR      
    nls_language      AMERICAN      
    nls_numeric_characters      .,      
    nls_territory      RUSSIA      
    open_cursors      1500      
    open_links      17      
    open_links_per_instance      34      
    optimizer_index_caching      90      
    optimizer_index_cost_adj      15      
    optimizer_mode      RULE      
    pga_aggregate_target      24696061952      
    processes      1200      
    query_rewrite_enabled      TRUE      
    remote_login_passwordfile      EXCLUSIVE      
    resource_limit      TRUE      
    session_cached_cursors      900      
    sessions      1500      
    sga_max_size      38654705664      
    sga_target      38654705664      
    shared_pool_size      3221225472      
    shared_servers      150      
    shared_server_sessions      1000      
    star_transformation_enabled      FALSE      
    timed_statistics      TRUE      
    undo_management      AUTO      
    undo_retention      10800      
    undo_tablespace      UNDOTBS1      
    user_dump_dest      /var/log/oracle/billing/udump      
    workarea_size_policy      AUTO
    You can see here that parameter filesystemio_options      has value DIRECTIO;
    This is becouse last week I had accident on this database and, as result, I had to turn off async io for oracle;
    All time before, since database mirgate moment, this parameter had value SETALL, and disk_asynch_io parameter had value true;
    And rman has kept his inappropriate behaviour since this time (e.g.: since database mirgate);

  • RMAN Script is not allocating channels

    I have a customer who is running a Solaris Server with Oracle 9i and is trying to backup using an RMAN script to define the channels to back up to through Networker.
    The script is as follows:
    run {
    allocate channel t1 type "sbt_tape";
    allocate channel t2 type "sbt_tape";
    send 'NSR_ENV=(NSR_SERVER=XXXX,NSR_DATA_VOLUME_POOL=Default)';
    sql 'alter system archive log current';
    change archivelog all crosscheck;
    set command id to 'bkrs';
    backup
    filesperset 20
    archivelog all
    delete input;
    release channel t1;
    release channel t2;
    Normally there are 3 channel allocations, but for some reason this does not work. He can only get 1 channel to work at a time which is impacting Backup Performance.
    There are no errors logged in the log files which is also odd. The device parallelism is 4 under Networker
    The version of Networker is 7.1
    Anyone else had any similar issues - I have been scratching my head on this for a while, or if anyone has any ideas on how to troubleshoot this I would appreciate any help
    Thanks

    I have now found some error information. Please see below.
    RMAN-00571: ======================================
    RMAN-00569: ===== ERROR MESSAGE STACK FOLLOWS =====
    RMAN-00571: =======================================
    RMAN-03009: failure of allocate command on t1 channel at 04/08/2004 10:37:02
    ORA-19554: error allocating device, device type: SBT_TAPE, device name:
    ORA-27211: Failed to load Media Management Library
    Any help much appreciated !!!!!

  • Allocations with Script Logic

    Hi Experts,
    We're trying to run script logic for allocations, but aren't able to sum to values to one Costelement.
    In the Account dimension we have:
    - Costelements (CE)
    - Keyfigures (KF)
    - Prices (PR)
    What we want to do is:
    write (KF_A * PR_A) + (KF_B * PR_B) to CE_A
    Any suggestions on the right syntax would be very welcome.
    Regards,
    Vincent

    Hi,
        Can you explain me clearly so that i can give you solution.
    Regards,
    Naresh.K

  • Logic script allocation

    hi experts,
          i'm creating a logic for the salaries of my manpower application..my script goes like this:
    *RUNALLOCATION
    *FACTOR=1
    *DIM ACCOUNT          WHAT=E040013;           WHERE=<<<;        
    *DIM ANALYTIC        WHAT=UD1200001L;                 WHERE=UD1200001D;
    *DIM TIME                  WHAT=%TIME_SET%;    WHERE=BAS(%YEAR%.TOTAL);
    *DIM TIME                  WHAT=%TIME_SET%;    WHERE=bas(%YEAR%.Total);
    *ENDALLOCATION   
    *COMMIT
    my problem is, i want to allocate the salary starting from the modified date (%TIME_SET%) up to december of the current year...
    in short, if im going send an amount of 1000 on the month of february, the 1000 amount would be allocated starting from march upto december of the current year...
    is it possible to do this in script logic or do i have to create a stored procedure to do this allocation and call it to my scrip logic...
    can somebody please help or suggest any ideas to do this...thank you......

    Hi,
    Since, you have specified the factor as 1, I believe you want to post the same value in all the months. In that case, you can try using the following code:
    *SELECT(%MY_TIME%,"ID","TIME","YEAR = '%YEAR%' AND MONTHNUM > '%TIME_SET%.PROPERTY(MONTHNUM)' AND MONTHNUM <= '12'")
    *RUNALLOCATION
    *FACTOR=1
    *DIM ACCOUNT WHAT=E040013; WHERE=<<<;
    *DIM ANALYTIC WHAT=UD1200001L; WHERE=UD1200001D;
    *DIM TIME WHAT=%TIME_SET%; WHERE=%MY_TIME%;
    *ENDALLOCATION
    *COMMIT
    In the select statement, we are trying to fetch all the IDs for which the year is going to the year of the time selected by the user, the month should be greater than the month of the input by user and the month should be less or equal to 12. Logically, this is right. We just need to work on the proper syntax.
    Try the above code. In case of any error, let me know. We will try to address that.
    Hope this helps.
    Edited by: nilanjan chatterjee on Feb 12, 2010 12:51 PM
    Edited by: nilanjan chatterjee on Feb 12, 2010 12:52 PM - Made a small change in the code

  • Sample allocation script example starting from non-root parent.

    I have a client with multiple planning entities. Most of them wish to plan at the bottom level and aggregate up. However, one planning entity wishes to plan at a higher level, and allocate this to the bottom level for a particular dimension. So my allocation script would need to start with the parent of that entity, and allocate only for the measure in question for that entity's descendants. Is there a sample allocation script that that user could invoke to do the spread on a measure (because they also later wish to plan at level zero also - only some of the time).
    Thank you.

    Please refer to the Oracle By Example sample located here:
    http://www.oracle.com/technology/obe/hyp_iop/iop401/iop_create_allocation_map.htm

  • Send parameters  to Allocation script

    Hi experts, I have an "Allocation Script" working well, but now I want to send parameters to "Allocation Script", I looked in this forum and have not found information, I am sending the package setting and the "Allocation Script"
    PACKAGE INFO
    'DEBUG(ON)
    PROMPT(SELECTINPUT,,,"Seleccionar Categoria ",%CATEGORY_DIM%)
    TASK(Traslado,USER,%USER%)
    TASK(Traslado,APPSET,%APPSET%)
    TASK(Traslado,APP,%APP%)
    TASK(Traslado,SELECTION,%SELECTIONFILE%)
    TASK(Traslado,LOGICFILE,%APPPATH%\..\AdminApp\%APP%\TopDownPremisas.lgx)
    TASK(Traslado,RUNMODE,1)
    TASK(Traslado,LOGICMODE,1)
    ALLOCATE
    *RUNALLOCATION
       *FACTOR=(1+USING)
       *APP                                                 WHAT=GASTOSADM;             WHERE=<<<;                   USING=<<<;
       *DIM ACCOUNTGASTO                 WHAT=BAS(706);               WHERE=<<<;              USING=799Porcentaje
       *DIM RPTCURRENCY                         WHAT=LC;                               WHERE=<<<;              USING=<<<
       *DIM DATASRC                              WHAT=INPUT;                       WHERE=<<<;              USING=<<<
       *DIM AGENCIA                              WHAT=BAS(999);                    WHERE=<<<;              USING=9999
       *DIM DEPENDENCIA                         WHAT=BAS(999);                    WHERE=<<<;              USING=9999
       *DIM PLAZA                                      WHAT=9999;                        WHERE=<<<;              USING=9999
       *DIM CATEGORY                                 WHAT=%CATEGORY_DIM%;   WHERE=ESCENARIO8; USING=ACTUAL
       *DIM ENTITY                                      WHAT=BAS(999);                     WHERE=<<<;              USING=1
       *DIM TIME                                      WHAT=BAS(2011.TOTAL);      WHERE=<<<;               USING=2011.JAN
    *ENDALLOCATION
    I want to is for the category you have choosen is the one that I want to use in  the "Allocate Script" but not know how.

    I followed all the steps, but does not work, I dont know, what I'm doing wrong.
    PACKAGE
    DEBUG(ON)
    PROMPT(TEXT,%CATEGORY_SOURCE%,"Enter SOURCE category",,"ACTUAL,ESCENARIO7")
    PROMPT(TEXT,%CATEGORY_TARGET%,"Enter TARGET category",,"ACTUAL,ESCENARIO7")
    PROMPT(SELECTINPUT,,,"Seleccionar Categoria",%TIME_DIM%)
    TASK(Traslado,FORMULASCRIPT *FUNCTION CAT_SRC=%CATEGORY_SOURCE% *FUNCTION CAT_DESTN=%CATEGORY_TARGET%,)
    TASK(Traslado,USER,%USER%)
    TASK(Traslado,APPSET,%APPSET%)
    TASK(Traslado,APP,%APP%)
    TASK(Traslado,SELECTION,%SELECTIONFILE%)
    TASK(Traslado,RUNTHELOGIC,FORMULASCRIPT)
    TASK(Traslado,LOGICFILE,%APPPATH%\..\AdminApp\%APP%\TopDownPremisas.lgx)
    TASK(Traslado,RUNMODE,1)
    TASK(Traslado,LOGICMODE,1)
    SCRIPTLOGIC
    *IGNORE_SECURITY
    *XDIM_MEMBERSET CATEGORY=CAT_SRC.INPUT
    *XDIM_MEMBERSET CATEGORY=CAT_DESTN.INPUT
    *RUNALLOCATION
       *FACTOR=1
       *APP                                                 WHAT=NOMINA;                       WHERE=<<<;               USING=<<<
       *DIM ACCOUNTNOM                   WHAT=[TOPDOWN]="S";        WHERE=<<<;        USING=706102Porcentaje
       *DIM RPTCURRENCY                             WHAT=LC;                      WHERE=<<<;          USING=<<<
       *DIM DATASRC                      WHAT=INPUT;                      WHERE=<<<;          USING=<<<
       *DIM AGENCIA                      WHAT=BAS(999);                      WHERE=<<<;          USING=9999
       *DIM DEPENDENCIA                             WHAT=BAS(999);                      WHERE=<<<;          USING=9999
       *DIM PLAZA                                  WHAT=9999;                      WHERE=<<<;          USING=9999
       *DIM CATEGORY                               WHAT =CAT_SRC;                    WHERE =CAT_DESTN; USING = ACTUAL;
       *DIM ENTITY                                  WHAT=BAS(999);                      WHERE=<<<;          USING=1
       *DIM TIME                                  WHAT=BAS(%TIME_SET%);      WHERE=<<<;          USING=2011.JAN
    *ENDALLOCATION
    Please help!

  • Allocating via Calc Script

    I’m attempting to allocate some information to a lower level of detail via a calc script. I've hit a few snags. The cube has 9 dimenstions:
    Accounts
    Time Period
    Reinsurance
    Distribution
    Company
    Product
    SubAccount (or issue year)
    Budget Center
    Years
    Under accounts we have an account, APE, that we’ll be utilizing to allocate percentages. We load APE to bottom level Company, SubAccount & Product but we do not have it at the BudgetCenter level (just loaded at a generic member). Also under Accounts we have D909100, which we load percentages to at bottom level for Company & BudgetCenter. What we’re trying to do is allocate the percentages we load in D909100 in their Budget Centers & Company down to the SubAccount & Product level based on APE numbers as drivers. The allocation account code is S909100. Any suggestions would be great as what I'm calculating now in the script isn't bringing me back any data.
    Here's the basic thing I'm attempting to do w/in the script:
    SET CLEARUPDATESTATUS OFF;
    SET UPDATECALC OFF ;
    SET CACHE HIGH;
    FIX("DecYTD","2008", "D-900",@IDESCENDANTS ("Company"),@IDESCENDANTS ("Subaccount"),
    @IDESCENDANTS ("Product"),@IDESCENDANTS ("BudgetCenter"))
         "S909100" = ("APE" / "APE" -> "Subaccount" -> "Product") * ("D909100" -> "SubAccount" -> "Product";
    ENDFIX

    Are you getting any correct results? Generally if you have a block creation issue you usually see a case where some members have the correct results and other members don't. Usually some of the blocks exist and you get this mixed match of some members right and others missing, that is clear block creation issue problem and as other posts have pointed out some solutions, I won't. If you are not getting any results at all, anywhere, then you are probably not referencing things properly, which is not uncommon with allocations when you have a lot of dimensions.
    First, are all the members in your fix statement, stored level 0 members? For instance "DecYTD", maybe it is, but I wonder if that is a calculated member and maybe you should be fixed on "Dec" (depends on how your cube is set up).
    Also you are fixing on IDESCENDANTS() for your results. That is going to take an awfully long time. Might be quicker to fix on level 0 and then roll up the results. Could also help you pinpoint more accurately where the problem is. (unless you have a specific reason for allocating at all levels, I would stay away from that.
    I also have concerns about the fact that you are fixed on IDESCENDANTS of BudgetCenter, but you state that you do not load data to all level 0 members of BudgetCenter, just a generic member. It would seem you need to specify that generic member in your equation, or at the very least, aggregate BudgetCenter prior to allocation and then reference BudgetCenter in your cross dimensional specifications.
    Try to visualize how these intersections are happening as your allocations process. You are fixed on IDESCENDANTS of most dimensions, but then in your equation you are not referencing all your dimensions. Therefore Essbase is going to dynamically use members relative to the particular block it has in memory at the time. I think you need to tighten up you equation to ensure you are referencing cells that have data in them. Use adhoc queries to retrieve different data sets and you will see that a lot of times there is no data.

  • How To Identify Allocation Calculations or Allocation Scripts?

    Hi,
    I was asked to look into allocation calculations among the calc scripts. When I opened the calc scripts in Essbase, it has about 100 of them. Where should I start picking out allocation calculations or scripts? What if the calc scripts dont contain any syntaxes like @allocate? Does that mean there's no allocation calculations existed?
    Thanks

    You can't assume that just because a script doesn't use @allocation or @MDAllocate that it is not doing allocations. Those commands can be slow so many developers write their own allocations taking the current member as a percentage of some parent or ancestor member.

  • Reg:Script logic in allocation

    Hi Experts,
                      I have an issue that while running allocation the user does not need to hardcode the catagory as ACTUAL instead he need to store value in database and and get from it.
    For this scenerio i have stored value in rate application (if the value is 1 then run allocation on actuals) .
    i need to know is there any script to get the database value(like lookup) and check the value is "1".
    Regards,
    Vinoth.

    Hi Gresh,
                     Thanks for your reply.
                     There is little change in the requirement as the planning cycle has 2 cycle as ACTUALS and quater planning.
                     So for every year they might change,copy actuals data or plan for this year or quater data.So i thought of get input from user before planning and saying for this year planning take actuals or quater data after which i thought of get the data from database and allocate according to that.
    Regards,
    Vinoth.

  • Multi-dimensional allocation reference in calc script is locking up EAS

    I am trying to draft a calculation script that allocates 1 total number at a point of view that includes "Entity" "Product" and "Customer". This number is entered in at one entity, one customer, and one product. I have loaded allocation weights by entity, customer, and product to be used as the basis for allocating this number down to entity, customer, and product.
    We have tried to use the @MDALLOCATE in a script as follows:
    SET AGGMISSG ON;
    SET UPDATECALC OFF;
    SET CACHE HIGH;
    SET CALCPARALLEL 3;
    FIX("BU Version_1","Actual",&CurrFY,&CurMth)
    "PL_AC_4502" = @MDALLOCATE ("PL_DP_1"->"PL_AC_4502", 3, @LEVMBRS ("Prod_Line",0),@LEVMBRS("Product",0),@LEVMBRS("Customer",0),"Abs_4502",,share);
    ENDFIX
    This locked up the EAS server everytime we tried it.
    We decided to add an account to hold a calculated percentage for the allocation and tried the following calc script:
    SET CACHE HIGH;
    SET UPDATECALC OFF;
    SET AGGMISSG ON;
    SET CALCPARALLEL 3;
    FIX ("FY10","Jan","BU Version_1","Actual",
    @RELATIVE ("Entity",0),@RELATIVE ("Product",0), @RELATIVE ("Customer",0))
    "Pct_Abs_4502"="Abs_4502",@LEVMBRS("Prod_Line",0),@LEVMBRS("TotCustomer",0),@LEVMBRS("TotProduct",0) / "Abs_4502"->"Prod_Line"->"TotCustomer"->"TotProduct";
    ENDFIX
    This also locked up the EAS server. Each time, it did not even finish the syntax check.
    We have about 70 product numbers and about a dozen customer numbers with numbers in them. Can anyone suggest a modification that will allow either of these calc scripts to avoid locking up the servers?
    Much appreciated in advance,
    Rob

    I just thought I would try to add a little more context to Glenn's response. A calculation on Essbase will step through every single member of every dimension by default. When you mention member "Abs_4502" in a calc script, you are not referencing ONLY "Abs_4502", you are also implying exactly one member from every other dimension in your database (every data value needs a member from every dimension. FIXes are there to limit which members of certain dimensions should be subject to your calculation.
    The math you are doing to create a percentage should only reference one value in the numerator, and one value in the denominator. Your denominator is one value, but the numerator is undefined because it is referencing a range of member across three dimensions. I believe I understand what you are attempting here, but it is not necessary. Your FIX already explicitly states that the calculation will work across all the lev0 members of Entity, Product, and Customer. So, you don't need that in the math again. To restate Glenn's attempt...
    /* Assumes Prod_Line is "Entity", TotCustomer is "Customer" , and TotProduct is "Product" member */
    FIX ("FY10","Jan","BU Version_1","Actual",
    @RELATIVE ("Entity",0),@RELATIVE ("Product",0), @RELATIVE ("Customer",0))
    "Pct_Abs_4502" = "Abs_4502" / "Abs_4502"->"Prod_Line"->"TotCustomer"->"TotProduct";
    ENDFIX
    The very first calculation of this calc script is working on the first lev0 relative of "Entity", the first lev0 relative of "Product", and the first lev0 relative of "Customer", and divides the value in that intersection with the value at the "Prod_Line", "TotCustomer", and "TotProduct" intersection....which should be percentage (albeit probably very small...I'd warn against any rounding attempts). The fix then steps one by one through each of the lev0 members and does the same math.
    You could step this up and go across all months in the FIX too, and it will step through all months, and calculate the percentages within each month.
    Hopefully that helps a little.

Maybe you are looking for