Flat file not created

when i run the procedure i created, the flat file is not created in the specified directory....can someone tell me why?
the procedure is below. thanks
PROCEDURE po_creation IS
fHandle UTL_FILE.FILE_TYPE;
sc_shipcode varchar2(3); -- XX
sc_po_no varchar2(14);-- orderform.FORMNO VARCHAR2(20)
sc_po_status varchar2(1);-- orderform.orderformstatus number(1)
sc_ol_status varchar2(1); -- XX
sc_vender_no varchar2(10);-- sparetype.makerid number(9)
sc_credate date; -- orderform.CREATEDDATE DATE
sc_lastdelivery_date date; --orderform.LATESTDELIVERYDATE date
sc_gl_acccode varchar2(30); -- XX
sc_curr_code varchar2(3); -- orderline.CURRENCYCODE CHAR(3)
sc_freigtt_vendor varchar2(15); -- XX
sc_orderline_no number(4,0);-- orderline.orderlineno NUMBER(4)
sc_contact_no varchar2(40); -- XX
sc_description varchar2(40);-- orderline.NAME VARCHAR2(60)
sc_price number(12,2);-- orderline.PRICE NUMBER(12,2)
sc_quantity number(12,2); -- [sparepartlog.quantity NUMBER(9,2)](coded item) OR [orderline.received NUMBER(9,2) - orderline.sapqtyreceived NUMBER(9)](non coded items)
sc_unit varchar2(15); --unit.name VARCHAR2(15)
sc_discount_val number(12,2);-- orderform.SHIPPING NUMBER(12,2)
sc_discount_per number(5,2); -- orderline.DISCOUNT NUMBER(5,2)
sc_partno varchar2(40); -- sparetype.parttypeno varchar2(30)???
sc_makerref varchar2(40); -- orderline.MAKERREF VARCHAR2(50)
sc_po_user varchar2(40); -- orderform.CREATEDBY NUMBER(9)
sc_order_date date; -- orderform.ORDEREDDATE DATE
sc_asset_no varchar2(16); --orderline.COMMENT2 VARCHAR2(40)
sc_receive_date date; --orderform.receiveddate date(coded item) sparepartlog.transdate date (non coded item)
Cursor my_cursor is
select substr(a.formno,1,3), substr(a.formno,1,14), a.formstatus, a.formstatus, d.makerid, to_date(a.createddate,'YYYYMMDD'),
to_date(a.latestdeliverydate,'YYYYMMDD'),b.budgeted ,b.currencycode,substr(b.name,1,15),b.orderlineno ,b.comment1, substr(b.name,1,40),b.price,
substr(c.quantity,1,12),/*substr( b.received,1,12), substr(b.starcruises_sap_qty_received,1,12),*/e.name , a.shipping , b.discount,
substr(d.parttypeno,1,40), substr(b.makerref,1,40), to_date(a.createdby,'YYYYMMDD'),to_date(a.ordereddate,'YYYYMMDD'),
b.comment2,to_date(a.receiveddate,'YYYYMMDD')--, to_date(c.transdate,'YYYYMMDD')
from orderform a, orderline b, sparepartlog c, sparetype d, unit e
where a.orderid=b.orderid
and b.unitid=e.unitid
and a.orderid=c.orderid
and e.unitid=d.stockunitid
and rownum < 10 ;-----------testing purpose
Begin
fHandle := UTL_FILE.FOPEN('c:\pete','po.txt','w');
UTL_FILE.PUT_LINE (fHANDLE,to_char(sysdate,'YYYYMMDD'));
open my_cursor;
LOOP
FETCH my_cursor into sc_shipcode, sc_po_no,sc_po_status ,sc_ol_status ,sc_vender_no,sc_credate, sc_lastdelivery_date,
sc_gl_acccode,sc_curr_code ,sc_freigtt_vendor,sc_orderline_no ,sc_contact_no,sc_description,
sc_price,sc_quantity,sc_unit,sc_discount_val,sc_discount_per,sc_partno,sc_makerref,sc_po_user,
sc_order_date ,sc_asset_no ,sc_receive_date;
EXIT WHEN
my_cursor%NOTFOUND;
/*check the lenght of each colum to be written to text file*/
sc_shipcode:=RPAD(sc_shipcode,3,'');
sc_po_no:=RPAD(sc_po_no,14,'');
sc_po_status:=RPAD(sc_po_status,1,'');
sc_ol_status:=RPAD(sc_ol_status,1,'');
sc_vender_no:=RPAD(sc_vender_no,10,'');
sc_gl_acccode:=RPAD(sc_gl_acccode,30,'');
sc_curr_code:=RPAD(sc_curr_code,3,'');
sc_freigtt_vendor:=RPAD(sc_freigtt_vendor,15,'');
sc_orderline_no:=RPAD(sc_orderline_no,4,'');
sc_contact_no:=RPAD(sc_contact_no,40,'');
sc_description:=RPAD(sc_description,40,'');
sc_price:=RPAD(sc_price,12,'');
sc_quantity:=RPAD(sc_quantity,12,'');
sc_unit:=RPAD(sc_unit,15,'');
sc_discount_val:=RPAD(sc_discount_val,12,'');
sc_discount_per:=RPAD(sc_discount_per,5,'');
sc_partno:=RPAD(sc_partno,40,'');
sc_makerref:=RPAD(sc_makerref,40,'');
sc_po_user:=RPAD(sc_po_user,40,'');
sc_asset_no:=RPAD(sc_asset_no,16,'');
/*write to file */
UTL_FILE.PUT_LINE( fHandle,sc_shipcode||sc_po_no||sc_po_status||sc_ol_status||sc_vender_no||sc_credate||sc_lastdelivery_date
||sc_gl_acccode||sc_curr_code||sc_freigtt_vendor||sc_orderline_no||sc_contact_no||sc_description||sc_price||
sc_quantity||sc_unit||sc_discount_val||sc_discount_per||sc_partno||sc_makerref||sc_po_user||
sc_order_date||sc_asset_no||sc_receive_date);
END LOOP;
close my_cursor;
--commit;
--message('1');pause;
utl_file.fclose(fHandle);
--message('2');pause;
exception
     when no_data_found then
     null;
