To View Calc Scripts and Report scripts via MaxL or Esscmd

Hi all,
Can somebody tell how to read any calc script or report script in any database with the help of MaxL or Esscmd?
For example if there is any .csc or .rep file, I want to read the context of the file i.e. the script that is written in the file. Is it possible via MaxL or Esscmd?
Does Hyperion supports this functionality?
Regards,
James

You know that calc and report scripts are text files, right?
They are typically stored in the database directory, although that is not a requirement; they can be stored in other client-accessible directories and run from there.
I haven't done it in ages, but is also possible to pass calc and report scripts to Essbase via the API. I can't remember if the API will let you enumerate calc scripts from the database directory. I sort of strongly think yes. Someone who is more knowledgeable will either correct or refute that statement pretty soon. :)
If you want to list the objects (calcs or reports): http://download.oracle.com/docs/cd/E10530_01/doc/epm.931/html_esb_techref/techref.htm
A few things that you can do with MaxL re calc scripts:
1) execute calculations, including a string that you pass through MaxL: http://download.oracle.com/docs/cd/E10530_01/doc/epm.931/html_esb_techref/maxl/ddl/statements/excalc.htm
2) delete calculations: http://download.oracle.com/docs/cd/E10530_01/doc/epm.931/html_esb_techref/maxl/ddl/statements/drpcalc.htm
3) list the calcs: http://download.oracle.com/docs/cd/E10530_01/doc/epm.931/html_esb_techref/maxl/ddl/statements/dispclc.htm
4) create the calc: http://download.oracle.com/docs/cd/E10530_01/doc/epm.931/html_esb_techref/maxl/ddl/statements/crecalc.htm
Report scripts are sort of a poor relation in MaxL (and were in Esscmd as well). You can basically only run a report as kind of export: http://download.oracle.com/docs/cd/E10530_01/doc/epm.931/html_esb_techref/maxl/ddl/statements/exprt.htm
So, I think it's mostly there, especially the display object command. BTW, if MaxL can list it, the API can too -- how else does MaxL work?
Regards,
Cameron Lackpour
Edited by: CL on Dec 1, 2008 11:53 PM
Didn't post the right URLs. Now fixed. CL

