File not created via UTL filr

PROCEDURE pr_exercise (
p_userid VARCHAR2,
p_filename VARCHAR2,
p_logfile VARCHAR2
IS
CURSOR c_exercise
IS
SELECT ordr.corp_name, e.exer_dt, ordr.corp_name, o.soc_sec, o.name_first,
o.name_mi, o.name_last, u.ml_retail_account, e.exer_dt, e.exer_type,
e.opts_exer,
(SELECT g.opt_prc
FROM grantz g
WHERE g.grant_num = e.grant_num AND g.user_id = e.user_id),
(SELECT SUM (d.shrs_sold)
FROM dispose d
WHERE d.exer_num = e.exer_num AND d.grant_num = e.grant_num),
e.shrs_swap, e.mkt_prc, (NVL (e.opts_exer, 0) * NVL (u.opt_prc, 0)),
(NVL (e.opts_exer, 0) * NVL (e.mkt_prc, 0)),
(SELECT SUM (f.commission)
FROM feeschgd f
WHERE f.exer_num = e.exer_num AND f.user_id = e.user_id),
NVL (u.tot_fee, 0), NVL (u.tot_tax, 0),
NVL (ordr.multi_curr_handling_fee, 0),
DECODE
(u.exer_type,
4, DECODE
(NVL (u.distribution_method, 'X'),
'X', NULL,
pk_xop_citibank_forex.fn_get_netamount
(u.user_id,
u.exer_num,
u.soc_sec,
u.sar_cash_amount,
NVL (u.comm_value, 0),
NVL (u.tot_fee, 0),
NVL (u.multi_curr_handling_fee,
0
( (NVL (u.shrs_sold, 0) * NVL (u.mkt_prc, 0))
- ( (u.opts_exer * NVL (u.opt_prc, 0))
+ DECODE (NVL (u.shrs_wthld_for_taxes, 'N'),
'Y', 0,
ROUND (NVL (u.tot_tax, 0), 2)
+ NVL (u.tot_fee, 0)
+ NVL (u.multi_curr_handling_fee, 0)
+ NVL (u.comm_value, 0)
- NVL (u.backup_withholding, 0)
ordr.ml_currency_code, ordr.foreign_currency_code,
ordr.distribution_method, e.user_id, ivr_plan_num, u.tot_fee,
u.exersource, xe.plan_type, e.exer_dt,
DECODE (u.plan_type,
0, 'ISO',
1, 'NONQUAL',
2, 'RES',
3, 'SAR',
4, 'RSU',
5, 'RCU',
6, 'DEU',
7, 'PS',
8, 'PU',
NULL
p.plan_id, e.create_dt,
--:blpt_pl_ef_dt,
fc.ivr_plan_num
FROM exercise e,
xop_exercise xe,
optionee o,
tb_ml_exer_upload u,
tb_xop_order_manager_t ordr,
planz p,
tb_fc_compy fc
WHERE e.exer_num = xe.exer_num
AND e.user_id = xe.user_id
AND e.opt_num = o.opt_num
AND e.user_id = o.user_id
AND e.exer_num = u.exer_num
AND e.user_id = u.user_id
AND e.exer_num = ordr.exer_num(+)
AND e.user_id = ordr.user_log(+)
AND e.plan_num = p.plan_num
AND e.user_id = p.user_id
AND (NVL (e.order_num, 0) >= 0 AND e.mkt_prc > 0)
AND e.user_id = TRIM ('CMSGGL_USER')
AND u.user_id = fc.compy_passwd;
file_out_portrait UTL_FILE.FILE_TYPE;
file_out_midas UTL_FILE.FILE_TYPE;
v_portrait_str VARCHAR2 (32767);
v_midas_str VARCHAR2 (32767);
v_is_firstline BOOLEAN := TRUE;
v_ivr_plan_num VARCHAR2 (30);
v_midas_filepath VARCHAR2 (100);
v_portrait_filepath VARCHAR2 (100);
v_midas_filename VARCHAR2 (100);
v_portrait_filename VARCHAR2 (100);
BEGIN
DBMS_OUTPUT.PUT_LINE('SUCCESS1');
pr_batch_feed_errors (p_logfile,
'Generating exercise feed for User:' || p_userid
DBMS_OUTPUT.PUT_LINE('SUCCESS2');
SELECT MIDAS_FILE_PATH,
PORTRAIT_FILE_PATH,
MIDAS_FILE_NAME,
PORTRAIT_FILE_NAME
INTO v_midas_filepath,
v_portrait_filepath,
v_midas_filename,
v_portrait_filename
FROM tb_xop_batch_job_info
WHERE job_id = 2;
DBMS_OUTPUT.PUT_LINE('SUCCESS3');
pr_batch_feed_errors (p_logfile,
'midas_file_path:' || v_midas_filepath||
'portrait_file_path:' || v_portrait_filepath||
'midas_file_name:' || v_midas_filename||
'portrait_file_name:' || v_portrait_filename
file_out_portrait :=
UTL_FILE.FOPEN (v_portrait_filepath, p_filename, 'W');
file_out_midas :=
UTL_FILE.FOPEN (v_midas_filepath, p_filename, 'W');
DBMS_OUTPUT.PUT_LINE('SUCCESS4');
FOR v_exercise IN c_exercise --(v_ivr_plan_num)
LOOP
DBMS_OUTPUT.PUT_LINE('SUCCESS5');
v_portrait_str :=
/*('EXSOP'
||'/+/'
||NULL
||'/+/'
||v_company.ivr_plan_num
||'/+/'
||'CMS'
||v_company.compy_acronym
||'_USER'
||'/+/'
||v_company.compy_nme
||'/+/'
|| NULL
||'/+/'
|| v_company.ml_sec_num
||'/+/'
||v_company.compy_symbl
||'/+/'
||fn_get_fmv_rpt(sysdate,'CMS'
||v_company.compy_acronym
||'_USER')
||'/+/'
||v_company.fa_num
||'/+/'
||v_company.fa_name_hnw
||'/+/'
||v_company.maint_in_progress_flag
||'/+/'
||v_company.vc_branch_prefix
||'/+/'
||NULL
||'/+/'
||v_company.usr_winlog_id
UTL_FILE.PUT_LINE (file_out_portrait, v_portrait_str);
-- check if Midas need to be run
IF fn_is_first_sat
THEN
--check for header
IF v_is_firstline
THEN
pr_batch_feed_errors (p_logfile,
'Midas Header'
v_midas_str :=
('Corp Name'
||chr(9)
||'SSN'
||chr(9)
||'First Name'
||chr(9)
||'Middle Name'
||chr(9)
||'Last Name'
||chr(9)
||'Brokerage Account'
||chr(9)
||'Exercise Date'
||chr(9)
||'Exercise Type'
||chr(9)
||'Options Exercised'
||chr(9)
||'Grant Price'
||chr(9)
||'Shares Sold'
||chr(9)
||'Shares Swapped'
||chr(9)
||'Exercise Price'
||chr(9)
||'Cost to Exercise'
||chr(9)
||'Sale Proceeds'
||chr(9)
||'Commission'
||chr(9)
||'Total Fees'
||chr(9)
||'Total Tax'
||chr(9)
||'Multi Currency Fee'
||chr(9)
||'Net Proceeds'
||chr(9)
||'ML Currency Code'
||chr(9)
||'Foreign Currency Code'
||chr(9)
||'Distribution Method'
||chr(9)
||'User ID'
||chr(9)
||'Grant Type'
||chr(9)
||'Plan no'
||chr(9)
||'Source'
||chr(9)
||'Plan type'
||chr(9)
||'Exercise Num'
UTL_FILE.PUT_LINE (file_out_midas, v_midas_str);
v_is_firstline := FALSE;
END IF;
v_midas_str :=
(v_exercise.corp_name
||chr(9)
||v_exercise.soc_sec
||chr(9)
||v_exercise.name_first
||chr(9)
||v_exercise.name_mi
||chr(9)
||v_exercise.name_last
||chr(9)
||v_exercise.ml_retail_account
||chr(9)
||v_exercise.exer_dt
||chr(9)
||v_exercise.exer_type
||chr(9)
||v_exercise.opts_exer
||chr(9)
||v_exercise.opt_prc
||chr(9)
||v_exercise.shrs_sold
||chr(9)
||v_exercise.shrs_swap
||chr(9)
||v_exercise.Mkt_Prc
||chr(9)
||v_exercise.exer_prc
||chr(9)
||v_exercise.shrs_prc
||chr(9)
||v_exercise.comm_value
||chr(9)
||v_exercise.tot_fee
||chr(9)
||v_exercise.tot_tax
||chr(9)
||v_exercise.multi_fee
||chr(9)
||v_exercise.Net_proceeds
||chr(9)
||v_exercise.ml_currency_code
||chr(9)
||v_exercise.Foreign_Currency_Code
||chr(9)
||v_exercise.Distribution_Method
||chr(9)
||v_exercise.user_id
||chr(9)
||v_exercise.grant_type
||chr(9)
||v_exercise.plan_no
||chr(9)
||v_exercise.source
||chr(9)
||v_exercise.plan_type
||chr(9)
||v_exercise.exer_num);
UTL_FILE.PUT_LINE (file_out_midas, v_midas_str);
END IF;
END LOOP;
pr_batch_feed_errors (p_logfile,
'Created exercise feed for User'
|| p_userid);
-- close Midas and Portrait file
UTL_FILE.FCLOSE (file_out_portrait);
UTL_FILE.FCLOSE (file_out_midas);
EXCEPTION
WHEN OTHERS
THEN
pr_batch_feed_errors
( p_logfile,
'Critical Error! Code '
|| SQLCODE
|| ':'
|| SQLERRM
|| ' at '
|| USER
|| 'pk_xop_batch_feeds.pr_exercise'
END pr_exercise;

Hi,
Please read SQL and PL/SQL FAQ
If you have a performance issue have a look at SQL and PL/SQL FAQ
Additionally when you put some code or output please enclose it between two lines starting with {noformat}{noformat}
i.e.:
{noformat}{noformat}
SELECT ...
{noformat}{noformat}
Regards.
Al                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

Similar Messages

  • 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.

  • 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

  • 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

  • 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

  • BUT000 partner not created via function 'BAPI_BPCONSUMER_CREATE'

    Dear all,
    Hope you can help me. In a batch job we create business partners via function 'BAPI_BPCONSUMER_CREATE'. When the creation is succesfull the partner_number can be found in table BUT000. <u>Sometimes</u> however function 'BAPI_BPCONSUMER_CREATE' has been executed correctly (this means no errors/warnings in table 'ret') the partner_number is not present in the BUT000 table although the function 'BAPI_TRANSACTION_COMMIT' has been executed.
    When I check the BUT000 table afterwards there is a gap in the partner number numbering. You can see the abap code below.
    Has anyone seen this before? Thank you in advance for your help.
    With kind regards,
    Simon Tol, Bose IS
        CLEAR partner_number.
        CALL FUNCTION 'BAPI_BPCONSUMER_CREATE'
          EXPORTING
            partner_group               = 'Z001'
            partner_category            = '1'
            partner_central_data        = bupa_central
            central_data_person         = cpperson
            partner_addr                = cpaddress
            duplicate_message_type_addr = 'S'
          IMPORTING
            businesspartner             = partner_number
          TABLES
            partner_tel_addr            = cpadtel
            partner_fax_addr            = cpadfax
            partner_email_addr          = cpadsmtp
            return                      = ret.
        LOOP AT ret WHERE type = 'E' OR type = 'A'.
          PERFORM make_message USING 'I' ret-id ret-number ret-message_v1 ret-message_v2
                                                                 ret-message_v3 ret-message_v4.
          PERFORM make_message USING 'E' '00' '208' 'Error: Prospect not created' '' '' ''.
        ENDLOOP.
        IF sy-subrc <> 0.
          CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
            EXPORTING
              wait = 'X'.
          IF send_to_r3 IS INITIAL.
            CONCATENATE 'Prospect' partner_number 'created.' INTO msg
                                                   SEPARATED BY space.
          ELSE.
            CONCATENATE 'Consumer' partner_number 'created.' INTO msg
                                             SEPARATED BY space.
          ENDIF.
          PERFORM make_message USING 'S' '00' '208' msg '' '' ''.
          CLEAR but000.
          SELECT SINGLE * FROM but000 WHERE partner = partner_number.
          IF sy-subrc <> 0.
            CONCATENATE 'Error: Partner'                   
                        partner_number
                        'Partner not created, date/time'
                        sy-datum
                        sy-uzeit
                        INTO msg
            SEPARATED BY space.
            PERFORM make_message USING 'E' '00' '208' msg '' '' ''.
            PERFORM make_message USING 'E' '00' '208' 'Error: Partner not created' '' '' ''.
            gv_partner =  partner_number.
            return.
          ENDIF.

    Thank you very much for the helpful answers.
    The problem  is solved.
    'BAPI_EQUI_CREATE' needs a commit to make an entry in the Database.
    CALL FUNCTION 'BAPI_EQUI_CREATE'
    EXPORTING
      external_number    = equipmentnummer
      data_general       = data_general1
      data_specific      = data_specific1
    DATA_FLEET         = data_fleet1
    VALID_DATE         = valid_date1
      data_install       = data_install1
    IMPORTING
      equipment         = equipment1
      data_general_exp  = data_general_exp1
    data_specific_exp = data_specific_exp1
    data_fleet_exp    = data_fleet_exp1
    return            = return1 .
    DATA: ld_wait      LIKE  bapita-wait.             
    ld_wait = 'X' .
    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
      EXPORTING
        wait = ld_wait.

  • 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

  • Offline Files Not Enabling via GPO

    Hello,
    I have used the Offline Files syncing feature in Windows 7 for quite some time now. We moved to a different model laptop this year (Lenovo ThinkPad Yoga) and the Offline Files feature is not being enabled on it via Group Policy. I can see the GPO is being
    applied and the folder redirection in the GPO is working, however, the Offline Files piece is not.
    The Offline Files is working on every other model but the Yoga so I am positive it is something in the image itself preventing Offline Files from enabling via GPO. I can manually go in and enable it but doing this for 150 existing users in the time I need
    is not feasible. 
    What could possibly be in the OS (image) preventing this from enabling through Group Policy? I know for a fact this is not a problem with Group Policy itself since it is working on every other model but the Yoga. I even logged into an x230 and Yoga side
    by side with the same user account and it worked flawlessly on the x230 but not the Yoga. So I know it is an issue with the Yoga image.
    Any help is greatly appreciated!
    Thanks, Mike

    Hi Mike,
    Based on your description, we can check if the Offline Files service on the Yoga computers are automatically enabled. If not, we can edit the following registry to enable
    the Offline Files.
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\CSC
    From the list of registry values displayed in the right side pane, change the data in the registry value
    Start to 1, and then we need to reboot the computers to activate Offline Files.
    To edit the registry for multiple computers, we can utilize Group Policy Preferences Registry extension to do this.
    Regarding this point, the following article can be referred to for more information.
    Registry Extension
    http://technet.microsoft.com/en-us/library/cc771589.aspx
    Best regards,
    Frank Shen

Maybe you are looking for

  • How to delete data in table control

    Hi, I am doing module pool programming. After the user enters the data in table control after saving the data. if the user wants to  remove the line item the line item shd be removed from the screen and data base. Please Give me vaulable Suggestions

  • Can I run OS 10.2 on a PowerBook G4 1.67 GHz?

    I need to use an old OS9 application but can't run it on my MacBook Pro. So I got my old PowerBook G4 out, which is running OS 10.5.8 and OS 9.2 on it. It appears 10.5.8 won't run OS9. So I tried to do a clean install of 10.2 from a PowerBook G4 soft

  • Purchase Order on particular release date

    Friends, I am SAP HR consultant working on MM. I have one scenario how to find out the Purchase Orders on particular date. Is there is any tcode or report for that.

  • Unable to Sync SYSVOL Folder between Domain Controllers

    Good Afternoon All, I have the following issue on my current domain configuration, I say current as we are seeking to go to Server 2012 R2 within the next few months, but for now, we are at the 2008 R2 functional level. We have three Domain Controlle

  • The one feature I'd love to have

    I guess there is no specific place where users of iPods and iTunes can beg for features, so here goes nothing I'd love a button that pushes me out of shuffle mode (within a playlist or whatever), and puts the iPod (or iTunes) into a mode where it sus