when others then
     null;
--     WHEN UTL_FILE.INVALID_PATH THEN
-- message('Invalid Path');pause;
End;

If you are using 9i then you can Create a Directory instead of setting the ult_file_dir parameter in the init file. The user creating the directory need CREATE DIRECTORY privilege
Example: Create directory MY_DATA as 'c:\pete' ;
And here is the list of exceptions (using 9i)
INVALID_PATH          File location is invalid.
INVALID_MODE          The open_mode parameter in FOPEN is invalid.
INVALID_FILEHANDLE          File handle is invalid.
INVALID_OPERATION          File could not be opened or operated on as requested.
READ_ERROR          Operating system error occurred during the read operation.
WRITE_ERROR          Operating system error occurred during the write operation.
INTERNAL_ERROR          Unspecified PL/SQL error
CHARSETMISMATCH           A file is opened using FOPEN_NCHAR, but later I/O operations
               use nonchar functions such as PUTF or GET_LINE.
FILE_OPEN           The requested operation failed because the file is open.
INVALID_MAXLINESIZE     The MAX_LINESIZE value for FOPEN() is invalid; it should be
               within the range 1 to 32767.
INVALID_FILENAME          The filename parameter is invalid.
ACCESS_DENIED          Permission to access to the file location is denied.
INVALID_OFFSET          The ABSOLUTE_OFFSET parameter for FSEEK() is invalid; it
               should be greater than 0 and less than the total number of bytes
               in the file.
DELETE_FAILED          The requested file delete operation failed.
RENAME_FAILED          The requested file rename operation failed.
You can also have NO_DATA_FOUND, VALUE_ERROR