Similar Messages

  • New Page Format implentation in Sap Scripts and Reports

    Hi,
       I want to print Report details and also some of the SAP Script details on the paper size of 350MM width and 310MM Height in the PORTRAIT format.
       So i created new page format with these dimensions.
       How i can use this for reports. So i can set these parameters while taking output from Report.
       Pls specify if any configuration required for this.
    Thanks in Advance,
    Regards,
    Pavan.

    In SAPscript, you set the Page Format for the document in the "Page Format" field of the "Basic Settings" page of the documents "Header" information. The popup list of this field will show all available formats in your system, so this is a ggod way to make sure your new format is set up properly.
    For reports, page format is set either with the LINE-SIZE addition to the REPORT and NEW-PAGE commands, or through the PARAMETERS addition to the NEW-PAGE command. When you use LINE-SIZE the print system picks the format for you, based on the available formats in the systems.
    I don't remember if there is an activation step for Page Formats, or if saving is all you have to do.

  • Script and report

    hi experts,
    What is the difference between report and script?
    thanks in advance.

    <b>Script is a form which has a layout set as per the company standards and can be used for external use too.  Generally reports are designed for internal use for in house users</b>
    <b><u>----
    </u></b>
    Scripts are client dependent. / Reports are client Independent.
    <b><u>----
    </u></b>
    <b>SAP scripts is a word processing tool of SAP which has the following components: Standard text. It is like a standard normal documents. Layout sets. - Layout set consists of the following components: Windows and pages, Paragraph formats, Character formats. Creating forms in the R/3 system. Every layout set consists of Header, paragraph, and character string. ABAP/4 program.</b>
    <b><u>----
    </u></b>
    <b>You create executable programs directly using the tool called ABAP Editor. Executable programs can contain all processing blocks supported in ABAP, with the exception of function modules, and as many local classes as required. Executable programs are only started with the SUBMIT statement. Although NetWeaver AS ABAP offers several ways to call executable programs by entering their name on the screen, the system still executes the SUBMIT statement in the background. 
    It is not necessary to control executable programs directly using self-defined screens since the relevant processors of the runtime environment call the processing blocks and screens (selection screens and lists) automatically and in a predefined sequence. The process flow allows the user to enter selection parameters on a selection screen. The data is then selected from the database and processed. Finally, an output list is displayed. At no stage does the programmer have to define his or her own screens. User actions on screens can then trigger further processing blocks.
    The runtime environment also allows you to work with a logical database, that is, with a special ABAP program for reading data from database tables. The flow of an executable program is oriented towards reporting (whose main tasks are to read data from the database, process it, and display the results). This is why executable programs are often referred to as reports, and why running an executable program is often called reporting (see Report Programming). Analogously, the source code of an executable program starts with the REPORTstatement.</b>
    <b><u>----
    </u></b>

  • Tree View through JSP and Java Script

    Hi,
    I am looking for code or ideas of a Tree Structure as shown in in the left side frame of admin console of Sun App server 7 on the browser. I need to create a tree structure which will work on the browser like it works on the Sun App Server 7 admin console. If you had any idea or code, please share with me. I would like to have some idea before I start building it. The tree will be build from the database. So any database design is also helpful. I am planning to have that tree using JSP and EJB.
    Please help. If you are not clear what I am looking for, then please drop a line in this forum, so that I can explain it fine.
    Thanks in advance.
    Amit

    You can use the JSP Tree Tag I have developed. This helps you both structuring the tree model itself + it takes care of displaying the tree in a nice way. You can change all HTML code used to display the tree. Also you can build trees dynamically instead of just displaying static trees. Take a look at it here:
    http://www.jenkov.dk/projects/treetag/treetag.jsp
    Kind Regards,
    Jakob Jenkov

  • Service start stop scripts and Nagios scripts

    Hello. Are there some "official" service start stop scripts somewhere? And: Has somebody already written a Nagios monitoring script for Oracle NoSQL? Thanks, Jesus.

    Hi. Yes, but I mean something like service kvclient start / stop / restart / status, and using e.g. daemon without nohup. Of course one can be written, e.g. I have a simple one based on a script I found in internet long time ago for Cassandra, but then by Murphy's Law you will probably have an "official" one in the .124 version : - ).

  • IPlanet Process Manager - What is the difference between Verification Script and Completion Script

     

    Outline calculations include
    • Relationships between members in the database outline:
    Expressed with unary operators (+, -, * , / , %, etc.).• Formulas:
    Expressed by attaching a formula to members in the outline
    calc scripts recommended when:
    Complex logic is required.
    Calculations focus on a subset of the database.
    Specific analytical functions are required.
    Infrequently used calculations, such as year-end processing, thatrequire standard scripts are needed.
    Calculation require functions or commands that work only inscripts

  • I was in the process of a software update and my backup was corrupted. I can see the backup on my computer and also was able to view contacts, photos and other items via "Dr.Fone". What should I do? I need this info...Thanks!

    I was doing a software update, while it was completing it said that the backup was corrupted, I tried restoring several times but no luck. I checked out this third party software "Dr.Fone" and hoped that it would work, i was able to view all of my data but have to pay for retrieval (if it even works). I am not sure what to do, i have no problem paying for "Dr.Fone" but the site seems shady...any help would be unbelievably appreciated!!!

    Liquid damage from water spill is progressive, unfortunately.
    Best.

  • Transition script and button script don't work together

    Hi
    I've been experiementing with actionscripting transitions
    between sections... this is the first site I have tried this with
    (last 3 had swf loaded in one after another rather than
    transitioned between). I used some code from kirupa.com which works
    for loading movies in and out, but I also have some code for my
    movie buttons. I can get one or the other working, but not
    together, so I guess I'm clashing code somewhere, I could do with
    some help please to find what I'm doing wrong...
    The transistion code and calling-up buttons is;
    Code:
    Menubar.b1.onRelease = function() {
    if (_root.section != "about.swf") {
    _root.section = "about.swf";
    _root.transition.gotoAndPlay("closing");
    Menubar.b2.onRelease = function() {
    if (_root.section != "portfolio.swf") {
    _root.section = "portfolio.swf";
    _root.transition.gotoAndPlay("closing");
    Menubar.b3.onRelease = function() {
    if (_root.section != "contact.swf") {
    _root.section = "contact.swf";
    _root.transition.gotoAndPlay("closing");
    and the code I have on my movie buttons is;
    Code:
    on (rollOver) {
    gotoAndPlay("rollover");
    on (releaseOutside, rollOut) {
    gotoAndPlay("rollout");
    Is there a way to combine them???
    Thanks. Wayne.

    your on(rollover) handlers are applied to buttons that are
    children of a movieclip that has handlers defined. the parent
    movieclip (Menubar.b1 etc) is going to intercept those mouse
    events.
    to remedy move you on(rollover) etc handlers to your
    movieclip buttons b1, b2 and b3 on MovMenu's timeline.

  • Extract data from Essbase - MDX/Report Script

    Hi,
    I was trying to extract data from an ASO cube using both MDX and Report Script approaches.
    I liked the MDX_ method since i could specify:
    - level zero members with values for the Revenue measure.
    SELECT
    {[Revenue]} on columns,
    NON EMPTY{[Accounts].Levels(0).Members} on AXIS(1),
    NON EMPTY {[Accounts2].Levels(0).Members} on AXIS(2),
    NON EMPTY {[Accounts3].Levels(0).Members} on AXIS(3),
    NON EMPTY {[Accounts4].Levels(0).Members} on AXIS(4)
    FROM CUBER.CUBER
    Problem:_ For other measure, it shows many #Missing at Cost measure field. Not sure how it happened. I tried to use:
    SELECT
    {[Revenue]} on columns,
    NON EMPTY{ FILTER ([Accounts].Levels(0).Members}, [Revenue] <> Missing) on AXIS(1),
    NON EMPTY {[Accounts2].Levels(0).Members} on AXIS(2)
    FROM CUBER.CUBER
    But still does not solve the issue.
    Then i tried to use Report Script_ approach. However, it is not simple to declare that i want all level zero members within dimension Account1 (which has 5 level hierarchy, with level zero members almost each level) and only entries that has values for my measure "Revenue" or "Cost"

    Hi Ye
    For extracting data from Essbase you need to have either Calc script or Report script and you have to use LKM Essbase(Data) to SQL as your KM
    For loading data into SQL server you can use IKM SQL Append or IKM SQL incremental update.
    When you use Essbase as your source you have to use LKM ESSBASE (MetaData) to SQL as your KM.
    So all sources would have LKMs (as KMs) and all targets have IKM as KMs.
    -app

  • Report Script - How to get the total on the any number of rows selected

    Hi,<BR>I am using Essase and report script for the reporting purpose. In this i would like to know how to get the sum of all the rows selected. I know we can use the calculate row, but it has to be done with print row to display the newly created row. But i am using alphablox where this print row is not working. Is there any other alternative is there to get the sum of any number of rows, and displaying them??<BR>Please help me.<BR><BR>Regards<BR>R.Prasanna

    Pls check the structure and index.
    EMP_ID NUMBER(9) NOT NULL,
    EMP_CD           NUMBER(3),
    EMP_NO VARCHAR2(250 BYTE) NOT NULL,
    FROM_EFF_DT DATE NOT NULL,
    TO_EFF_DT DATE,
    CREATE INDEX IDX_EMP_NO ON EMP
    (EMP_NO)
    NOLOGGING
    TABLESPACE INDEXES
    PCTFREE 20
    INITRANS 10
    MAXTRANS 255
    STORAGE (
    INITIAL 56K
    NEXT 1784K
    MINEXTENTS 1
    MAXEXTENTS 2147483645
    PCTINCREASE 0
    FREELISTS 4
    FREELIST GROUPS 1
    BUFFER_POOL DEFAULT
    NOPARALLEL;

  • Running a Report Script outside EAS

    I have some users who would like to run a predefined report script by themselves. Is there a way to do this without giving them access to EAS? Running 11.1.2 , ASO
    Thanks,
    Paul

    ptooks wrote:
    The report extract is over 100,000 rows and can not realistically be retrieved from an Excel template. I have been unable to run the report thru either Maxl or EssCmd - apparently, you can not perform columnar export on an ASO cube? Is this correct? There must be a way to run this report outside EAS?I have a question to all..Is it possible to assign particular report to project in Shared service and assign it to the user? So that user can access from Workspace rite?
    Is this possible please let me know...I have minimal knowledge on shared services & Workspace.

  • Downloading 4.0 onto XP it takes a long conection process, with boxes on unresponsive script and a java scipt app saying type error and is all very annoying so what can I do I want the old firefox back a

    I downloaded Firefox 4.0 replacing an earlier Firefox version. I have XP on my computer. When I now click on the Firefox icon after a time a window saying Unresponsive script and underneath script chrome etc comes up. I then press stop script and another window comes up Java Script application and type error. Eventually I get on to the internet but it's all very frustrating. I wish I had ignored the request to download 4.0
    Please help

    I can assure you that the sympton is indeed identical. For as the computer got worse, eventually it refused to start up and made 3 beeps. It has done this before, but today more times than before (just like when it first had this problem). Where-ever you go on the internet, it will tell you that the 3 beeps suggest the RAM is at fault. So, the same 3 beeps, means the same problem, which is the RAM.
    With that in mind, I re-ask my question with the same reasoning and justification; am I still covered under warranty? (Reasoning/Justification: Considering the original problem was not entirely fixed, though something else was to make the MacBook Pro last a little longer before the reoccurance of this problem).

  • Rman windows and  Shell Script

    hi,
    How to take the backup by windows script and shell script.please any one tell that.
    thanks
    with regards

    Dear user!
    How to take the backup by script is a very imprecisely kind of question. So the only thing I can give you is a very imprecise answer.
    For linux shellscript you may use:
    vim my_backup_script.sh
    #!/bin/bash
    BACKUP DATABASE;Save and run this script in the following way:
    rman target / catalog catuser/password@CATDB CMDFILE my_backup_script.shYou may customize this script to fit your needs. On Windows you may write a batchscript like that:
    notepad my_backup_script.bat
    BACKUP DATABASE;Save and run this script like that:
    rman target / catalog catuser/password@CATDB CMDFILE my_backup_script.batMaybe if you could state your needs a little bit more precisely I could give you a more helpful answer.
    Yours sincerely
    Florian W.

  • Calling an expect script from another script (sh)

    How to call the EXPECT utility from SHELL script?
    Our objective is - We have developed a shell script to connect the oracle database and generate the XML file and this XML file needs to be transfer to another windows machine using the SFTP servcies. We are planning to schedule this job using the CRONTAB.
    Our first script 1:
    # connecting to oracle database and generating the file
    ORACLE_SID=TEST
    ORACLE_HOME=/u01/oratest/db/tech_st/11.1.0
    export ORACLE_SID ORACLE_HOME
    LD_LIBRARY_PATH=$ORACLE_HOME/lib
    PATH=$ORACLE_HOME/bin:$PATH
    output=`sqlplus -s /nolog <<EOT
    set pages 0 feed off
    whenever sqlerror exit failure;
    connect xgbzprod/xgbzprod
    exec XGBZ_GL_COA_XMLTAG_PROC;
    EOT
    `
    cd /u01/oratest/gebiz_processed
    for fn in GEBIZ_COA_RPO000*.*; do
    # using the EXPECT utility to transfer the generated file to antoher machine
    set timeout 10
    spawn $env(SHELL)
    match_max 100000
    send -- "sftp username@IP Address\r"
    expect -exact "[email protected]'s password:"
    send -- "Password\r"
    expect -exact "sftp>"
    send -- "cd /<SFTP location>\r"
    expect -exact "sftp>"
    send -- "lcd /<Local locatoin>\r"
    expect -exact "sftp>"
    send -- "bin\r"
    send -- "put $fn\r"
    expect -exact "sftp>"
    send -- "quit\r"
    send -- "exit\r"
    expect eof
    -- When we run the above script it failes and the script is not recognizing the other variables.
    -- We have split the procedure to keep the oracle connection in one script and another script for EXPECT utility. But we are lack of how to call the EXPECT utility in shell script.
    Please help us
    Thank
    Dhanraj Chilla

    You might want to try to better understand shell script programming. It makes it otherwise difficult for a poster to recommend you a solution. I don't believe you can expect others to do all the development and testing work for you. Since this is a forum on a volunteer basis, you might also want to consider marking helpful replies and review received answers more carefully.
    Perhaps the following will work for you:
    #!/bin/bash
    export ORACLE_SID=TEST
    export ORACLE_HOME=/u01/oratest/db/tech_st/11.1.0
    export ORACLE_SID ORACLE_HOME
    export LD_LIBRARY_PATH=$ORACLE_HOME/lib
    export PATH=$ORACLE_HOME/bin:$PATH
    echo
    output=`sqlplus -s /nolog <<EOT
       set pages 0 feed off
       whenever sqlerror exit failure;
       connect xgbzprod/xgbzprod
       exec XGBZ_GL_COA_XMLTAG_PROC;
    EOT
    `
    echo "$output"
    username="oratest"
    hostname="11.10.11.159"
    password="welcome1"
    for fn in GEBIZ_COA_RPO000*.*; do
       echo "GL Chart of Accounts File Name : " $fn
    /sftp.exp "$username" "$hostname" "$password" "$fn"
    done
    #!/usr/bin/expect -f
    set username [lindex $argv 0]
    set hostname [lindex $argv 1]
    set password [lindex $argv 2]
    set fn [lindex $argv 3]
    spawn sftp $username@$hostname
    expect -exact "[email protected]'s password:"
    send -- "$password\r"
    expect -exact "sftp>"
    send -- "cd /sftp0002/uat/inbox\r"
    expect -exact "sftp>"
    send -- "lcd /u01/oratest/processed\r"
    expect -exact "sftp>"
    send -- "put $fn\r"
    expect -exact "sftp>"
    send -- "quit\r"
    send -- "exit\r"
    expect eofP.S. The above code is very simplistic and does not take error handling into account.
    Using CURL, like I suggested in my first reply was an easier solution, since you don't need to to script Expect, but it turns out that you might need Enterprise Linux 6 or install at least CURL verison 7.19 to support sftp.

  • Security Approach and Plan for single logon for Essbase and Reports.

    Please any one can suggest me, how can I do the Security Approach and Plan for single logon for Essbase and Reports by using Maxl or Administrator.If any one have code,please forward to my email Id: [email protected]

    Once you are logged in to the "Hyperion Portal" as you call it, your user credentials are automatically passed among all the components. Therefore, a lot of the logic you created to pass credentials between BQY files in a desktop environment are no longer needed.

Maybe you are looking for

  • ITunes will not allow me to delete songs off my ipod, option is not available

    i am trying to delete songs from my ipod 160 GB, and i do not have the ability to. I've tried delete key, right clicking, and edit. when i go to edit, delete option is there but grey'd out...please help i'd like to switch up my music. i also tried re

  • Windows Vista Treo 755 Not HotSynchin​g

    I have followed all the HELP links and am totally frustrated. I have had synch problems since I moved to Vista. I can go into my computer one day and all my Palm info is gone! The info remains on my phone, but won't synch to the PC.  I get the messag

  • How to do initialization for new system setup?

    Hi, Experts: I need your help! Can you tell me your suggestion please? This is a new system setup. We are about to test on the Initialization/Delta process. The data source is 2LIS_13_VDITM 7.0 version. The test is on the PSA. I have done an EARLY In

  • Do I have to cut and paste album artwork for all the albums in my library?

    So my 4gb ipod 1st gen is pretty much dead so I've bought a 3rd gen. 8gb nano, upgraded my iTuunes software to 7.5 and syncd my library onto my new iPod. All songs I've bought from iTunes have album artwork and one other old album I uploaded myself a

  • Linking 2 oracle database through java

    can any one provide all the necessary information for linking 2 different oracle databases and retriving data for jsp web application. In one of my new web application i need to retrive data from 2 different oracle database's and show a report. At pr