Dumps due to ORA: 01116

HELLO,
We are getting too many dumps in ECC system "DBIF__RSQL_SQL_ERROR"
Please find the log
How to correct the error
    Database error text........: "ORA-01116: error in opening database file
     83#ORA-01110: data file 83: '/oracle/SID/sapdata12/sr3_67/sr3.data67'#ORA-2704
    1: unable to open file#Linux-x86_64 Error: 13: Permission denied#Additional
     information: 3"
    Internal call code.........: "[RSQL/FTCH/MARM ]"
    Please check the entries in the system log (Transaction SM21).
Regards,
uday

Hi,
As per your question & dump arises may be few things happen-:
1.) Please check permission of all datafiles at OS Level.
2.)Please check sm21 Log .
3.) Please check any datafile may be missing or deleted.
4.) check alert &  trace log of oracle in path /oracle/SID/saptrace.../...
Please check the following points hope this will resolve issue.
get back if u require further assistance.

Similar Messages

  • Node 1 evicted due to ORA- 29740

    Hi Guys,
    We have a two node cluster with 10.2.0.2 on Hp unix 11.31
    Yesterday node 1 was evicted by the other node due to ORA 29740 error;
    When I checked the alert log file I sae some IPC errors, below are some excerpts from the alert log files of both the nodes
    Node 1 Alert log file
    Mon Aug 24 22:03:00 2009
    Thread 1 advanced to log sequence 10484
    Current log# 7 seq# 10484 mem# 0: +DATADG/orcl/onlinelog/group_7.298.670427121
    Mon Aug 24 22:03:00 2009
    SUCCESS: diskgroup FLASHDG was mounted
    SUCCESS: diskgroup FLASHDG was dismounted
    Mon Aug 24 22:50:04 2009
    IPC Send timeout detected. Receiver ospid 15041
    Mon Aug 24 22:51:08 2009
    *Trace dumping is performing id=[cdmp_20090824225031]*
    Mon Aug 24 22:52:27 2009
    Errors in file /u01/app/oracle/db/admin/orcl/bdump/orcl1_lmon_15039.trc:
    ORA-29740: evicted by member 1, group incarnation 10
    Mon Aug 24 22:52:27 2009
    LMON: terminating instance due to error 29740
    Mon Aug 24 22:52:27 2009
    Errors in file /u01/app/oracle/db/admin/orcl/bdump/orcl1_lms1_15045.trc:
    ORA-29740: evicted by member , group incarnation
    Mon Aug 24 22:52:27 2009
    Errors in file /u01/app/oracle/db/admin/orcl/bdump/orcl1_lms0_15043.trc:
    ORA-29740: evicted by member , group incarnation
    Mon Aug 24 22:52:30 2009
    Errors in file /u01/app/oracle/db/admin/orcl/bdump/orcl1_rbal_15336.trc:
    ORA-29740: evicted by member , group incarnation
    Mon Aug 24 22:52:59 2009
    Shutting down instance (abort)
    License high water mark = 254
    Mon Aug 24 22:53:02 2009
    Instance terminated by LMON, pid = 15039
    Mon Aug 24 22:53:04 2009
    Instance terminated by USER, pid = 8745
    Mon Aug 24 22:53:13 2009
    Starting ORACLE instance (normal)
    LICENSE_MAX_SESSION = 0
    LICENSE_SESSIONS_WARNING = 0
    Node 2 Alert log file
    Mon Aug 24 19:55:31 2009
    Thread 2 advanced to log sequence 6803
    Current log# 10 seq# 6803 mem# 0: +DATADG/orcl/onlinelog/group_10.301.670427207
    Mon Aug 24 19:55:31 2009
    SUCCESS: diskgroup FLASHDG was mounted
    SUCCESS: diskgroup FLASHDG was dismounted
    Mon Aug 24 22:50:03 2009
    IPC Send timeout detected.Sender: ospid 6382
    Receiver: inst 1 binc 275179919 ospid 15041
    Mon Aug 24 22:50:04 2009
    IPC Send timeout detected.Sender: ospid 25897
    Receiver: inst 1 binc 275179919 ospid 15041
    Mon Aug 24 22:50:05 2009
    IPC Send timeout detected.Sender: ospid 26617
    Receiver: inst 1 binc 275179919 ospid 15041
    Mon Aug 24 22:50:06 2009
    IPC Send timeout detected.Sender: ospid 25678
    Receiver: inst 1 binc 275179919 ospid 15041
    Mon Aug 24 22:50:07 2009
    IPC Send timeout detected.Sender: ospid 21344
    Receiver: inst 1 binc 275179919 ospid 15041
    Mon Aug 24 22:50:31 2009
    IPC Send timeout to 0.0 inc 8 for msg type 12 from opid 198
    Mon Aug 24 22:50:31 2009
    Communications reconfiguration: instance_number 1+
    Mon Aug 24 22:50:33 2009
    IPC Send timeout to 0.0 inc 8 for msg type 12 from opid 112
    Mon Aug 24 22:50:35 2009
    Trace dumping is performing id=[cdmp_20090824225031]
    Mon Aug 24 22:50:35 2009
    IPC Send timeout detected.Sender: ospid 984
    Receiver: inst 1 binc 275179919 ospid 15041
    Mon Aug 24 22:50:35 2009
    IPC Send timeout to 0.0 inc 8 for msg type 12 from opid 15
    Mon Aug 24 22:50:49 2009
    IPC Send timeout to 0.0 inc 8 for msg type 12 from opid 16
    Mon Aug 24 22:50:52 2009
    IPC Send timeout detected.Sender: ospid 12489
    Receiver: inst 1 binc 275179919 ospid 15041
    Mon Aug 24 22:50:57 2009
    IPC Send timeout to 0.0 inc 8 for msg type 12 from opid 84
    Mon Aug 24 22:51:00 2009
    IPC Send timeout to 0.0 inc 8 for msg type 12 from opid 97
    Mon Aug 24 22:51:07 2009
    IPC Send timeout to 0.0 inc 8 for msg type 12 from opid 75
    Mon Aug 24 22:51:08 2009
    IPC Send timeout detected.Sender: ospid 8900
    Receiver: inst 1 binc 275179919 ospid 15041
    Mon Aug 24 22:51:25 2009
    Receiver: inst 1 binc 275179919 ospid 15041
    Mon Aug 24 22:52:09 2009
    Mon Aug 24 22:52:42 2009
    Waiting for instances to leave:
    *1*
    Mon Aug 24 22:52:57 2009
    IPC Send timeout detected.Sender: ospid 6378
    Receiver: inst 1 binc 275179919 ospid 15041
    Mon Aug 24 22:53:02 2009
    Reconfiguration started (old inc 8, new inc 12)
    List of nodes:
    1
    Global Resource Directory frozen
    * dead instance detected - domain 0 invalid = TRUE
    Communication channels reestablished
    Master broadcasted resource hash value bitmaps
    Non-local Process blocks cleaned out
    Mon Aug 24 22:53:02 2009
    LMS 0: 10 GCS shadows cancelled, 2 closed
    Mon Aug 24 22:53:02 2009
    LMS 1: 1 GCS shadows cancelled, 0 closed
    Set master node info
    Submitted all remote-enqueue requests
    Dwn-cvts replayed, VALBLKs dubious
    All grantable enqueues granted
    Post SMON to start 1st pass IR
    Mon Aug 24 22:53:04 2009
    LMS 0: 317502 GCS shadows traversed, 0 replayed
    Mon Aug 24 22:53:04 2009
    LMS 1: 302589 GCS shadows traversed, 0 replayed
    Mon Aug 24 22:53:04 2009
    Submitted all GCS remote-cache requests
    Post SMON to start 1st pass IR
    Fix write in gcs resources
    Mon Aug 24 22:53:04 2009
    Instance recovery: looking for dead threads
    Mon Aug 24 22:53:04 2009
    Beginning instance recovery of 1 threads
    Reconfiguration complete
    Mon Aug 24 22:53:06 2009
    parallel recovery started with 3 processes
    Mon Aug 24 22:53:07 2009
    Started redo scan
    Mon Aug 24 22:53:07 2009
    Completed redo scan
    53 redo blocks read, 30 data blocks need recovery
    Mon Aug 24 22:53:07 2009
    Started redo application at
    Thread 1: logseq 10484, block 40586
    Mon Aug 24 22:53:07 2009
    Recovery of Online Redo Log: Thread 1 Group 7 Seq 10484 Reading mem 0
    Mem# 0 errs 0: +DATADG/orcl/onlinelog/group_7.298.670427121
    Mon Aug 24 22:53:08 2009
    Completed redo application
    Mon Aug 24 22:53:08 2009
    Completed instance recovery at
    Thread 1: logseq 10484, block 40639, scn 1479311755
    30 data blocks read, 32 data blocks written, 53 redo blocks read
    Switch log for thread 1 to sequence 10485
    Mon Aug 24 22:53:27 2009
    Reconfiguration started (old inc 12, new inc 14)
    List of nodes:
    0 1
    Global Resource Directory frozen
    Communication channels reestablished
    * domain 0 valid = 1 according to instance 0
    Mon Aug 24 22:53:27 2009
    Master broadcasted resource hash value bitmaps
    Non-local Process blocks cleaned out
    Mon Aug 24 22:53:27 2009
    LMS 0: 0 GCS shadows cancelled, 0 closed
    Mon Aug 24 22:53:27 2009
    LMS 1: 0 GCS shadows cancelled, 0 closed
    Set master node info
    Submitted all remote-enqueue requests
    Dwn-cvts replayed, VALBLKs dubious
    All grantable enqueues granted
    Mon Aug 24 22:53:28 2009
    LMS 1: 11913 GCS shadows traversed, 4001 replayed
    Mon Aug 24 22:53:28 2009
    LMS 0: 11725 GCS shadows traversed, 4001 replayed
    Mon Aug 24 22:53:28 2009
    LMS 0: 11680 GCS shadows traversed, 4001 replayed
    Mon Aug 24 22:53:28 2009
    LMS 1: 11945 GCS shadows traversed, 4001 replayed
    Mon Aug 24 22:53:28 2009
    LMS 1: 11808 GCS shadows traversed, 4001 replayed
    LMS 1: 239 GCS shadows traversed, 80 replayed
    Mon Aug 24 22:53:28 2009
    LMS 0: 8065 GCS shadows traversed, 2737 replayed
    Mon Aug 24 22:53:28 2009
    Submitted all GCS remote-cache requests
    Fix write in gcs resources
    Reconfiguration complete
    Tue Aug 25 02:11:36 2009
    Thread 2 advanced to log sequence 6804
    Current log# 12 seq# 6804 mem# 0: +DATADG/orcl/onlinelog/group_12.303.670427257
    I checked the spu performance and I saw one oracle process i.e; SMON is utilising 86% CPU
    CPU TTY PID USERNAME PRI NI SIZE RES STATE TIME %WCPU %CPU COMMAND
    *1 ? 6378 oracle 241 20 17060M 18200K run 1951:13 86.48 86.33 ora_smon_orcl*
    Please Help me in investigating this issue.

    Check this link --> [this link|http://forums.oracle.com/forums/thread.jspa?messageID=3631288]

  • Export backup terminated due to ORA-00600: internal error code, arguments:

    Hi,
    exp system/system full=y file=exp_bkp.dmp log=exp_bkp.log statistics=none
    My export backup terminated unsuccessfully and database also down due to ORA-00600: internal error code, arguments: [17147], [0x4152199C], [], [], [], [], [], []
    os version=RHEL4
    DB Version=10.2.0.1.0
    export log
    exp_bkp.log
    About to export the entire database ...
    . exporting tablespace definitions
    . exporting profiles
    . exporting user definitions
    . exporting roles
    . exporting resource costs
    . exporting rollback segment definitions
    . exporting database links
    . exporting sequence numbers
    . exporting directory aliases
    . exporting context namespaces
    . exporting foreign function library names
    . exporting PUBLIC type synonyms
    . exporting private type synonyms
    . exporting object type definitions
    . exporting system procedural objects and actions
    . exporting pre-schema procedural objects and actions
    . exporting cluster definitions
    . about to export SYSTEM's tables via Conventional Path ...
    . . exporting table DEF$_AQCALL 0 rows exported
    ORA-00600: internal error code, arguments: [17112], [0x4152199C], [], [], [], [], [], []
    ORA-00600: internal error code, arguments: [17112], [0x4152199C], [], [], [], [], [], []
    ORA-00600: internal error code, arguments: [17112], [0x4152199C], [], [], [], [], [], []
    ORA-00600: internal error code, arguments: [17147], [0x4152199C], [], [], [], [], [], []
    Alert Log
    Errors in file /u02/app/oracle/product/10.2.0/db_1/admin/PRIM/udump/prim_ora_3704.trc:
    ORA-00600: internal error code, arguments: [17147], [0x4152199C], [], [], [], [], [], []
    Mon Jun 8 13:43:11 2009
    Errors in file /u02/app/oracle/product/10.2.0/db_1/admin/PRIM/udump/prim_ora_3704.trc:
    ORA-00600: internal error code, arguments: [17112], [0x4152199C], [], [], [], [], [], []
    ORA-00600: internal error code, arguments: [17147], [0x4152199C], [], [], [], [], [], []
    Mon Jun 8 13:43:12 2009
    Errors in file /u02/app/oracle/product/10.2.0/db_1/admin/PRIM/udump/prim_ora_3704.trc:
    ORA-00600: internal error code, arguments: [17112], [0x4152199C], [], [], [], [], [], []
    ORA-00600: internal error code, arguments: [17112], [0x4152199C], [], [], [], [], [], []
    ORA-00600: internal error code, arguments: [17147], [0x4152199C], [], [], [], [], [], []
    Mon Jun 8 13:43:14 2009
    Errors in file /u02/app/oracle/product/10.2.0/db_1/admin/PRIM/udump/prim_ora_3704.trc:
    ORA-00600: internal error code, arguments: [17112], [0x4152199C], [], [], [], [], [], []
    ORA-00600: internal error code, arguments: [17112], [0x4152199C], [], [], [], [], [], []
    ORA-00600: internal error code, arguments: [17112], [0x4152199C], [], [], [], [], [], []
    ORA-00600: internal error code, arguments: [17147], [0x4152199C], [], [], [], [], [], []
    Mon Jun 8 13:44:14 2009
    Errors in file /u02/app/oracle/product/10.2.0/db_1/admin/PRIM/bdump/prim_pmon_3648.trc:
    ORA-00600: internal error code, arguments: [17112], [0x4152199C], [], [], [], [], [], []
    Mon Jun 8 13:44:16 2009
    Errors in file /u02/app/oracle/product/10.2.0/db_1/admin/PRIM/bdump/prim_pmon_3648.trc:
    ORA-00600: internal error code, arguments: [17112], [0x4152199C], [], [], [], [], [], []
    Mon Jun 8 13:44:16 2009
    PMON: terminating instance due to error 472
    Mon Jun 8 13:44:16 2009
    Errors in file /u02/app/oracle/product/10.2.0/db_1/admin/PRIM/bdump/prim_psp0_3650.trc:
    ORA-00472: PMON process terminated with error
    Instance terminated by PMON, pid = 3648

    Hi,
    Trace files
    */u02/app/oracle/product/10.2.0/db_1/admin/PRIM/bdump/prim_pmon_3648.trc*
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
    With the Partitioning, OLAP and Data Mining options
    ORACLE_HOME = /u02/app/oracle/product/10.2.0/db_1
    System name:     Linux
    Node name:     test1.domain.com
    Release:     2.6.9-5.EL
    Version:     #1 Wed Jan 5 19:22:18 EST 2005
    Machine:     i686
    Instance name: PRIM
    Redo thread mounted by this instance: 1
    Oracle process number: 2
    Unix process pid: 3648, image: [email protected] (PMON)
    *** 2009-06-08 13:44:14.697
    *** SERVICE NAME:(SYS$BACKGROUND) 2009-06-08 13:44:14.695
    *** SESSION ID:(170.1) 2009-06-08 13:44:14.695
    ********** Internal heap ERROR 17112 addr=0x4152199c *********
    ***** Dump of memory around addr 0x4152199c:
    41520990 00001001 [....]
    415209A0 4151F99C 2001CFBC 00000000 415219A8 [..QA... ......RA]
    415209B0 D0000FED 00000000 415219B8 40EFEB10 [..........RA...@]
    415209C0 415219BC 00000025 00000000 0C7470F0 [..RA%........pt.]
    415209D0 00000000 46440007 454C544C 0000004E [......DFLTLEN...]
    415209E0 000A000C 0E000001 00000015 415209C4 [..............RA]
    415209F0 0C7470D8 41520A70 41520A1C 00000015 [.pt.p.RA..RA....]
    41520A00 415209E8 0C7470D8 41520A84 41520A1C [..RA.pt...RA..RA]
    41520A10 00000055 415209FC 0C747378 00000201 [U.....RAxst.....]
    41520A20 00000000 00000059 00008100 00030040 [....Y.......@...]
    41520A30 00000000 00000016 41548140 00000000 [[email protected]....]
    41520A40 04000008 00000000 40FFBEFC 00000000 [...........@....]
    41520A50 00000000 40F34AF0 40F56490 00000000 [[email protected].@....]
    */u02/app/oracle/product/10.2.0/db_1/admin/PRIM/udump/prim_ora_3677.trc*
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
    With the Partitioning, OLAP and Data Mining options
    ORACLE_HOME = /u02/app/oracle/product/10.2.0/db_1
    System name:     Linux
    Node name:     test1.domain.com
    Release:     2.6.9-5.EL
    Version:     #1 Wed Jan 5 19:22:18 EST 2005
    Machine:     i686
    Instance name: PRIM
    Redo thread mounted by this instance: 1
    Oracle process number: 15
    Unix process pid: 3677, image: [email protected] (TNS V1-V3)
    *** SERVICE NAME:() 2009-06-08 13:41:55.582
    *** SESSION ID:(159.3) 2009-06-08 13:41:55.582
    Thread 1 checkpoint: logseq 183, block 2, scn 473582
    cache-low rba: logseq 183, block 3
    on-disk rba: logseq 183, block 101, scn 473671
    start recovery at logseq 183, block 3, scn 0
    ----- Redo read statistics for thread 1 -----
    Read rate (ASYNC): 49Kb in 0.55s => 0.09 Mb/sec
    Total physical reads: 4096Kb
    Longest record: 0Kb, moves: 0/152 (0%)
    Longest LWN: 6Kb, moves: 0/24 (0%), moved: 0Mb
    Last redo scn: 0x0000.00073a46 (473670)
    ----- Recovery Hash Table Statistics ---------
    Hash table buckets = 32768
    Longest hash chain = 1
    Average hash chain = 41/41 = 1.0
    Max compares per lookup = 1
    Avg compares per lookup = 223/264 = 0.8
    *** 2009-06-08 13:41:56.180
    KCRA: start recovery claims for 41 data blocks
    *** 2009-06-08 13:41:57.051
    KCRA: blocks processed = 41/41, claimed = 41, eliminated = 0
    *** 2009-06-08 13:41:57.053
    Recovery of Online Redo Log: Thread 1 Group 1 Seq 183 Reading mem 0
    ----- Recovery Hash Table Statistics ---------
    Hash table buckets = 32768
    Longest hash chain = 1
    Average hash chain = 41/41 = 1.0
    Max compares per lookup = 1
    Avg compares per lookup = 264/264 = 1.0
    tkcrrsarc: (WARN) Failed to find ARCH for message (message:0x1)
    tkcrrpa: (WARN) Failed initial attempt to send ARCH message (message:0x1)

  • Getting error in mailing program :Cause: FDPSTP failed due to ORA-29277

    in the following program i am submitting a request and sending concurrent program log file (.REQ file)as an attachment but getting
    following error,plese tell me where i am wrong
    ORACLE error 29277 in FDPSTP
    Cause: FDPSTP failed due to ORA-29277: invalid SMTP operation
    ORA-06512: at "SYS.UTL_SMTP", line 44
    ORA-06512: at "SYS.UTL_SMTP", line 150
    ORA-06512: at "SYS.UTL_SMTP", line 383
    ORA-06512: at "SYS.UTL_SMTP", line 399
    ORA-0651
    code:
    CREATE OR REPLACE PACKAGE BODY APPS.xx_create_acct
    AS
       PROCEDURE submit_request(
          errbuf             OUT   VARCHAR2,
          retcode            OUT   VARCHAR2,
          Source_Application     varchar2,
    Application     number,
    Dummy_Parameter_0    varchar2,
    Ledger    number,
    Process_Category     varchar2,
    End_Date     varchar2,
    Create_Accounting_Flag    varchar2,
    Dummy_Parameter_1    varchar2,
    Accounting_Mode    varchar2,
    Dummy_Parameter_2    varchar2,
    Errors_Only_Flag    varchar2,
    Report    varchar2,
    Transfer_to_GL_Flag    varchar2,
    Dummy_Parameter_3    varchar2,
    Post_to_GL_Flag    varchar2,
    GL_Batch_Name    varchar2,
    Mixed_Currency_Precision    Number,
    Include_Zero_Amt_Lines_Flag    varchar2,
    Request_ID    varchar2,
    Entity_ID    Number,
    Source_Application_Name    varchar2,
    Application_Name    varchar2,
    Ledger_Name    varchar2,
    Process_Category_Name    varchar2,
    Create_Accounting    varchar2,
    Accounting_Mode_Name    varchar2,
    Errors_Only    varchar2,
    Report_Level    varchar2,
    Transfer_to_GL    varchar2,
    Post_in_GL    varchar2,
    Include_Zero_Amount_Lines    varchar2,
    Valuation_Method    varchar2,
    Security_ID_Integer_1    varchar2,
    Security_ID_Integer_2    varchar2,
    Security_ID_Integer_3    varchar2,
    Security_ID_Char_1    varchar2,
    Security_ID_Char_2    varchar2,
    Security_ID_Char_3    varchar2,
    Concurrent_Request_ID    number,
    P_INCLUDE_USER_TRX_ID_FLAG    varchar2,
    P_INCLUDE_USER_TRX_IDENTIFIERS    varchar2,
    P_DEBUG_FLAG     varchar2
       IS
          l_senderemail     VARCHAR2 (2000) := '[email protected]';
          l_request_id      NUMBER;
          errmsg            VARCHAR2 (1000);
          req_id            NUMBER;
          phase             VARCHAR2 (200);
          status            VARCHAR2 (200);
          dphase            VARCHAR2 (200);
          dstatus           VARCHAR2 (200);
          MESSAGE           VARCHAR2 (200);
          wait_stat         BOOLEAN;
          l_file_name       VARCHAR2 (200);
          l_file_path       VARCHAR2 (2000);
          crlf              VARCHAR2 (4)    := CHR (13) || CHR (10);
          v_set_layout_option  BOOLEAN;
           dir_name         varchar2(100);
        /*  CURSOR req_status
          IS
                        SELECT SUBSTR (outfile_name, 55, 23) filename,
                    SUBSTR (outfile_name, 1, 64) outfilepath
               FROM applsys.fnd_concurrent_requests
              WHERE request_id = l_request_id
                AND phase_code = 'C'
                AND status_code = 'C';*/
          directory_path    VARCHAR2 (2000);
          lv_subject        VARCHAR2 (100);
          lv_msg            VARCHAR2 (700);
          lv_msghdr         VARCHAR2 (100);
          lv_pdf_filename   VARCHAR2 (200);
       BEGIN
        apps.fnd_global.apps_initialize
                                   (user_id           => apps.fnd_global.user_id,
                                     resp_id           =>apps.fnd_global.resp_id,
                                    resp_appl_id      => apps.fnd_global.resp_appl_id
                 l_request_id :=
                apps.fnd_request.submit_request
                                      ( 'BOM',
                                        'CSTCRACCRCV',
                                         NULL,
                                         NULL,
                                         FALSE,                             
                                        Source_Application,
                                        Application     ,
                                        Dummy_Parameter_0,
                                        Ledger    ,
                                        Process_Category,
                                        End_Date     ,
                                        Create_Accounting_Flag,   
                                        Dummy_Parameter_1    ,
                                        Accounting_Mode    ,
                                        Dummy_Parameter_2,
                                        Errors_Only_Flag,
                                        Report    ,
                                        Transfer_to_GL_Flag,
                                        Dummy_Parameter_3,
                                        Post_to_GL_Flag    ,
                                        GL_Batch_Name    ,
                                        Mixed_Currency_Precision,
                                        Include_Zero_Amt_Lines_Flag,   
                                        Request_ID    ,
                                        Entity_ID,
                                        Source_Application_Name,
                                        Application_Name,
                                        Ledger_Name    ,
                                        Process_Category_Name,   
                                        Create_Accounting    ,
                                        Accounting_Mode_Name,
                                        Errors_Only    ,
                                        Report_Level,
                                        Transfer_to_GL,   
                                        Post_in_GL    ,
                                        Include_Zero_Amount_Lines,
                                        Valuation_Method    ,
                                        Security_ID_Integer_1,   
                                        Security_ID_Integer_2,   
                                        Security_ID_Integer_3,   
                                        Security_ID_Char_1    ,
                                        Security_ID_Char_2    ,
                                        Security_ID_Char_3    ,
                                        Concurrent_Request_ID,
                                        P_INCLUDE_USER_TRX_ID_FLAG,   
                                        P_INCLUDE_USER_TRX_IDENTIFIERS,   
                                        P_DEBUG_FLAG    
             COMMIT;
             IF (l_request_id <= 0)
             THEN
                errmsg := apps.fnd_message.get ();
             ELSE
                wait_stat :=
                   apps.fnd_concurrent.wait_for_request (l_request_id,
                                                         10,
                                                         360,
                                                         phase,
                                                         status,
                                                         dphase,
                                                         dstatus,
                                                         MESSAGE
                IF dphase = 'COMPLETE'
                THEN
                   dir_name :='XX_CREATE_ACCT_LOG';
                   l_file_name := 'l' || l_request_id || '.REQ';
                   lv_subject := NULL;
                   lv_msg := NULL;
                   lv_msghdr := NULL;
                   lv_pdf_filename := NULL;
                   lv_subject := 'testing mail :Request for Create Accounting not completed';
                   lv_msg :=
                         'Please find attachement here with the Status Of Create Accounting Reciving from cost management'
                   ||  crlf;
                   lv_msghdr := 'Dear Sir' ;
                   lv_pdf_filename := l_file_name;
                   send_mail (l_senderemail,
                              '[email protected]',
                              lv_subject,
                              lv_msghdr,
                              lv_msg,
                              lv_pdf_filename,
                              'text/application',
                              dir_name
                END IF;  
             END IF;
       END submit_request;
       PROCEDURE send_mail (
          p_sender        IN   VARCHAR2,
          p_recipient     IN   VARCHAR2,
          p_subject       IN   VARCHAR2,
          p_mailbodyhdr   IN   VARCHAR2,
          p_mailbody      IN   VARCHAR2,
          p_filename      IN   VARCHAR2,
          p_filetype      IN   VARCHAR2,
          dir_name        in   VARCHAR2
       AS
          v_msg                          VARCHAR2 (32000);
          src_file                       BFILE;
          i                              INTEGER             := 1;
          v_raw                          RAW (500);
          v_length                       INTEGER             := 0;
          v_buffer_size                  INTEGER             := 57;
          v_mailconn                     UTL_SMTP.connection;
          gc_crlf                        VARCHAR2 (4)      := CHR (13)
                                                              || CHR (10);
          gc_lf                          VARCHAR2 (4)        := CHR (10);
          crlf                           VARCHAR2 (2)      := CHR (13)
                                                              || CHR (10);
          gc_mailhost                    VARCHAR2 (255)      := '172.16.11.2';
          -- gc_maildomain                  VARCHAR2 (255)      := 'pune.com';
          msg                            VARCHAR2 (32767);
          boundary              CONSTANT VARCHAR2 (256)
                                               := '-----7D81B75CCC90D2974F7A1CBD';
          first_boundary        CONSTANT VARCHAR2 (256)
                                              := '--' || boundary || UTL_TCP.crlf;
          last_boundary         CONSTANT VARCHAR2 (256)
                                      := '--' || boundary || '--' || UTL_TCP.crlf;
    -- A MIME type that denotes multi-part email (MIME) messages.
          multipart_mime_type   CONSTANT VARCHAR2 (256)
                              := 'multipart/mixed; boundary="' || boundary || '"';
       BEGIN
          DBMS_OUTPUT.ENABLE (100000);
          --fnd_file.put_line (fnd_file.output, '------------------------------------------------------' );
          v_mailconn := UTL_SMTP.open_connection (gc_mailhost, 26);
          UTL_SMTP.helo (v_mailconn, gc_mailhost);
          UTL_SMTP.mail (v_mailconn, p_sender);
          UTL_SMTP.rcpt (v_mailconn, p_recipient);
          UTL_SMTP.open_data (v_mailconn);
          msg :=
                'Date: '
             || TO_CHAR (SYSDATE, 'Dy, DD Mon YYYY hh24:mi:ss')
             || crlf
             || 'From:[email protected] '
          --   || p_sender
             || crlf
             || 'Subject: '
             || p_subject
             || crlf
             || 'To: [email protected]'
            -- || p_recipient
             || crlf
             || 'MIME-Version: 3.1'
             || crlf
             ||                                          -- Use MIME mail standard
                'Content-Type: multipart/mixed;'
             || crlf
             || ' boundary="-----SECBOUND"'
             || crlf
             || crlf
             || '-------SECBOUND'
             || crlf
             || 'Content-Type: text/plain;'
             || crlf
             || 'Content-Transfer_Encoding: 7bit'
             || crlf
             || crlf
             || p_mailbodyhdr
             || crlf
             || crlf
             || p_mailbody
             || crlf
             || crlf
             || crlf
             || crlf
             ||                                                    -- Message body
                'Regards'
             || crlf
             || 'HR and Payroll Team'
             || crlf
             || crlf
             || ' Note- Please ignore the leave status and number of days.'
             || crlf
             || crlf
             || '-------SECBOUND'
             || crlf
             || 'Content-Type'
             || ': '
             || p_filetype
             || crlf
             || 'Content-Disposition: attachment; filename="'
           --  || 'Create Accounting'
            -- || '.REQ'     
             ||p_filename                                         -- p_filename
             || '"'
             || crlf
             || 'Content-Transfer-Encoding: base64'
             || crlf
             || crlf;
          UTL_SMTP.write_data (v_mailconn, msg);
          src_file := BFILENAME (dir_name, p_filename);
          DBMS_LOB.fileopen (src_file, DBMS_LOB.file_readonly);
          v_length := DBMS_LOB.getlength (src_file);
          WHILE i < v_length
          LOOP
             DBMS_LOB.READ (src_file, v_buffer_size, i, v_raw);
             UTL_SMTP.write_raw_data (v_mailconn,
                                      UTL_ENCODE.base64_encode (v_raw)
             UTL_SMTP.write_data (v_mailconn, UTL_TCP.crlf);
             i := i + v_buffer_size;
          END LOOP while_loop;
          UTL_SMTP.write_data (v_mailconn, last_boundary);
          UTL_SMTP.write_data (v_mailconn, UTL_TCP.crlf);
          DBMS_LOB.fileclose (src_file);
          UTL_SMTP.close_data (v_mailconn);
          UTL_SMTP.quit (v_mailconn);
       EXCEPTION
          WHEN OTHERS
          THEN
             UTL_SMTP.quit (v_mailconn);
             DBMS_OUTPUT.put_line (SQLCODE || SQLERRM);
       --   FND_FILE.PUT_LINE (FND_FILE.LOG,'error while fetching values from CO_CODE'|| SQLERRM );
       END send_mail;
    END xx_create_acct;Edited by: BluShadow on 18-Apr-2011 09:49
    added {noformat}{noformat} tags.  Please see the [url=SQL and PL/SQL FAQ and PL/SQL FAQ[/url] for info on how to post on the forums                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     

    I didn't get the information, What I want. Anyway, in the BLOB writing portion you have to create a temporary LOB and load your file into that temporary LOB and the write it into chunks.
    Something like
    DBMS_LOB.OPEN(v_src_loc, DBMS_LOB.LOB_READONLY); --Read the file
      DBMS_LOB.CREATETEMPORARY(l_blob, TRUE); --Create temporary LOB to store the file.
      v_amount := DBMS_LOB.GETLENGTH(v_src_loc); --Amount to store.
      DBMS_LOB.LOADFROMFILE(l_blob, v_src_loc, v_amount); -- Loading from file into temporary LOB
    /* Writing the BLOL in chunks */
      WHILE l_pos < l_blob_len LOOP
        DBMS_LOB.READ(l_blob, l_amount, l_pos, l_buffer);
        UTL_SMTP.write_raw_data(v_connection_handle,
                                UTL_ENCODE.BASE64_ENCODE(l_buffer));
        UTL_SMTP.WRITE_DATA(v_connection_handle, UTL_TCP.CRLF);
        l_buffer := NULL;
        l_pos    := l_pos + l_amount;
      END LOOP;For more example see these posts:
    Re: Sending UTL_SMTP mail with single jpg attachment issue
    Re: getting junk letters instead of photo in an email.

  • Fdpstp failed due to ora-12899 value too large for column

    Hi All,
    User facing this problem while running the concurrent program.
    the program is complted but with rhis error.
    fdpstp failed due to ora-12899 value too large for column
    Can any one tell me the excat solution for this?
    RDBMS : 10.2.0.3.0
    Oracle Applications : 11.5.10.2

    User facing this problem while running the concurrent program.
    the program is complted but with rhis error.Is this a seeded or custom concurrent program?
    fdpstp failed due to ora-12899 value too large for column
    Can any one tell me the excat solution for this?Was this working before? If yes, any changes been done recently?
    Can other users run the same concurrent program with no issues?
    Please post the contents of the concurrent request log file here.
    Please ask your developer to open the file using Reports Builder and compile the report and run it (if possible) with the same parameters.
    OERR: ORA-12899 value too large for column %s (actual: %s, maximum: %s) [ID 287754.1]
    Thanks,
    Hussein

  • Getting Short dump due to large amount of data

    Hi experts,
    When we are running RALM_ME_MEASP_FULL_DOWNLOAD_SD  program, every time we are getting Short dump due to large amount of data.
    please suggest how to run this program without short dump.
    Thanks & Regards
    Prashant Gupta

    Hi,
    you do run the wrong APP I guess. The service you are running is for MAM20. If you are interested in MAM30 and MAM25, please use the correct service.
    If you have a look for
    *FULL_DOWNLOAD_SD
    You find them all. Use the ones without the RALM in front - then the timeout should be solved as well. Bside that there is a great guid available that helps as well to solve some issues around server driven replication:
    [MAM SERVER DRIVEN SETUP GUIDE|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/818ac119-0b01-0010-ba8b-b6e3f3490a63?quicklink=index&overridelayout=true]
    Hope that helps to solve yourt issue.
    Regards,
    Oliver

  • FDPSTP failed due to ORA-06550: line1 ,column:" Wrong number of types of ar

    Hi All
    I am tying to submit the concurrent request through buttom, when i press the button.. the request is submitting but showing the error"FDPSTP failed due to ORA-06550: line1 ,column:" Wrong number of types of argument in call"
    What are the paramerter i submited in SRS window( normal submition not throu button) is are equall submition throw button.... And in procedure also i am using errbuf and retcode...
    Can any one help regarding the issue where i am doing the mistake...
    PROCEDURE Einvoice(ERRBUF OUT VARCHAR2,RETCODE OUT VARCHAR2,P_INVOICE_TYPE RA_CUST_TRX_TYPES_all.type%TYPE,
    P_INVOICE_FROM RA_CUSTOMER_TRX_PARTIAL_V.TRX_NUMBER%TYPE,
    P_INVOICE_TO RA_CUSTOMER_TRX_PARTIAL_V.TRX_NUMBER%TYPE,
    P_CUSTOMER_ID RA_CUSTOMER_TRX_PARTIAL_V.SOLD_TO_CUSTOMER_ID%TYPE,
    P_DOCUMENT_NUM NUMBER,
    P_reprint_flag VARCHAR2
    In the button trigger
    FND_REQUEST.SUBMIT_REQUEST('GETSAR'
    ,'EINVOICE'
    ,NULL ,NULL ,FALSE
    ,:main_b.invoice_type
    ,to_number(:main_b.From_Invoice_number)
    ,to_number(:main_b.to_invoice_number)
    ,:main_b.customer_id
    ,to_number(:main_b.document_no_from)
    ,:main_b.reprint_flag
    ,'') up to 100 parameters
    We need to change any datatypes in procedure ?????????????

    Duplicate post.
    "FDPSTP failed due to ORA-06550: line1 ,column:" Wrong number of types of
    "FDPSTP failed due to ORA-06550: line1 ,column:"   Wrong number of types of

  • ORA-01116: error in opening database

    I am trying to run a query in UNIX via sqlplus and I am getting this error
    sqlplus username/password @querymane.sql
    ORA-00604: error occurred at recursive SQL level 1
    ORA-01116: error in opening database file 1
    ORA-01110: data file 1: '/u01/app/oracle/oradata/PNTR/system01.dbf'
    ORA-27092: size of file exceeds file size limit of the process
    Additional information: 262143
    Additional information: 537089
    I will appreciate any hint!

    Check "ulimit" and set it to "unlimited".

  • Getting Error in Data Collection - FDPSTP failed due to ORA-23401

    Hi All,
    I am really new to ATP Setup and after referring to the Metalink notes, I have compelted the setups required to calculate ATP in Sales Order Window.
    But when I am submitting the Data Collection which is the last step I guess, the program is ending with Error.
    I am getting the error.
    FDPSTP failed due to ORA-23401: materialized view "APPS"."MTL_OH_QTYS_SN" does not exist.
    And because of this, when I am going to Sales Order to check the ATP, I am getting the error that Try Calculating ATP Again.
    Please Help. Project is into a critical stage and I am stuck with this error.
    With Regards,
    Vishal Majithia

    Please mention the application release.
    I am really new to ATP Setup and after referring to the Metalink notes, I have compelted the setups required to calculate ATP in Sales Order Window.What is the document you are referring to?
    I am getting the error.
    FDPSTP failed due to ORA-23401: materialized view "APPS"."MTL_OH_QTYS_SN" does not exist.Please see if these docs help.
    Refresh Snapshot Errors With ORA-12034: Snapshot Log On "BOM"."BOM_SUB_OPERATION_RESOURCES" Younger Than Last Refresh [ID 180705.1]
    How to Rebuild Source Snapshots Used in the Data Collection or Planning Data Pull MSCPDP [ID 148584.1]
    Thanks,
    Hussein

  • Oracle Error code: 1116, message: ORA-01116: error in opening database file

    Hi ,
    Please advise on this error message
    Oracle Error code: 1116, message: ORA-01116: error in opening database file 202 ORA-01110: data file 202: '/u02/app/oracle/oradata/ubidev12/dbf/temp02.dbf'
    All these while, the dashboard working well in my local computer application with server database.
    Just discovered this error when I refresh the data.
    Kindly advise.
    Thanks,
    Kim Yoke

    the more detail error is
    Oracle Error code: 1116, message: ORA-01116: error in opening database file 203 ORA-01110: data file 203: '/u02/app/oracle/oradata/ubidev12/dbf/temp03.dbf' ORA-27041: unable to open file SVR4 Error: 2: No such file or directory Additional information

  • ORA-20100: ORA-01116: error in opening database file

    Hi -
    I'm hitting this error for the first time. Anyone encountered this before? Any suggestions will be very appreciated. Thanks!
    141 EXCEPTION
    142
    143 when others then
    144 raise_application_error('-20100',SQLERRM);
    145 End;
    146 /
    20080207
    20080312
    Declare
    ERROR at line 1:
    ORA-20100: ORA-01116: error in opening database file
    ORA-06512: at line 144

    Thanks Satish for your reply.
    I let the DBA know and he was first suspecting a corrupted data file, but found no errors in the log. So, he was not sure why we got the error.
    We just re-ran and it went through fine the next time. strange though...

  • Cost Manager Concurrent req failed due to ORA-00060:

    Hi
    We are using Oracle Applications E-Business suite 11.5.9. OS HP-UX
    Cost Manger is an scheduled concurrent program which was error out thrice scince today morning with the following error.
    Cause: cmlmcm() failed due to ORA-00060: deadlock detected while waiting for resource.
    I found no dead lock occurred. I don't know why it happend so.
    Please help me out on this issue.
    tokala
    Edited by: Neosatish on Oct 20, 2008 1:38 PM

    Could you suggest me the method to find out the scheduled concurrent request in specific time period. Or How to find out the the scheduled time for a concurrent program.Run the following query:
    SQL> select *
    from fnd_concurrent_requests
    where status_code in ('Q','I')
    and hold_flag = 'N';Note: 170107.1 - How to Determine Scheduled Concurrent Requests
    https://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=170107.1

  • FDPSTP failed due to ORA-20100: File o0035807.tmp creation for FND_FILE fai

    Cause: FDPSTP failed due to ORA-20100: File o0035807.tmp creation for FND_FILE failed.
    You will find more information on the cause of the error in request log.
    ORA-06512: at "APPS.FND_FILE", line 410
    ORA-06512: at
    $ echo $APPLPTMP
    /usr/tmp/DEV
    $ echo $APPLTMP
    /prod2/devcomn/temp
    SQL> show parameter utl_file_dir;
    NAME TYPE VALUE
    utl_file_dir string /usr/tmp, /usr/tmp/DEV, /prod2
    /devcomn/temp, /prod2/devcomn/
    temp/DEV, /homeoa/interf/DEV,
    /homeoa/interf/PROD, /homeoa/i
    nterf/DEV/OP, /homeoa/proaut2/
    DEV/OP, /homeoa/proaut2/DEV, /
    homeoa/proaut2/DEV/CO, /homeoa
    /proaut2/DEV/PT
    I applied some notesm, about the utl, and APPLPTMP. But the error persist, Can you help me?
    Regards,
    Guido

    Cause: FDPSTP failed due to ORA-20100: File o0035807.tmp creation for FND_FILE failed.
    You will find more information on the cause of the error in request log.
    ORA-06512: at "APPS.FND_FILE", line 410
    ORA-06512: at
    $ echo $APPLPTMP
    /usr/tmp/DEV
    $ echo $APPLTMP
    /prod2/devcomn/temp
    SQL> show parameter utl_file_dir;
    NAME TYPE VALUE
    utl_file_dir string /usr/tmp, /usr/tmp/DEV, /prod2
    /devcomn/temp, /prod2/devcomn/
    temp/DEV, /homeoa/interf/DEV,
    /homeoa/interf/PROD, /homeoa/i
    nterf/DEV/OP, /homeoa/proaut2/
    DEV/OP, /homeoa/proaut2/DEV, /
    homeoa/proaut2/DEV/CO, /homeoa
    /proaut2/DEV/PT
    I applied some notesm, about the utl, and APPLPTMP. But the error persist, Can you help me?https://forums.oracle.com/forums/search.jspa?threadID=&q=ORA-20100+AND+FND_FILE+&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
    https://forums.oracle.com/forums/search.jspa?threadID=&q=ORA-20100+AND+ORA-06512&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
    Thanks,
    Hussein

  • FDPSTP failed due to ORA-20100: File 1111.tmp creation for FND_FILE failed.

    Dear,
    Cause: FDPSTP failed due to ORA-20100: File l0187052.tmp creation for FND_FILE failed.
    You will find more information on the cause of the error in request log.
    ORA-06512: at "APPS.FND_FILE", line 543
    ORA-06512: at "APPS.HRI_
    We are facing the problem while running standard request. Could you pls advice,
    Thansk.

    user-Keen wrote:
    Dear,
    Cause: FDPSTP failed due to ORA-20100: File l0187052.tmp creation for FND_FILE failed.
    You will find more information on the cause of the error in request log.
    ORA-06512: at "APPS.FND_FILE", line 543
    ORA-06512: at "APPS.HRI_
    We are facing the problem while running standard request. Could you pls advice,
    Thansk.
    You may also see previous threads which discuss the same topic -- https://forums.oracle.com/search.jspa?peopleEnabled=true&userID=&containerType=&container=&q=ORA-20100+APPS.FND_FILE
    Thanks,
    Hussein

  • AD4J: Unable to start Heap Dump due to OS Error

    When Java 'Heap Dump' is requested, the following message is shown:
    Unable to start Heap Dump due to OS Error.
    Details of the monitored JDK and application server are given below:
    JDK: Sun JDK 1.4.2_08 on Solaris 9
    Application Server: WebLogic 8.1 SP4
    1. What could be the possible cause? No errors are logged in jamserv/logs/error_log. Is there any way to enable detailed logging?
    2. Each time the heap dump is requested, a file of the format heapdump<n> gets created in /tmp (e.g. /tmp/heapdump12.txt). If you see the file, it contains the following:
    a) a line containing summary of the heap usage, and
    b) stack traces of all the threads
    Thanks!

    Wrong Forum?

Maybe you are looking for

  • How can I add a non icloud email address to icloud

    how can I add a non icloud email addres to icloud

  • Iweb problems and idisk problems are they related?

    I have not been able to publish siince upgrading to iweb1.1 two days ago I get the same message everytime "Publish failed due to a network error. Check your Internet connection and try again." Also I can't get into "idisk" on the web or the finder ba

  • AE CS5 now crashing on startup (Mac OS 10.6.4)

    I've looked in a couple of other discussions, but haven't found anything that seems to help.  I'm a new AE user and have been running it for a couple of weeks with no issues.  I started it up this morning and received the following error message: Aft

  • Safari 5.1 won't work right

    When running 5.1 my forward/back buttons won't work until I open the customize toolbar box and then the back button will work but I cannot get the forward button to work. This is some of the weird things that are happening trying to use 5.1. This is

  • Runnig C code in Xcode.

    The code has no bugs. However it  requires an input from the keyborad (from a scanf line) when running. How do I enter such a input? When I run the same code from terminal , normally just enter the require number and hit enter and it runs fine. Not s