Similar Messages

  • Background job finished but flat file not created in the Background

    Dear all,
    ZHR_CSD program is scheduled to run daily at 00:01:00. This program is generating the flat file in the folder CSD/HR.
    when i  schedule this program to run immediately it is generating the flat file.
    But when i schedule this program in Background it is not generating flat file .
    Regards

    Hi,
    As suggested by Eric, your Z Program is probably using GUI_DOWNLOAD Function Module.
    GUI_DOWNLOAD or any other GUI function modules (FM) will only run in foreground, not in Background.
    Ask your developer to code that Z Program with OPEN DATASET logic, if its possible.
    The Reverse situation is well described in [this thread|Background Job assigment with variant in SM37 , for Textfile uploading], please refer it to get some relative information for the same.
    Regards,
    Bhavik G. Shroff

  • Adobe Acrobat XI Pro. Unable to process the document in the module Save As.File not created

    On the ultrabook Asus (System Settings: WIN 8.1 64-bit, Core I5-3317U CPU @ 1.70 Ghz, Memory 4 Gb), set Adobe Acrobat XI Pro 11.0.09
    When you convert to any format via SaveAs in WORD, EXCEL, or via the Export file in ... throws the error "Unable to process the document in the module Save As. File not created"
    http://youtu.be/l0a0lWexfNQ.

    Hi,
    Please post your query in Adobe Acrobat Thread:Acrobat
    Regards,
    Florence

  • Control file not created at time of installtion

    control file not created at time of installtion of oracle database
    now how we can create it
    see alert file
    Dump file e:\ORacle\admin\new\bdump\newALRT.LOG
    Tue Sep 09 10:45:53 2003
    ORACLE V8.1.6.0.0 - Production vsnsta=0
    vsnsql=e vsnxtr=3
    Windows 2000 Version 5.0 , CPU type 586
    Starting up ORACLE RDBMS Version: 8.1.6.0.0.
    System parameters with non-default values:
    processes = 59
    shared_pool_size = 52428800
    large_pool_size = 614400
    java_pool_size = 20971520
    control_files = e:\ORacle\oradata\new\control01.ctl, e:\ORacle\oradata\new\control02.ctl, e:\ORacle\oradata\new\control03.ctl
    db_block_buffers = 19200
    db_block_size = 8192
    compatible = 8.1.0
    log_buffer = 32768
    log_checkpoint_interval = 10000
    log_checkpoint_timeout = 1800
    db_files = 1024
    db_file_multiblock_read_count= 8
    max_enabled_roles = 30
    remote_login_passwordfile= EXCLUSIVE
    global_names = TRUE
    distributed_transactions = 500
    instance_name = new
    service_names = new
    mts_dispatchers = (PROTOCOL=TCP)(PRE=oracle.aurora.server.SGiopServer)
    open_links = 4
    sort_area_size = 65536
    sort_area_retained_size = 65536
    db_name = new
    open_cursors = 100
    os_authent_prefix =
    job_queue_processes = 0
    job_queue_interval = 10
    parallel_max_servers = 5
    background_dump_dest = e:\ORacle\admin\new\bdump
    user_dump_dest = e:\ORacle\admin\new\udump
    max_dump_file_size = 10240
    oracle_trace_collection_name=
    PMON started with pid=2
    DBW0 started with pid=3
    LGWR started with pid=4
    CKPT started with pid=5
    SMON started with pid=6
    RECO started with pid=7
    Tue Sep 09 10:45:55 2003
    starting up 1 shared server(s) ...
    starting up 1 dispatcher(s) for network address '(ADDRESS=(PARTIAL=YES)(PROTOCOL=TCP))'...
    Tue Sep 09 10:45:58 2003
    create controlfile reuse set database new
    datafile 'e:\ORacle\oradata\new\system01.dbf',
    'e:\ORacle\oradata\new\temp01.dbf',
    'e:\ORacle\oradata\new\rbs01.dbf',
    'e:\ORacle\oradata\new\indx01.dbf',
    'e:\ORacle\oradata\new\tools01.dbf',
    'e:\ORacle\oradata\new\dr01.dbf',
    'e:\ORacle\oradata\new\users01.dbf'
    logfile 'e:\ORacle\oradata\new\redo01.log' size 1M,
    'e:\ORacle\oradata\new\redo02.log' size 1M,
    'e:\ORacle\oradata\new\redo03.log' size 1M resetlogs
    Tue Sep 09 10:46:03 2003
    ORA-1503 signalled during: create controlfile reuse set database new
    datafile...
    Tue Sep 09 10:46:03 2003
    alter database new open resetlogs
    ORA-1507 signalled during: alter database new open resetlogs...
    Tue Sep 09 10:46:14 2003
    alter database new character set WE8ISO8859P1
    Tue Sep 09 10:46:14 2003
    ORA-1507 signalled during: alter database new character set WE8ISO8859P1...
    Tue Sep 09 10:46:14 2003
    alter database new national character set WE8ISO8859P1
    ORA-1507 signalled during: alter database new national character set WE8ISO88...
    Shutting down instance (normal)
    License high water mark = 1
    Tue Sep 09 10:46:15 2003
    ALTER DATABASE CLOSE NORMAL
    ORA-1507 signalled during: ALTER DATABASE CLOSE NORMAL...
    archiving is disabled
    Starting up ORACLE RDBMS Version: 8.1.6.0.0.
    System parameters with non-default values:
    processes = 59
    shared_pool_size = 52428800
    large_pool_size = 614400
    java_pool_size = 20971520
    control_files = e:\ORacle\oradata\new\control01.ctl, e:\ORacle\oradata\new\control02.ctl, e:\ORacle\oradata\new\control03.ctl
    db_block_buffers = 19200
    db_block_size = 8192
    compatible = 8.1.0
    log_buffer = 32768
    log_checkpoint_interval = 10000
    log_checkpoint_timeout = 1800
    db_files = 1024
    db_file_multiblock_read_count= 8
    max_enabled_roles = 30
    remote_login_passwordfile= EXCLUSIVE
    global_names = TRUE
    distributed_transactions = 500
    instance_name = new
    service_names = new
    mts_dispatchers = (PROTOCOL=TCP)(PRE=oracle.aurora.server.SGiopServer)
    open_links = 4
    sort_area_size = 65536
    sort_area_retained_size = 65536
    db_name = new
    open_cursors = 100
    os_authent_prefix =
    job_queue_processes = 4
    job_queue_interval = 10
    parallel_max_servers = 5
    background_dump_dest = e:\ORacle\admin\new\bdump
    user_dump_dest = e:\ORacle\admin\new\udump
    max_dump_file_size = 10240
    oracle_trace_collection_name=
    PMON started with pid=2
    DBW0 started with pid=3
    LGWR started with pid=4
    CKPT started with pid=5
    SMON started with pid=6
    RECO started with pid=7
    SNP0 started with pid=8
    SNP1 started with pid=9
    SNP2 started with pid=10
    SNP3 started with pid=11
    Tue Sep 09 10:46:30 2003
    starting up 1 shared server(s) ...
    starting up 1 dispatcher(s) for network address '(ADDRESS=(PARTIAL=YES)(PROTOCOL=TCP))'...
    Tue Sep 09 10:46:31 2003
    alter database mount
    Tue Sep 09 10:46:34 2003
    ORA-00202: controlfile: 'e:\ORacle\oradata\new\control01.ctl'
    ORA-27041: unable to open file
    OSD-04002: unable to open file
    O/S-Error: (OS 2) The system cannot find the file specified.
    Tue Sep 09 10:46:34 2003
    ORA-205 signalled during: alter database mount...
    Dump file e:\ORacle\admin\new\bdump\newALRT.LOG
    Tue Sep 09 11:18:54 2003
    ORACLE V8.1.6.0.0 - Production vsnsta=0
    vsnsql=e vsnxtr=3
    Windows 2000 Version 5.0 , CPU type 586
    Starting up ORACLE RDBMS Version: 8.1.6.0.0.
    System parameters with non-default values:
    processes = 59
    shared_pool_size = 52428800
    large_pool_size = 614400
    java_pool_size = 20971520
    control_files = e:\ORacle\oradata\new\control01.ctl, e:\ORacle\oradata\new\control02.ctl, e:\ORacle\oradata\new\control03.ctl
    db_block_buffers = 19200
    db_block_size = 8192
    compatible = 8.1.0
    log_buffer = 32768
    log_checkpoint_interval = 10000
    log_checkpoint_timeout = 1800
    db_files = 1024
    db_file_multiblock_read_count= 8
    max_enabled_roles = 30
    remote_login_passwordfile= EXCLUSIVE
    global_names = TRUE
    distributed_transactions = 500
    instance_name = new
    service_names = new
    mts_dispatchers = (PROTOCOL=TCP)(PRE=oracle.aurora.server.SGiopServer)
    open_links = 4
    sort_area_size = 65536
    sort_area_retained_size = 65536
    db_name = new
    open_cursors = 100
    os_authent_prefix =
    job_queue_processes = 4
    job_queue_interval = 10
    parallel_max_servers = 5
    background_dump_dest = e:\ORacle\admin\new\bdump
    user_dump_dest = e:\ORacle\admin\new\udump
    max_dump_file_size = 10240
    oracle_trace_collection_name=
    PMON started with pid=2
    DBW0 started with pid=3
    LGWR started with pid=4
    CKPT started with pid=5
    SMON started with pid=6
    RECO started with pid=7
    SNP0 started with pid=8
    SNP1 started with pid=9
    SNP2 started with pid=10
    SNP3 started with pid=11
    Tue Sep 09 11:18:57 2003
    starting up 1 shared server(s) ...
    starting up 1 dispatcher(s) for network address '(ADDRESS=(PARTIAL=YES)(PROTOCOL=TCP))'...
    Tue Sep 09 11:18:58 2003
    alter database mount exclusive
    Tue Sep 09 11:19:01 2003
    ORA-00202: controlfile: 'e:\ORacle\oradata\new\control01.ctl'
    ORA-27041: unable to open file
    OSD-04002: unable to open file
    O/S-Error: (OS 2) The system cannot find the file specified.
    Tue Sep 09 11:19:01 2003
    ORA-205 signalled during: alter database mount exclusive...
    Shutting down instance (abort)
    License high water mark = 5
    Instance terminated by USER, pid = 1156
    Dump file e:\ORacle\admin\new\bdump\newALRT.LOG
    Tue Sep 09 11:22:12 2003
    ORACLE V8.1.6.0.0 - Production vsnsta=0
    vsnsql=e vsnxtr=3
    Windows 2000 Version 5.0 , CPU type 586
    Starting up ORACLE RDBMS Version: 8.1.6.0.0.
    System parameters with non-default values:
    processes = 59
    shared_pool_size = 52428800
    large_pool_size = 614400
    java_pool_size = 20971520
    control_files = e:\ORacle\oradata\new\control01.ctl, e:\ORacle\oradata\new\control02.ctl, e:\ORacle\oradata\new\control03.ctl
    db_block_buffers = 19200
    db_block_size = 8192
    compatible = 8.1.0
    log_buffer = 32768
    log_checkpoint_interval = 10000
    log_checkpoint_timeout = 1800
    db_files = 1024
    db_file_multiblock_read_count= 8
    max_enabled_roles = 30
    remote_login_passwordfile= EXCLUSIVE
    global_names = TRUE
    distributed_transactions = 500
    instance_name = new
    service_names = new
    mts_dispatchers = (PROTOCOL=TCP)(PRE=oracle.aurora.server.SGiopServer)
    open_links = 4
    sort_area_size = 65536
    sort_area_retained_size = 65536
    db_name = new
    open_cursors = 100
    os_authent_prefix =
    job_queue_processes = 4
    job_queue_interval = 10
    parallel_max_servers = 5
    background_dump_dest = e:\ORacle\admin\new\bdump
    user_dump_dest = e:\ORacle\admin\new\udump
    max_dump_file_size = 10240
    oracle_trace_collection_name=
    PMON started with pid=2
    DBW0 started with pid=3
    LGWR started with pid=4
    CKPT started with pid=5
    SMON started with pid=6
    RECO started with pid=7
    SNP0 started with pid=8
    SNP1 started with pid=9
    SNP2 started with pid=10
    SNP3 started with pid=11
    Tue Sep 09 11:22:15 2003
    starting up 1 shared server(s) ...
    starting up 1 dispatcher(s) for network address '(ADDRESS=(PARTIAL=YES)(PROTOCOL=TCP))'...
    Tue Sep 09 11:22:16 2003
    alter database mount exclusive
    Tue Sep 09 11:22:19 2003
    ORA-00202: controlfile: 'e:\ORacle\oradata\new\control01.ctl'
    ORA-27041: unable to open file
    OSD-04002: unable to open file
    O/S-Error: (OS 2) The system cannot find the file specified.

    Hi Kuljeet,
    since you have a Windows system, I suggest you to open Windows explorer and check if all the 3 control files are there or not in the given location. It seems that your control01.ctl file is missing. If so then you have 2 options;
    1. Delete the entry from the parameter file for this control file so that Oracle does not use this file at all.
    OR
    2. Shut down your database normally and then copy the control02.ctl or control03.ctl manually with the copy command and rename it to control01.ctl. If you follow this option you need not delete the control01.ctl entry from the parameter file. But note to copy the control file the database has to be shutdown normally.

  • Archiving File Not created

    Hai Gurus,
    here i doing an archiving task,i havecreated the variant and assigned four weks to archive,after 40 min later i found the job is finished and when i started deleting ,the archived file file NOT created.So i cross checked in spool request and it shown as the "WAITING",the Statistics screen as NO data found.
    I have my job log as the arching is been created with "1" archiving object, but actually it has to show me the file name:"archive_bw_000025236.....".So what can be the reason and where can be the file be gone or saved?what is the procedure to find the Archived file,i mean in which table i can see
    please let me know
    Points will allocated fully .........
    Suri.

    Hi Suri,
    When you archive any data( in your case- 4 weeks data), the system will confirm if this data is business complete. If YES, then it will archive your stipulated data and only then you may be able to see the Log of the archived data.
    if there is no data ( business complete)to be archived, then NO archive file will be created.
    You can see the Archive file name in the Job Log of that particular archiving run.
    By the way, which data/object are u archiving ? may be i can help you.

  • Non English Charaters in Flat file(Note pad)

    Dear Friends,
    I have a flat file from presentation server which needs to be uploaded and do some validations on that file based on the data existing.
    I have some Russian language words in that file. E.g: "ОЩИ В ПОДГ". If this word exists in the file i need to get some other data from a database table. But when trying to check for the word, these characters are appearing as junk characters like ####&^^.
    I tried logging into RU language also, but still not working. And also tried changing the file as type Unicode, ASCII and also not worked.
    Please let me know how to get identify these words to see the exact russian words.
    Thanks for your help.
    Srinivas.

    Hello,
    Is your file .txt file.If yes,while saving it gives a pop up for file name.There you have option for encoding, there select encoding as
    Unicode and try to upload.
    It worked for me.I tried with the data provided by you.
    data:begin of it_tab occurs 0,
          val type string,
         end of it_tab.
    CALL FUNCTION 'GUI_UPLOAD'
      EXPORTING
        filename                      = 'C:\Documents and Settings\xxx\Desktop\SDN1.txt'
      FILETYPE                      = 'ASC'
      HAS_FIELD_SEPARATOR           = ' '
      HEADER_LENGTH                 = 0
      READ_BY_LINE                  = 'X'
      DAT_MODE                      = ' '
      CODEPAGE                      = ' '
      IGNORE_CERR                   = ABAP_TRUE
      REPLACEMENT                   = '#'
      CHECK_BOM                     = ' '
      VIRUS_SCAN_PROFILE            = VIRUS_SCAN_PROFILE
      NO_AUTH_CHECK                 = ' '
    IMPORTING
      FILELENGTH                    = FILELENGTH
      HEADER                        = HEADER
      TABLES
        data_tab                      = it_tab
    EXCEPTIONS
       FILE_OPEN_ERROR               = 1
       FILE_READ_ERROR               = 2
       NO_BATCH                      = 3
       GUI_REFUSE_FILETRANSFER       = 4
       INVALID_TYPE                  = 5
       NO_AUTHORITY                  = 6
       UNKNOWN_ERROR                 = 7
       BAD_DATA_FORMAT               = 8
       HEADER_NOT_ALLOWED            = 9
       SEPARATOR_NOT_ALLOWED         = 10
       HEADER_TOO_LONG               = 11
       UNKNOWN_DP_ERROR              = 12
       ACCESS_DENIED                 = 13
       DP_OUT_OF_MEMORY              = 14
       DISK_FULL                     = 15
       DP_TIMEOUT                    = 16
       OTHERS                        = 17
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    Thanks.
    Ramya.

  • Powershell, design manager, uploading html file not creating associated master page file

    I am uploading a xyz.html file through powershell for 2 site collections, when .html file is uploaded and published it automatically creates xyz.master file. It is working fine for not publishing sites collection only, for publishing site collection .html file
    is uploaded successfully but it is not creating associated .master file. If I close powershell console and run again it works successfully.
    another interesting thing I noticed that if I specify "spadmin" account which I used to install sharepoint as  site collection primary administrator, all works well, currently I am using "spsiteCollection" account for primary site collection
    administrator and I am having above mentioned issue.
    powershell script is also running with spadmin account.
    I have ensured .html is checked in and publish properly, If I manually unpublish and publish .html file it creates .mater file. What could be the issue?

    Hi,
    According to your post, my understanding is that you have an issue about upload html file to master page gallery.
    I have used the PowerShell contains in the codeplex to upload the files to master page gallery, it works without any issue.
    https://uploadmasterpages.codeplex.com/
    You can check your PowerShell with this article, or use this bat file to upload directly to check whether it works.
    Thanks,
    Jason
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Jason Guo
    TechNet Community Support

  • Pdf file not creating

    i have  a report which should create a pdf file (it may run in back ground r fore ground) i m geting msg in backgrong that pdf file is created but the pdf file is not getting created  wat could be the problem....................

    Hi,
    In the background, you can store the Fiel in teh Application server, from there you can download the fiel to Presentation server
    Look at the below link Upload Tab delimited file from application server into internal table, after that you can download that Internal table to Desktop using the GUI_DOWNLOAD function mdoule
    http://www.sapdevelopment.co.uk/file/file_uptabsap.htm
    Look at the below link to send the mail in the background
    http://www.sap-img.com/abap/sending-mail-with-attachment-report-in-background.htm
    Regards
    Sudheer

  • SSIS Compare 2 flat files and create a third flat file

    Hey all,
    I have two flat files structured as:
    Flat File A:
    3213,214,14,21421,354,325
    Flat File B:
    3213,214,14, 55,89, 21421,354,325
    I am trying to create an ETL Package that compares Flat File A, to Flat File B, finds an anomaly, in this case
    55,89, then outputs the anomalies to Flat File C, separated by commas.
    How would I go about doing this? Everything I have looked at shows comparisons between SQL DB's.
    Any suggestions?
    Thank you

    Hi, I'm looking for a no code solution for my clients. They're happy with drag and drop, but would prefer a no-code solution. Is this possible?
    sorry what do you mean by drag and drop? what will client drag and drop? From what interface?
    If you can give bigger picture then it would help
    In SSIS you've to implement using SSIS tasks only
    And in the above case you need to write code in any case be it script task which is in C#,VB .NET or be it execute sql task which is sql.
    Please Mark This As Answer if it solved your issue
    Please Vote This As Helpful if it helps to solve your issue
    Visakh
    My Wiki User Page
    My MSDN Page
    My Personal Blog
    My Facebook Page

  • Files not created with iTunes do not play from remote iTunes library

    I hve ripped a large part of my CD collection into music files into FLAC format. I have since converted my music files from FLAC into Apple Lossless Audio Codec (ALAC) format and imprted them into iTunes.
    The files play with no problem on iTunes if they are on a local iTunes library. Furthermore, all metadata such as tags and album cover art information are properly displayed in iTunes. This is true whether I'm running iTunes on a Windows XP box or a Mac OS X box. I have since imported many other CDs into my iTunes library using iTunes to encode into ALAC.
    If I share the iTunes library on my Windows XP machine to iTunes running on a Mac OS X box or to an Apple TV, I can:
    *play songs that were imported directly using iTunes
    *not play any songs that were not created with iTunes
    This behavior is true whether I'm trying to play them from either a Mac or from an Apple TV.
    If I copy the *.m4a files to the Mac and import them to the iTunes library I have no problems playing them on the Mac. I have not tried sharing the iTunes library on the Mac and tried accessing the files from the Apple TV or the Windows PC.
    Any thoughts?

    Fix: optimize m4a files moving the meta data to the beginning, whilst optionally creating a hint track (used for streaming m4a over Apple Airtunes).
    see: http://www.dbpoweramp.com/codec-central-m4a.htm

  • .ard file not created - visual studio 2008

    Hi, I'm creating addon installer for SAP B1 2007 SP1 PL05 running on Windows Server 2008 virtual machine. Visual Studio 2008 and B1DE 2.0 are installed on a Windows 7 virtual machine.
    I followed the steps to create new project using SAP B1 AddOnInstaller .NET Wizard. The AddOnRegDataGen.bat ran automatically when the wizard finished, and I also manually ran the .bat file, but in the bin folder only these 4 files were created:
    Installer.exe, Installer.vshost.exe, Installer.vshost.exe.manifest, Installer.xml
    The .exe file is not using the name I gave to the Installation project, and .ard file is missing.
    In AddonRegDataGen.bat the version is "20090901" - it only contains numbers, so this could not be the problem.
    Please help!

    Hi Yi,
    Could you take a look at AddonRegDataGen.bat under AddOnRegDataGenFile folder?
    Can you find AddOnRegDataGen.exe path as indicated in the 1st line of AddonRegDataGen.bat?
    Typically it is under:
    "C:\Program Files\SAP\SAP Business One SDK\Tools\AddOnRegDataGen\AddOnRegDataGen.exe"
    Please be sure SDK component installed and correct the batch file with the right path of AddOnRegDataGen.exe.
    Then run the batch manually. Or you can create ARD with AddOnRegDataGen.exe directly.
    Kind Regards, Yatsea

  • DG broker config file not created at standby site

    hi,
    i am trying to configure dataguard for primary db(10.2.0.1) , standby is created as stby
    for observer i have configured a third node , i have made the TNS entires and checked the connectivity
    when i had issued
    Alter system set dg_broker_start=True scope=both;
    on both nodes , configuration files were created at primary site
    SQL> show parameters DG_BROKER_CONFIG
    NAME TYPE VALUE
    dg_broker_config_file1 string C:\ORACLE\PRODUCT\10.2.0\DB_1\
    DATABASE\DR1PRIMARY.DAT
    dg_broker_config_file2 string C:\ORACLE\PRODUCT\10.2.0\DB_1\
    DATABASE\DR2PRIMARY.DAT
    i verified them
    but on stby node
    SQL> show parameters DG_BROKER_CONFIG
    NAME TYPE VALUE
    dg_broker_config_file1 string C:\ORACLE\PRODUCT\10.2.0\DB_1\
    DATABASE\DR1STBY.DAT
    dg_broker_config_file2 string C:\ORACLE\PRODUCT\10.2.0\DB_1\
    DATABASE\DR2STBY.DAT
    there were no config files even as the parameter suggests it had been created
    , how do i created these files
    without them i wont be able to add stby to observer node

    DGMGRL> show configuration
    Configuration
    Name: broker1
    Enabled: YES
    Protection Mode: MaxAvailability
    Fast-Start Failover: DISABLED
    Databases:
    primary - Primary database
    stby - Physical standby database
    Current status for "broker1":
    Warning: ORA-16607: one or more databases have failed
    DGMGRL> show database primary StatusReport;
    STATUS REPORT
    INSTANCE_NAME SEVERITY ERROR_TEXT
    primary ERROR ORA-16737: the redo transport service for standby database "stby" has an error
    redo logs from primary
    SQL> select type,member from v$logfile order by type;
    TYPE MEMBER
    ONLINE C:\ORACLE\PRODUCT\10.2.0\ORADATA\PRIMARY\REDO03.LOG
    ONLINE C:\ORACLE\PRODUCT\10.2.0\ORADATA\PRIMARY\REDO02.LOG
    ONLINE C:\ORACLE\PRODUCT\10.2.0\ORADATA\PRIMARY\REDO01.LOG
    STANDBY C:\ORACLE\PRODUCT\10.2.0\ORADATA\PRIMARY\REDO04.LOG
    STANDBY C:\ORACLE\PRODUCT\10.2.0\ORADATA\PRIMARY\REDO05.LOG
    STANDBY C:\ORACLE\PRODUCT\10.2.0\ORADATA\PRIMARY\REDO06.LOG
    redo logs from stby
    SQL> select type,member from v$logfile order by type;
    TYPE MEMBER
    ONLINE C:\ORACLE\PRODUCT\10.2.0\ORADATA\STBY\ONLINELOG\REDO03.LOG
    ONLINE C:\ORACLE\PRODUCT\10.2.0\ORADATA\STBY\ONLINELOG\REDO02.LOG
    ONLINE C:\ORACLE\PRODUCT\10.2.0\ORADATA\STBY\ONLINELOG\REDO01.LOG
    STANDBY C:\ORACLE\PRODUCT\10.2.0\ORADATA\STBY\ONLINELOG\REDO04.LOG
    STANDBY C:\ORACLE\PRODUCT\10.2.0\ORADATA\STBY\ONLINELOG\REDO05.LOG
    STANDBY C:\ORACLE\PRODUCT\10.2.0\ORADATA\STBY\ONLINELOG\REDO06.LOG
    i checked the alert log for primary, last contents are
    LGWR: Error 16086 creating archivelog file '(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=tcp)(HOST=XP2)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=stby_XPT)(INSTANCE_NAME=stby)(SERVER=dedicated)))'
    LGWR: Failed to archive log 3 thread 1 sequence 52 (16086)
    Thread 1 advanced to log sequence 52
    Current log# 3 seq# 52 mem# 0: C:\ORACLE\PRODUCT\10.2.0\ORADATA\PRIMARY\REDO03.LOG
    LNSb started with pid=24, OS id=1080
    Thu Nov 19 16:59:02 2009
    LGWR: Attempting destination LOG_ARCHIVE_DEST_2 network reconnect (16086)
    LGWR: Destination LOG_ARCHIVE_DEST_2 network reconnect abandoned
    Thu Nov 19 16:59:02 2009
    Errors in file c:\oracle\product\10.2.0\admin\primary\bdump\primary_lgwr_1172.trc:
    ORA-16086: standby database does not contain available standby log files
    LGWR: Error 16086 creating archivelog file '(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=tcp)(HOST=XP2)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=stby_XPT)(INSTANCE_NAME=stby)(SERVER=dedicated)))'
    LGWR: Failed to archive log 1 thread 1 sequence 53 (16086)
    Thread 1 advanced to log sequence 53
    Current log# 1 seq# 53 mem# 0: C:\ORACLE\PRODUCT\10.2.0\ORADATA\PRIMARY\REDO01.LOG
    Thu Nov 19 16:59:52 2009
    Thread 1 advanced to log sequence 54
    Current log# 2 seq# 54 mem# 0: C:\ORACLE\PRODUCT\10.2.0\ORADATA\PRIMARY\REDO02.LOG
    pfile for primary is
    primary.__db_cache_size=83886080
    primary.__java_pool_size=4194304
    primary.__large_pool_size=4194304
    primary.__shared_pool_size=71303168
    primary.__streams_pool_size=0
    *.archive_lag_target=0
    *.audit_file_dest='C:\oracle\product\10.2.0/admin/primary/adump'
    *.background_dump_dest='C:\oracle\product\10.2.0/admin/primary/bdump'
    *.compatible='10.2.0.1.0'
    *.control_files='C:\oracle\product\10.2.0\oradata\primary\control01.ctl','C:\oracle\product\10.2.0\oradata\primary\control02.ctl','C:\oracle\product\10.2.0\oradata\primary\control03.ctl'
    *.core_dump_dest='C:\oracle\product\10.2.0/admin/primary/cdump'
    *.db_block_size=8192
    *.db_domain=''
    *.db_file_multiblock_read_count=16
    *.db_file_name_convert='C:\oracle\product\10.2.0\oradata\stby\datafile','C:\oracle\product\10.2.0\oradata\primary'
    *.db_name='primary'
    *.db_recovery_file_dest='C:\oracle\product\10.2.0\flash\'
    *.db_recovery_file_dest_size=1500M
    *.db_unique_name='primary'
    *.dg_broker_start=TRUE
    *.dispatchers='(PROTOCOL=TCP) (SERVICE=primaryXDB)'
    *.fal_client='primary'
    *.fal_server='stby'
    *.job_queue_processes=10
    *.LOG_ARCHIVE_CONFIG='DG_CONFIG=(primary,stby)'
    *.log_archive_dest_1='LOCATION=C:\oracle\product\10.2.0\db_1\database\archive
    VALID_FOR=(ALL_LOGFILES,ALL_ROLES)
    DB_UNIQUE_NAME=primary'
    primary.log_archive_dest_1='location="C:\oracle\product\10.2.0\db_1\database\archive"','valid_for=(ONLINE_LOGFILE,ALL_ROLES)'
    *.log_archive_dest_2='service="(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=tcp)(HOST=XP2)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=stby_XPT)(INSTANCE_NAME=stby)(SERVER=dedicated)))"',' LGWR SYNC AFFIRM delay=0 OPTIONAL max_failure=0 max_connections=1 reopen=300 db_unique_name="stby" register net_timeout=180 valid_for=(online_logfile,primary_role)'
    *.log_archive_dest_state_1='ENABLE'
    primary.log_archive_dest_state_1='ENABLE'
    *.log_archive_dest_state_2='ENABLE'
    *.LOG_ARCHIVE_FORMAT='%t_%s_%r.arc'
    primary.log_archive_format='%t_%s_%r.arc'
    *.log_archive_max_processes=2
    *.log_archive_min_succeed_dest=1
    primary.log_archive_trace=0
    *.log_file_name_convert='C:\oracle\product\10.2.0\oradata\stby\onlinelog','C:\oracle\product\10.2.0\oradata\primary'
    *.open_cursors=300
    *.pga_aggregate_target=16777216
    *.processes=150
    *.remote_login_passwordfile='EXCLUSIVE'
    *.sga_target=167772160
    primary.standby_archive_dest=''
    *.standby_file_management='MANUAL'
    *.undo_management='AUTO'
    *.undo_tablespace='UNDOTBS1'
    *.user_dump_dest='C:\oracle\product\10.2.0/admin/primary/udump'
    Edited by: Adroit77 on Nov 19, 2009 5:05 PM

  • Translated properties file not created

    I am trying to translate an application to several languages.  I imported the translated xlf files into the project and reloaded/rebuilt.  Translated versions of the properties files were created for all the languages I tried except Chinese.
    Any ideas?

    I checked the log, but nothing stood out (no errors and nothing different from the reload/rebuilds without Chinese translations).
    I was able to get it to work using the language code "zh_CN", but the properties files were not generated when I used the language codes "zh" or "zh-CN".  I guess I was just trying to use unsupported language codes.
    Thanks for the help...

  • File not creating in AL11 wen executing in Background

    Hi,
    I have written code to upload some data to Appln server(AL11). When i execute in foreground, file is creating. But wen i execute in background, i couldnt find that file in the path which i have given.
    Since we cant debug the program in Background, i dont know whether OPEN DATASET returns SUBRC = 0 or not. I even checked with the Path thr AL11. The same path is accessible too..
    Plz help me out for this.
    Thanks,
    Ramesh

    Ramesh,
    You can debug a background job.
    go to sm37 and select the job and type /JDBG in the command prompt.
    search in sdn on how to debug a background job
    Thanks
    Bala Duvvuri

  • Expdp file not created *sometimes*

    Working in 11.1.0.7 on RHEL 4.5 Linux, using a script to create a parameter file and run expdp (as system) to export a weekly partition of data for archiving.
    Works fine - mostly, so the script and syntax is all good. But quite regularly it will run without generating creating the export file or log, but without generating any errors - in fact it reports that the job 'successfully completed'. Run the job again and presto...works fine.
    Also, when the files are not created the export doesn't generate trace files, despite TRACE being set. Trace files are generated if the job creates the .dmp files, so the syntax is all OK. Doesn't bode well for raising a TAR with Oracle....
    In the alert log, there are DM00 and DW01 started messages associated with successful jobs, but not with unsuccessful jobs. It is like the job does everything except actually spawning the Oracle processes....
    And then, just sometimes, when I re-run the job, it will report that the file already exists, despite the OS reporting that it is not there.
    Has anyone else found anything similar to this?
    Gavin

    Gavin,
    THis is a strange one. I have never heard of this before. When the job runs, what do you see on the screen where the job is run? Do you run this from the command line prompt, or the api?
    Can you post your expdp command with the parameter file?
    Dean

