Creation of Spool File with Triggers

Hi,
I have created an OnUpdate trigger using the Essbase Console. I am using a calculation script to change the value of an account that is being used in the trigger. The trigger doesnot craete a spool file. Can anyone help me with it.

Are you sure that the data value that should change did change?
Here I am plugging Glenn's presentation twice in like five minutes. Check out this (unrelated) thread -- it explains how to get to his Kaleidoscope presentation.
How to use a substitution variable in a load rule?
FWIW, this part of the presentation was really good (it was all good, but I particularly enjoyed this bit).
Regards,
Cameron Lackpour

Similar Messages

  • Spool file with sysdate

    How create spool file with current date and time?
    I want to create spool file like xyz_28062010.
    Please, suggest.

    like:
    In SQL*Plus this is what you can do to get the current date/time as part of the spool file:
    ============================================================================================
    SQL> column tm new_value file_time noprint
    SQL> select to_char(sysdate, 'YYYYMMDD') tm from dual ;
    1 row selected.
    SQL> prompt &file_time
    20020816
    SQL> spool C:\Temp\logfile_id&file_time..log Reference: Creating a spool file with date/time appended to file name
    Edited by: Gj on Jun 28, 2010 11:45 AM

  • Creating a spool file with date/time appended to file name

    In Oracle Sql*Plus, I want to spool out a file, with the date-time stamp as part of the file name. Any idea how to do this?
    Here's what I have right now:
    SQL>
    set serveroutput on size 200000;
    rem
    rem $OFSA is a UNIX alias so sql plus is talking to UNIX
    rem
    spool $OFSA/logs/OFSAP/common_coa_id.log;
    prompt 'Enter date in mmddyyyy format, without quotes';
    exec upd_common_coa_id_driver ('&date_mmddyyyy');
    spool off;
    As an example, I'd like to have a file with this name: common_coa_id083002.log
    Thanks.

    In SQL*Plus this is what you can do to get the current date/time as part of the spool file:
    ============================================================================================
    SQL> column tm new_value file_time noprint
    SQL> select to_char(sysdate, 'YYYYMMDD') tm from dual ;
    1 row selected.
    SQL> prompt &file_time
    20020816
    SQL> spool C:\Temp\logfile_id&file_time..log
    . /* put your code here */
    . /* it will go to a file called C:\Temp\logfile_id20020816.log */
    SQL> spool off
    SQL>

  • Spool file with just the data

    Hi,
    I have a sql query that I'm spooling to a file. I have set echo off, heading off, feedback off, verify off. The spool file is exactly what I want except for the SQL prompt and the actual query. It looks like this:
    SQL> "select statement;"
    data data
    data data
    data data
    data data
    SQL>
    What parameter do I set so that the
    SQL> "select statement"
    doesn't appear in the spooled file at the top, and
    SQL>
    doesn't appear at the bottom?
    I need data only.
    Thanks
    -Bob

    Hi,
    Try running your SQL from within a script instead of executing it directly from SQL prompt.
    i.e. Script a.sql
    set head off;
    set echo off;
    set feed off;
    set verify off;
    spool c:\1;
    select col1, col2
    from table;
    Spool Off;
    set head on;
    set echo on;
    set feed on;
    set verify on;
    In SQL promot,
    SQL> @a
    This should give you the output without SQL commands etc.
    Shailender Mehta

  • Shell Creation Modify Control Files with Exclude Table Information  Step er

    I am try to create Shell using TDMS  I  am gettingbelow error while executing step Modify Control Files with Exclude Table Information.
    I am getting error saying that    //No such file or direcroty  Message no.: CNV_TDMS_13_SHELL000
    I am using NFS common mount as my install directory between CI & DB, please can you help me.
    Please can help me.
    Thanks
    Ramesh

    It appears that the directory for shell installation is not accessible from CI (TDMS execution server). Do the following -
    Copy the entire Shell installation directory (having TPL files) temporarily to the CI app. server and maintain the path of this directory in the TDMS package.
    Then execute the activity which is currently failing. Most probably it will finish successfully.
    Now copy the DDLORA.TPL file from this directory to the original directory on the DB app server and continue with your exports.
    I hope this helps.

  • Spool file with comma including quotes

    Hi All,
    I am getting the csv file however location commas are treated as another column in file. I am expecting based on the below SQL only two columns and all the data should be in two columns though we have comma value in location string.
    CREATE TABLE DEPT ( DEPTNO NUMBER,LOCATION VARCHAR2(255));
    INSERT INTO DEPT (DEPTNO,LOCATION) VALUES(100, 'CHICAGO,NEWYORK');
    INSERT INTO DEPT (DEPTNO,LOCATION) VALUES(200, 'ATLANTA,NEWYORK');
    INSERT INTO DEPT (DEPTNO,LOCATION) VALUES(300'OMHA,NEWYORK');
    INSERT INTO DEPT (DEPTNO,LOCATION) VALUES(100, 'NEWJERSEY,NEWYORK');
    COMMIT;
    sql file :
    set pagesize 10000
    set feedback off
    set heading off
    set echo off
    spool r:\dept.csv
    select to_char(deptno)||','||rtrim(location)
      from dept;
    spool off
    set echo on
    set heading on
    set feedback onEdited by: user1758353 on Dec 6, 2011 7:47 AM
    Edited by: user1758353 on Dec 6, 2011 7:47 AM
    Edited by: user1758353 on Dec 6, 2011 7:48 AM

    try to wrap your column location with a double quotes.
    e.g.
    select to_char(deptno)||','||'"'||rtrim(location)||'"'
      from dept;when you opened your csv file on excel it considers the strings enclosed on a double quotes as one column.

  • How to spool file with a timestamp/seq_number in the file name

    Hi I try to write a test script that will have some kind of timestamp or seq_number in the spool output file's filename itself.
    so e.g.
    test_abc_20120425161616.txt
    I can do it on shell but is there a way I can do it all in sqlplus.
    I recall I see something similar in statpack long time ago..

    vxwo0owxv wrote:
    Hi I try to write a test script that will have some kind of timestamp or seq_number in the spool output file's filename itself.
    so e.g.
    test_abc_20120425161616.txt
    I can do it on shell but is there a way I can do it all in sqlplus.
    I recall I see something similar in statpack long time ago..
    >Hi I try to write a test script that will have some kind of timestamp or seq_number in the spool output file's filename itself.
    so e.g.
    test_abc_20120425161616.txt
    I can do it on shell but is there a way I can do it all in sqlplus.
    I recall I see something similar in statpack long time ago..
    set termout off
    col dt new_value dt
    select to_char(sysdate,'YYYYMMDDHH24MISS') dt from dual;
    set termout on
    spool file_&dt
    -- place your SQL here
    spool off
    Handle:     vxwo0owxv
    Status Level:     Newbie
    Registered:     Mar 14, 2011
    Total Posts:     142
    Total Questions:     79 (59 unresolved)
    WHY am I NOT surprised?
    Edited by: sb92075 on Apr 24, 2012 4:37 PM

  • Creation of XML files with the DME Engine

    Hi Experts,
    For a Belgium client, I have a requirement to generate DME file in XML format for payments made to foreign and domestic vendors. I want to know the following,
    1. Can DME file be generated in XML format using classic payment medium programs RFFOBE_E and RFFOBE_I.
    2. If not why and what are the other options.
    3. I also came to know that there is an options of using Payment medium workbench - through XML format trees BE_BEPDTA and BE_PIBDTA. But since we are in 4.6C, i am not able to create a payment format. Is there any support package or patch that is required.
    4. I tried for SEPA_CT - again a XML format tree but was not very successful as that too was not available in SAP 4.6C. Is there any way that I can get this done in 4.6C - any support packages or patches available?
    Thanks

    HEllo,
    1.Classic RFFO* programs don't support XML files. Technical constraint.
    2.XML can be generated through DME tree ( PMW in this case ).
    3.PMW is available as of 4.6C SP 34.
    4.XML is available in DME Engine as of 4.6C SP 47.
    REgards,
    Renan Correa

  • Saving spool request with multiple Adobe PDF files to local directory

    Hi,
    I have a spool file with multiple Adobe PDF files in it.  You can only save the spool content to local directory by opening and save each PDF files.  Does anyone know whether there is a way to combine all the PDF files within a spool into one big PDF file?
    Chuin

    Are you using any plugins, like PDFlyer?

  • Error SP2-0333: Illegal Spool File Name: (bad character: ' ')

    Below is my spool file logic just to test outputting to a spool file with a date in the spool file. The date part works fine. I can see the date coming out in the error message. It doesn't like the spaces, but I am not in control of the folder names. Any ideas? I have tried putting single and double quotes around it to no avail. I also tried using the concatenation operator || to separate the path from the filename and that didn't work, either.
    col sdate new_value sysdt
    select to_char(sysdate,'YYYY-MM-DD') sdate from dual;
    SPOOL \\Nsgnvl_files\rco\Linecost Audit\General NA Info\CLLI_Code_Discrepancy_Reports\&sysdt.SendToLCAnotInRepository.txt
    SELECT TO_CHAR(sysdate) from dual;
    spool off

    Example :
    SQL> set escape |
    SQL> spool "c:\test| dir\foo"
    SQL> select sysdate from dual;
    SYSDATE
    2007-09-27 16:31:30
    SQL> spool off
    SQL> exit
    Disconnected from Oracle Database 10g Express Edition Release 10.2.0.1.0 - Prod
    ction
    C:\>cd test dir
    C:\test dir>type foo.lst
    SQL> select sysdate from dual;
    SYSDATE
    2007-09-27 16:31:30
    SQL> spool off
    C:\test dir>Message was edited by:
    Paul M.
    but I am not in control of the folder namesSorry, I didn't read carefully.....

  • How to increase spool file width?

    Hi,
    I've a spool file with lot of columns. When I display it (in graphical format) through SM37, the columns appear in two rows and thus it becomes difficult to understand the data.
    How can I increase the width so that all columns appear in a single row?
    Regards,
    Vikrant.

    Hi,
    I suppose that the report you executed to have this list is a cutom report.
    If it's the case you will have to add the following extra statement (in bold) in your report to define the number of columns during output
    REPORT ZREPNAME LINE-SIZE 132.
    ... LINE-SIZE col
    Creates a report with col columns per line.
    If the LINE-SIZE specification is missing, the line length corresponds to the current screen width. The system field SY-LINSZ contains the current line size for generating lists. The maximum width of a list is 1023 characters. You should keep lists to the minimum possible size to improve useability and performance (recommendation: LINE-SIZE < 132). For very wide lists (LINE-SIZE > 255), you should consult the notes for using LINE-SIZE
    Hope that the following info will help you
    Regards

  • SPOOL FILE CALLED SYSDATE

    Hello, I'm trying to create a spool file with the name 'file01_concatenated_with sysdate'
    does some one tell me the sentence i have to use to printout the sysdate on the spool file?
    Thank you

    check this link:
    Re: updating a spool file name

  • Output different with the spool file

    Hi friends,
    I have using this Tcode : S_ALR_87012301 to print GL account balances.
    once executed, the system display correct information.
    but once printed, in spool file, instead of showing the name of the company , the system displayed the environment e.g Production. If we try to print in DEV, the system will display Development.
    Your advice is highly appreciated.

    Celtic Mom
    Welcome to the Apple user to user discussion forums
    While I was organizing my photos, I realized there are about 30 or so photos that have the same exact file name as another photo. Example: There are two IMG_1243.jpg, but they are different pictures. They were taken at different times, even different years. I have used more than one camera to import photos. I have changed the name of one of the photos in the Title area in the information section of iPhoto. When I try to put the newly named photo into a folder that has the other IMG_1243, I get a message that says" An older item named "IMG_1243" already exists. Do you want to replace it with the newer one you are moving?"
    I want to have both IMG_1243.jpg photos in the same folder. How can I do this? Also, I have a few thousand pictures, so how can I tell exactly how many photos have the same file name as another photo?
    It sounds like you are using the finder inside the iPhoto library - do not do that - you will corrupt your library and lose the edits, keywords, etc that you have
    iPhoto does not care about duplicate file names - it handles it fine
    changing the title of a photo does not affect the file name - although when you export the photo you can use the title for the file name as an option
    What are you doing and what do you want to accomplish?
    Remember do not ever make any changes in the iPhoto library using the finder or any other program
    LN

  • SFTP MGET of large files fails - connection closed - problem with spool file

    I have a new SFTP job to get files from an FTP Server.  The files are large (80mg, 150mg).  I can get smaller files from the ftp site with no issue, but when attempting the larger files the job completes abnormally after 2 min 1 sec. each time.  I can see the file is created on our local file system with 0 bytes, then when the FTP job fails, the 0 byte file is deleted.
    Is there a limit to how large an ftp file can be in Tidal?  How long an ftp job can run?
    The error in the job audit is Problem with spool file for job XXXX_SFTPGet and an exit code of 127 (whatever that is).
    In the log, the error is that the connection was closed.  I have checked with the ftp host and their logs show that we are disconnecting unexpectedly also.
    Below is an excerpt from the log
    DEBUG [SFTPMessage] 6 Feb 2015 14:17:33.055 : Send : Name=SSH_FXP_STAT,Type=17,RequestID=12
    DEBUG [SSH2Channel] 6 Feb 2015 14:17:33.055 : Transmit 44 bytes
    DEBUG [ChannelDataWindow] 6 Feb 2015 14:17:33.055 : Remote window size decreased to 130808
    DEBUG [PlainSocket] 6 Feb 2015 14:17:33.071 : RepeatCallback received 84 bytes
    DEBUG [SSH2Connection] 6 Feb 2015 14:17:33.071 : ProcessPacket pt=SSH_MSG_CHANNEL_DATA
    DEBUG [SFTPMessageFactory] 6 Feb 2015 14:17:33.071 : Received message (type=105,len=37)
    DEBUG [SFTPMessageStore] 6 Feb 2015 14:17:33.071 : AddMessage(12) - added to store
    DEBUG [SFTPMessage] 6 Feb 2015 14:17:33.071 : Reply : Name=SSH_FXP_ATTRS,Type=105,RequestID=12
    DEBUG [SFTPMessage] 6 Feb 2015 14:17:33.071 : Send : Name=SSH_FXP_OPEN,Type=3,RequestID=13
    DEBUG [SSH2Channel] 6 Feb 2015 14:17:33.071 : Transmit 56 bytes
    DEBUG [ChannelDataWindow] 6 Feb 2015 14:17:33.071 : Remote window size decreased to 130752
    DEBUG [PlainSocket] 6 Feb 2015 14:17:33.087 : RepeatCallback received 52 bytes
    DEBUG [SSH2Connection] 6 Feb 2015 14:17:33.087 : ProcessPacket pt=SSH_MSG_CHANNEL_DATA
    DEBUG [SFTPMessageFactory] 6 Feb 2015 14:17:33.087 : Received message (type=102,len=10)
    DEBUG [SFTPMessageStore] 6 Feb 2015 14:17:33.087 : AddMessage(13) - added to store
    DEBUG [SFTPMessage] 6 Feb 2015 14:17:33.087 : Reply : Name=SSH_FXP_HANDLE,Type=102,RequestID=13
    DEBUG [SFTPMessage] 6 Feb 2015 14:17:33.087 : Send : Name=SSH_FXP_READ,Type=5,RequestID=14
    DEBUG [SSH2Channel] 6 Feb 2015 14:17:33.087 : Transmit 26 bytes
    DEBUG [ChannelDataWindow] 6 Feb 2015 14:17:33.087 : Remote window size decreased to 130726
    DEBUG [PlainSocket] 6 Feb 2015 14:17:33.118 : RepeatCallback received 0 bytes
    DEBUG [SFTPChannelReceiver] 6 Feb 2015 14:17:33.118 : Connection closed:  (code=0)
    ERROR [SFTPMessageStore] 6 Feb 2015 14:17:33.118 : Disconnected unexpectedly ( [errorcode=0])
    ERROR [SFTPMessageStore] 6 Feb 2015 14:17:33.118 : EnterpriseDT.Net.Ftp.Ssh.SFTPException:  [errorcode=0]
    ERROR [SFTPMessageStore] 6 Feb 2015 14:17:33.118 :    at EnterpriseDT.Net.Ftp.Ssh.SFTPMessageStore.CheckState()
    ERROR [SFTPMessageStore] 6 Feb 2015 14:17:33.118 :    at EnterpriseDT.Net.Ftp.Ssh.SFTPMessageStore.GetMessage(Int32 requestId)

    I believe there is a limitation on FTP and what you are seeing is a timeout built into the 3rd party application that tidal uses (I feel like it was hardcoded and it would be a big deal to change but this was before Cisco purchased tidal)  there may have been a tagent.ini setting that tweaks that but I can't find any details.
    We wound up purchasing our own FTP software (ipswitch MOVEit Central & DMZ) because we also had the need to host as well as Get/Put to other FTP sites. It now does all our FTP and internal file delivery activity (we use it's api and call from tidal if we need to trigger inside a workflow)

  • [svn] 1267: fixed . patch creation to create patch with the selected files only, remove, fix newlines in the patch file.

    Revision: 1267
    Author: [email protected]
    Date: 2008-04-16 17:02:53 -0700 (Wed, 16 Apr 2008)
    Log Message:
    fixed .patch creation to create patch with the selected files only, remove, fix newlines in the patch file.
    Modified Paths:
    flex/sdk/trunk/tools/diffpack/diffpack
    flex/sdk/trunk/tools/diffpack/readme.txt

    All,
    I thought it may be related to spaces in the path in which the script was called from. I tried having the ODBC command script in another directory but the same thing happens. It will give me the "CONFIGSYSDSN: Unable to create a data source for the 'Oracle in OraClient10g_home1' driver: Could not load the setup or translator library with error code -2147467259". As soon as the script is done running I can manually double click the script and it adds the DSN fine.
    Thanks,
    Clif Bridegum

Maybe you are looking for

  • MacBook Air + Time Capsule  frequently dropping internet connection

    I too have been having frequently dropped wireless connections between my MacBook Air (MBA) and my Time Capsule(TC). My TC is connected to a cable modem and I also have an Airport Extreme Base Station (AEBS) at a different part of my house which is u

  • Header child element 'WSCorIDSOAPHeader' must be namespace qualified!

    I have two machines. The first machine have an OSB managed server and admin server. The second machine have a SOA managed server, admin server and enterprise manager. A service call in OSB is redirect do SOA Server (BPEL process). After the route the

  • FM to fill activity partner and Contact person inside a BADI

    Hi, When i create an activity i need to check for a condition and process the activity accordingly. The condition is that when an contact person is entered mistakenly on the activity partner field then i need to move to the contact person field and a

  • MY BLUE TOOTH WILL NOT PICK UP ANY DEVICES

    My blue tooth on my new iPhone 6 will not pick up any devices

  • Transports in ep60

    In enterprise portal 6.0.2.5 do you do transports for every change in the portal.  Do you ever make any changes in production? For instance if you moved the order of iviews displayed in the user management role, would you then go through the process