Maybe you are looking for

  • Accounts Payable and PO Accrual Reconciliation Summary Report?

    Dear all, We are using R12.1.3 and doing the reconciliation AP Vs PO Accrual. However, I run the report "Accounts Payable and PO Accrual Reconciliation Summary Report" and found that one record is strange, like the PO Accrual balance is something -10

  • Can I publish more than one website to the net with iWeb?

    Hey there, Looking for help from ANYBODY!!!! I've done one website for my business (Interior design), secured the domain name and published it no problems. Then I designed a second one (medical aid site), secured another domain name but when typed in

  • ATG 10.1.1 - MySQL foriegn key issues

    Hi All, Am trying to setup ATG 10.1.1 in a distributed environment for development purpose. I have 2 boxes. Windows box: contains MySQL installation and will be treated as DB Server Linux box: contains ATG/Weblogic installation and will be treated as

  • Variable for one Dimension based on another Dimension's Property

    Hi all, This is a Acript Logic question. I have a dimension called P_BUDGET_MODEL. It has a property called PROFIT_CTR. I also have a dimension called P_PCA. I would like to have a variable that defines the values of P_PCA based on the values of PROF

  • Want to completely DISABLE the 'swipe' gesture (done it before, replacement phone) :( :( :(

    For the love of Pete...can someone tell me HOW to turn off this annoying "swipe" requirement. I've turned OFF swipe to wake in the display settings..but if I recall I have to "somewhere else" turn off something else to prevent the situation I now hav