Migration of old code in solaris 10 + oracle 10 environment

While compiling old pro c code on solaris 10 and oracle 10 environment , I am getting below error. Any guesses why this is happening?
Pro*C/C++: Release 10.2.0.3.0 - Production on Mon Oct 15 14:02:07 2007
Copyright (c) 1982, 2005, Oracle. All rights reserved.
System default option values taken from: /dboracle/orabase/product/10.2.0/precomp/admin/pcscfg.cfg
Syntax error at line 69, column 2, file /usr/include/sys/uio.h:
Error at line 69, column 2 in file /usr/include/sys/uio.h
lloff_t uiooffset; /* file offset */
.1
PCC-S-02201, Encountered the symbol "lloff_t" when expecting one of the followin
g:
} char, const, double, enum, float, int, long, ulong_varchar,
OCIBFileLocator OCIBlobLocator, OCIClobLocator, OCIDateTime,
OCIExtProcContext, OCIInterval, OCIRowid, OCIDate, OCINumber,
OCIRaw, OCIString, short, signed, sql_context, sql_cursor,
struct, union, unsigned, utext, uvarchar, varchar, void,
volatile, a typedef name,
The symbol "enum," was substituted for "lloff_t" to continue.

Hi,
Try using the PARSE=PARTIAL USERID=user/password[@SID] SQLCHECK=SEMANTICS precompiler options.
All your hosts variables must be declared inside a Declare section.
Reference: Pro C/C++ Programmers Guide, chapter 5
Reguards,
Rene Rivet

Similar Messages

  • Migrate solaris 8 oracle applications to solaris 10 using oracle vm

    Hi,
    I have Oracle Applications 11.5.8 running on Solaris 8 on SPARC machine (the forms and concurrent servers) and Linux SLES9 for the Oracle 9i database server.
    I am exploring if it's possible to migrate the forms and concurrent tier from Solaris 8 on SPARC to a Solaris 10 Oracle VM running on x86 platform. That is, 1) install Oracle VM on x86 platform 2) install solaris 10 on the solaris container of this VM (solaris 8 not supported) 3) try to move forms and concurrent application tier to this solaris 10.
    Has anyone tried this before or know whether it can be done?

    Moderator Action:
    This thread has been moved from the Solaris On x86 forum space,
    to the Oracle Applications Server forum space,
    for closer topic alignment.

  • OCIEnvCreate fails with -1 return code on Solaris 9 x86 with Oracle 10g

    Hi
    OCIEnvCreate function is failing with -1 return code on solaris 9 x86. The database I use is, Oracle 10g release 1. I tired to connect with sqlplus and am able to connect to dataserver. Why does OCIEnvCreate fails? Can someone help me in this regard.
    Thanks

    Can place the sample code.

  • Issue in compiling code on solaris 10 - please help

    I wanted to migrate old PRO *C source code to solaris 10 and oracle 10 enviroment, so copied all files , done settings and tried compiling it. It is giving below error. Any guess why it is happening?
    Syntax error at line 69, column 2, file /usr/include/sys/uio.h:
    Error at line 69, column 2 in file /usr/include/sys/uio.h
    lloff_t uiooffset; /* file offset */
    .1
    PCC-S-02201, Encountered the symbol "lloff_t" when expecting one of the followin
    g:
    } char, const, double, enum, float, int, long, ulong_varchar,
    OCIBFileLocator OCIBlobLocator, OCIClobLocator, OCIDateTime,
    OCIExtProcContext, OCIInterval, OCIRowid, OCIDate, OCINumber,
    OCIRaw, OCIString, short, signed, sql_context, sql_cursor,
    struct, union, unsigned, utext, uvarchar, varchar, void,
    volatile, a typedef name,
    The symbol "enum," was substituted for "lloff_t" to continue.

    I wanted to migrate old PRO *C source code to solaris 10 and oracle 10 enviroment, so copied all files , done settings and tried compiling it. It is giving below error. Any guess why it is happening?
    Syntax error at line 69, column 2, file /usr/include/sys/uio.h:
    Error at line 69, column 2 in file /usr/include/sys/uio.h
    lloff_t uiooffset; /* file offset */
    .1
    PCC-S-02201, Encountered the symbol "lloff_t" when expecting one of the followin
    g:
    } char, const, double, enum, float, int, long, ulong_varchar,
    OCIBFileLocator OCIBlobLocator, OCIClobLocator, OCIDateTime,
    OCIExtProcContext, OCIInterval, OCIRowid, OCIDate, OCINumber,
    OCIRaw, OCIString, short, signed, sql_context, sql_cursor,
    struct, union, unsigned, utext, uvarchar, varchar, void,
    volatile, a typedef name,
    The symbol "enum," was substituted for "lloff_t" to continue.

  • SAP 4.7 Installation problem on Solaris 10 - Oracle 9.2.0.7

    Hi,
    I am trying to install SAP 4.7 on Solaris 10 - Oracle 9.2.0.7. I am using standar installation DVD for SAP 4.7 SR1. After installation I want to login SAP system I have an error about database inconsistency. System said that enter SICK transaction. I entered SICK and my error is "OS release SunOS 5.10 Generic_141444-09 sun4u is not support with this kernel". After I received this error I installed new kernel (221) and I upgaded kernel to 221. But after that I could not open SAP system. I checked dev_w1 and it is like below:
    "dev_w1" 456 lines, 18662 characters
    trc file: "dev_w1", trc level: 1, release: "640"
    ACTIVE TRACE LEVEL           1
    ACTIVE TRACE COMPONENTS      all, M
    M sysno      00
    M sid        KZP
    M systemid   370 (Solaris on SPARCV9 CPU)
    M relno      6400
    M patchlevel 0
    M patchno    221
    M intno      20020600
    M make:      single threaded, Unicode, 64 bit
    M pid        22022
    M
    M
    M Fri Jan 29 15:11:00 2010
    M  ***LOG Q01=> tskh_init, WPStart (Workproc 1 1 22022) [thxxhead.c   1144]
    M  calling db_connect ...
    C  Got ORACLE_HOME=/oracle/KZP/920_64 from environment
    C  got NLS_LANG='AMERICAN_AMERICA.UTF8' from environment
    C  Client NLS settings: AMERICAN_AMERICA.UTF8
    C  Logon as OPS$-user to get SAPKZP's password
    C  Connecting as /@KZP on connection 0 (nls_hdl 0) ... (dbsl 640 070208)
    C  Nls CharacterSet                 NationalCharSet              C      EnvHp      ErrHp ErrHpBatch
    C    0 UTF8                                                      1 0x10667d250 0x10668fcd0 0x10668f668
    C  Attaching to DB Server KZP (con_hdl=0,svchp=0x10668f598,srvhp=0x106691dc8)
    C  Starting user session (con_hdl=0,svchp=0x10668f598,srvhp=0x106691dc8,usrhp=0x10669a800)
    C  Now '/@KZP' is connected: con_hdl=0, nls_hdl=0, session_id=13.
    C  Got SAPKZP's password from OPS$-user
    C  Disconnecting from connection 0 ...
    C  Close user session (con_hdl=0,svchp=0x10668f598,usrhp=0x10669a800)
    C  Now I'm disconnected from ORACLE
    C  Connecting as SAPKZP/<pwd>@KZP on connection 0 (nls_hdl 0) ... (dbsl 640 070208)
    C  Nls CharacterSet                 NationalCharSet              C      EnvHp      ErrHp ErrHpBatch
    C    0 UTF8                                                      1 0x10667d250 0x10668fcd0 0x10668f668
    C  Starting user session (con_hdl=0,svchp=0x10668f598,srvhp=0x106691dc8,usrhp=0x10669a800)
    C  Now 'SAPKZP/<pwd>@KZP' is connected: con_hdl=0, nls_hdl=0, session_id=13.
    C  Database NLS settings: AMERICAN_AMERICA.UTF8
    C  DB instance KZP is running on sapkzpn2 with ORACLE version 9.2.0.7.0 since JAN 29, 2010, 15:10:46
    B  Connection 0 opened (DBSL handle 0)
    B  Wp  Hdl ConName          ConId     ConState     TX  PRM RCT TIM MAX OPT Date     Time   DBHost
    B  000 000 R/3              000000000 ACTIVE       NO  YES NO  000 255 255 20100129 151100 sapkzpn2
    M  db_connect o.k.
    M  ICT: exclude compression: .zip,.cs,.rar,.arj,.z,.gz,.tar,.lzh,.cab,.hqx,.ace,.jar,.ear,.war,.css,.pdf,.js,.gzip
    ,.uue,.bz2,.iso,.sda,.sar,.gif
    I
    I Fri Jan 29 15:11:07 2010
    I  MtxInit: 1 0 0
    M  SHM_PRES_BUF                 (addr: 0xffffffff7597a000, size: 4400000)
    M  SHM_ROLL_AREA                (addr: 0xfffffffe56000000, size: 134217728)
    M  SHM_PAGING_AREA              (addr: 0xffffffff62000000, size: 67108864)
    M  SHM_ROLL_ADM                 (addr: 0xffffffff75db0000, size: 2672386)
    M  SHM_PAGING_ADM               (addr: 0xffffffff71f00000, size: 656416)
    M  ThCreateNoBuffer             allocated 572152 bytes for 1000 entries at 0xfffffffe4e004000
    M  ThCreateNoBuffer             index size: 3000 elems
    M  ThCreateVBAdm                allocated 12176 bytes (50 server) at 0xffffffff7bc00000
    X  EmInit: MmSetImplementation( 2 ).
    X  <ES> client 1 initializing ....
    X  Using implementation std
    X  ES initialized.
    B  db_con_shm_ini:  WP_ID = 1, WP_CNT = 8, CON_ID = -1
    B  dbtbxbuf: Buffer TABL  (addr: 0xffffffff60000100, size: 30000000, end: 0xffffffff61c9c480)
    B  dbtbxbuf: Buffer TABLP (addr: 0xffffffff6d400100, size: 10240000, end: 0xffffffff6ddc4100)
    B  dbexpbuf: Buffer EIBUF (addr: 0xfffffffe5f800108, size: 4194304, end: 0xfffffffe5fc00108)
    B  dbexpbuf: Buffer ESM   (addr: 0xfffffffe5f000108, size: 4194304, end: 0xfffffffe5f400108)
    B  dbexpbuf: Buffer CUA   (addr: 0xfffffffe5101e108, size: 3072000, end: 0xfffffffe5130c108)
    B  dbexpbuf: Buffer OTR   (addr: 0xfffffffe5e800108, size: 4194304, end: 0xfffffffe5ec00108)
    M  rdisp/reinitialize_code_page -> 0
    M  icm/accept_remote_trace_level -> 0
    M  rdisp/no_hooks_for_sqlbreak -> 0
    M  CCMS: AlInitGlobals : alert/use_sema_lock = TRUE.
    S
    S Fri Jan 29 15:11:08 2010
    S  *** init spool environment
    S  initialize debug system
    T  Stack direction is downwards.
    T  debug control: prepare exclude for printer trace
    T  new memory block 0x106aa11e0
    S  spool kernel/ddic check: Ok
    S  using table TSP02FX for frontend printing
    S  1 spool work process(es) found
    S  frontend print via spool service enabled
    S  printer list size is 150
    S  printer type list size is 50
    S  queue size (profile)   = 300
    S  hostspool list size = 3000
    S  option list size is 30
    S      found processing queue enabled
    S  found spool memory service RSPO-RCLOCKS at 0xfffffffe51310070
    S  doing lock recovery
    S  setting server cache root
    S  found spool memory service RSPO-SERVERCACHE at 0xfffffffe513103c8
    S    using messages for server info
    S  size of spec char cache entry: 297032 bytes (timeout 100 sec)
    S  size of open spool request entry: 2272 bytes
    S  immediate print option for implicitely closed spool requests is disabled
    A
    A Fri Jan 29 15:11:09 2010
    A
    A  -PXA--
    A  PXA INITIALIZATION
    A  System page size: 8kb, total admin_size: 5512kb, dir_size: 5480kb.
    I  *** ERROR => shmget(10006,153600000,2016) (22: Invalid argument) [shmux.c      1525]
    A  RABAX in run level 1
    A  RABAX in unkown environment: task_type=0, run level=1, rabax state=80000000 ztta_task_type=0
    [0] DoStack2 ( 0x105af7010, 0xffffffff7fffd740, 0x1004a4ae4, 0x0, 0x105dbb180, 0x102e2f6e0 ), at 0x1004a4ae4
    [1] CTrcStack2 ( 0x1036f6d60, 0x0, 0x17400, 0x102e947dc, 0x0, 0x102e2f6e0 ), at 0x1004a4680
    [2] __1cXrabax_CStackToTraceFile6F_v_ ( 0x0, 0x1, 0x0, 0x3097000, 0x100000000, 0x103097058 ), at 0x100ae0e80
    [3] __1cKrabax_init6FpkH_v_ ( 0x102002ad8, 0x0, 0x1, 0x0, 0x0, 0x0 ), at 0x100ad97d8
    [4] ab_rabax ( 0x0, 0x80000000, 0x6da, 0x103879400, 0x1880, 0x1065e4110 ), at 0x100acfe3c
    [5] __1cJab_pbinit6F_v_ ( 0x100000000, 0x102e947dc, 0x1, 0x102002ab4, 0x102f4e1c0, 0x103815550 ), at 0x100750de0
    [6] ab_init ( 0x0, 0x5bd5000, 0xac8800, 0x5bd5000, 0x1, 0x0 ), at 0x100ac8d34
    [7] ThrInitRunTime ( 0x100489c00, 0x489c00, 0x332c400, 0x102e94820, 0x1, 0x102e947d4 ), at 0x100476e84
    [8] ThStartUp2 ( 0x101fec800, 0x194c800, 0x100000000, 0x102e947d4, 0x0, 0x10194cc00 ), at 0x100415860
    [9] tskh_init ( 0x2e7a000, 0x1, 0x1, 0x540, 0x102e94400, 0x15 ), at 0x100260f14
    [10] tskhstart ( 0x0, 0x2e94400, 0x0, 0x1003d6400, 0x3d6400, 0x100000000 ), at 0x10025cf9c
    [11] DpMain ( 0x3641400, 0x2e7a000, 0x100000000, 0x1, 0x0, 0x0 ), at 0x1001856c0
    A
    A Fri Jan 29 15:11:10 2010
    A  TH VERBOSE LEVEL FULL
    A  ** RABAX: level LEV_RX_PXA_RELEASE_MTX entered.
    A  ** RABAX: level LEV_RX_PXA_RELEASE_MTX failed.
    A  *** suicide ON
    A  ** RABAX: level LEV_RX_VMIT_CLEANUP entered.
    A  ** RABAX: level LEV_RX_VMIT_CLEANUP completed.
    A  ** RABAX: level LEV_RX_ROLLBACK entered.
    A  ** RABAX: level LEV_RX_ROLLBACK completed.
    A  ** RABAX: level LEV_RX_DB_ALIVE entered.
    A  ** RABAX: level LEV_RX_DB_ALIVE completed.
    A  ** RABAX: level LEV_RX_HOOKS entered.
    A  ** RABAX: level LEV_RX_HOOKS completed.
    A  ** RABAX: level LEV_RX_STANDARD entered.
    A  ** RABAX: level LEV_RX_STANDARD failed.
    A  ** RABAX: level LEV_RX_C_STACK entered.
    A  ** RABAX: level LEV_RX_C_STACK completed.
    A  ** RABAX: level LEV_RX_MEMO_CHECK entered.
    A  ** RABAX: level LEV_RX_MEMO_CHECK completed.
    A  ** RABAX: level LEV_RX_INTERFACES entered.
    A  ** RABAX: level LEV_RX_INTERFACES completed.
    A  ** RABAX: level LEV_RX_GET_MESS entered.
    A  ** RABAX: level LEV_RX_GET_MESS completed.
    A  ** RABAX: level LEV_RX_INIT_SNAP entered.
    A  ** RABAX: level LEV_RX_INIT_SNAP completed.
    A  ** RABAX: level LEV_RX_WRITE_SYSLOG entered.
    A  ** RABAX: level LEV_RX_WRITE_SYSLOG completed.
    A  ** RABAX: level LEV_RX_WRITE_SNAP entered.
    X  *** ERROR => invalid MM administration (adm) (nil)  (admCheck)(nil) [mmxx.c       2127]
    A  ** RABAX: level LEV_RX_WRITE_SNAP failed.
    A  ** RABAX: level LEV_RX_SET_ALERT entered.
    A  ** RABAX: level LEV_RX_SET_ALERT completed.
    A  ** RABAX: level LEV_RX_COMMIT entered.
    A  ** RABAX: level LEV_RX_COMMIT completed.
    A  ** RABAX: level LEV_RX_SNAP_SYSLOG entered.
    A  ** RABAX: level LEV_RX_SNAP_SYSLOG completed.
    A  ** RABAX: level LEV_RX_RESET_PROGS entered.
    A  ** RABAX: level LEV_RX_RESET_PROGS completed.
    A  ** RABAX: level LEV_RX_STDERR entered.
    A  Fri Jan 29 15:11:10 2010
    A
    A  Error Code PXA_NO_SHARED_MEMORY.
    A  Module  $Id: //bas/640_REL/src/krn/runt/abload3.c#44 $ SAP.
    A  Function ab_pbinit Line 1754.
    A  ** RABAX: level LEV_RX_STDERR completed.
    A  ** RABAX: level LEV_RX_RFC_ERROR entered.
    A  ** RABAX: level LEV_RX_RFC_ERROR completed.
    A  ** RABAX: level LEV_RX_RFC_CLOSE entered.
    A  ** RABAX: level LEV_RX_RFC_CLOSE completed.
    A  ** RABAX: level LEV_RX_IMC_ERROR entered.
    A  ** RABAX: level LEV_RX_IMC_ERROR completed.
    A  ** RABAX: level LEV_RX_DATASET_CLOSE entered.
    A  ** RABAX: level LEV_RX_DATASET_CLOSE completed.
    A  ** RABAX: level LEV_RX_RESET_SHMLOCKS entered.
    A  ** RABAX: level LEV_RX_RESET_SHMLOCKS failed.
    A  ** RABAX: level LEV_RX_ERROR_SAVE entered.
    A  ** RABAX: level LEV_RX_ERROR_SAVE completed.
    A  ** RABAX: level LEV_RX_ERROR_TPDA entered.
    A  ** RABAX: level LEV_RX_ERROR_TPDA completed.
    A  ** RABAX: level LEV_RX_PXA_RELEASE_RUDI entered.
    A  ** RABAX: level LEV_RX_PXA_RELEASE_RUDI completed.
    A  ** RABAX: level LEV_RX_LIVE_CACHE_CLEANUP entered.
    A  ** RABAX: level LEV_RX_LIVE_CACHE_CLEANUP completed.
    A  ** RABAX: level LEV_RX_END entered.
    A  ** RABAX: level LEV_RX_END completed.
    A  ** RABAX: end RX_SUICIDE
    A  Shared Memory von 150000 Kilo-Bytes f\303\274r PXA nicht verf\303\274gbar..
    A
    A  *
    A  * Non recoverable error. Aborting process...
    A  *
    M  ***LOG R63=> ThWpHalt, halt wp () [thxxhead.c   15213]
    M  in_ThErrHandle: 1
    M  *** ERROR => ThWpHalt: halt wp (step 1, th_errno 5, action 2, level 1) [thxxhead.c   9696]
    M
    M  Info for wp 1
    M
    M    stat = 4
    M    reqtype = 1
    M    act_reqtype = -1
    M    rq_info = 0
    M    tid = 1
    M    mode = 0
    M    len = -1
    M    rq_id = 65535
    M    rq_source = 255
    M    last_tid = 0
    M    last_mode = 0
    M    int_checked_resource(RFC) = 0
    M    ext_checked_resource(RFC) = 0
    M    int_checked_resource(HTTP) = 0
    M    ext_checked_resource(HTTP) = 0
    M    report = >                                        <
    M    action = 0
    M    tab_name = >                              <
    M
    M
    M  PfStatDisconnect: disconnect statistics
    M  ThIErrHandle: action changed to 2
    M  Entering TH_CALLHOOKS
    M  ThCallHooks: call hook >SAP-Trace buffer write< for event BEFORE_DUMP
    M  TrThHookFunc: called for WP dump
    M  ThCallHooks: call hook >ThrSaveSPAFields< for event BEFORE_DUMP
    M  *** ERROR => ThrSaveSPAFields: no valid thr_wpadm [thxxrun1.c   730]
    M  *** ERROR => ThCallHooks: event handler ThrSaveSPAFields for event BEFORE_DUMP failed [thxxtool3.c  255]
    M  Entering ThSetStatError
    M  ThErrPrivHandle: set th_errno (5)
    M  Entering ThReadDetachMode
    M  *** ERROR => ThIErrHandle: bad value for th_act_em_hdl (5), detach T1/M0 [thxxhead.c   10129]
    M
    M  Modeinfo for User T1/M0
    M
    M
    M  call ThrShutDown (1)...
    A  Saving PXA statistics.
    M  -
    C-STACK -
    [0] __1cNab_pxasavedir6F_i_ ( 0x102e94400, 0x2f63c00, 0x102e94800, 0x10200b800, 0x1, 0x0 ), at 0x10076c108
    [1] ab_shutdown ( 0x0, 0x1, 0x102f3b400, 0x1, 0x102e94400, 0x2e94400 ), at 0x100aca150
    [2] ThIErrHandle ( 0x10251b400, 0x2e94800, 0x102e7a324, 0x2, 0x2e94400, 0x102e94800 ), at 0x100293870
    M  -
    M  ***LOG Q0E=> SigIGenAction, signal ( 11) [sigux.c      902]
    M  in_ThErrHandle: 2
    M  ***LOG R0H=> ThIErrHandle, Loop in ThErrHandle, restart wp () [thxxhead.c   9717]
    M  -
    C-STACK -
    [0] DoStack2 ( 0x105af7010, 0xffffffff7fffc340, 0x1004a4ae4, 0x0, 0x105dbac40, 0x102e2f6e0 ), at 0x1004a4ae4
    [1] CTrcStack2 ( 0x1036f6d00, 0x0, 0x17400, 0x102e947dc, 0x10049d16c, 0x102e2f6e0 ), at 0x1004a4680
    [2] ThIErrHandle ( 0x0, 0x100000000, 0x3, 0x10331ff08, 0xb, 0x4 ), at 0x100291b08
    [3] SigIGenAction ( 0x102c9f800, 0x1032acd04, 0x102c9f800, 0xb, 0x102e94820, 0x102e947d4 ), at 0x101e49c4c
    [4] __sighndlr ( 0xb, 0xffffffff7fffcf80, 0xffffffff7fffcca0, 0x101e493bc, 0x0, 0x0 ), at 0xffffffff7c7d62e0
    [5] call_user_handler ( 0xffffffff7d300200, 0xffffffff7d300200, 0xffffffff7fffcca0, 0x19, 0x0, 0x0 ), at 0xffffffff7c7c9e44
    [6] sigacthandler ( 0x0, 0xffffffff7fffcf80, 0xffffffff7fffcca0, 0xffffffff7d300200, 0x0, 0xffffffff7c93c000 ), at 0xffffffff7c7ca03
    c
    [7] __1cNab_pxasavedir6F_i_ ( 0x102e94400, 0x2f63c00, 0x102e94800, 0x10200b800, 0x1, 0x0 ), at 0x10076c0f4
    [8] ab_shutdown ( 0x0, 0x1, 0x102f3b400, 0x1, 0x102e94400, 0x2e94400 ), at 0x100aca150
    [9] ThIErrHandle ( 0x10251b400, 0x2e94800, 0x102e7a324, 0x2, 0x2e94400, 0x102e94800 ), at 0x100293870
    [10] __1cIrabax_do6FpkHpHi_v_ ( 0x102002ad8, 0x0, 0x41, 0x102e94800, 0x1, 0x1 ), at 0x100adc154
    [11] ab_rabax ( 0x2, 0x2e94800, 0x1, 0x100000000, 0x2e94400, 0x2e94400 ), at 0x100ad3bc4
    M  -
    M Fri Jan 29 15:11:11 2010
    M  ThSigHandler: signal (step 1, th_errno 11, action 4)
    M
    M  Info for wp 1
    M
    M    stat = 4
    M    reqtype = 1
    M    act_reqtype = -1
    M    rq_info = 0
    M    tid = 1
    M    mode = 0
    M    len = -1
    M    rq_id = 65535
    M    rq_source = 255
    M    last_tid = 0
    M    last_mode = 0
    M    int_checked_resource(RFC) = 0
    M    ext_checked_resource(RFC) = 0
    M    int_checked_resource(HTTP) = 0
    M    ext_checked_resource(HTTP) = 0
    M    report = >                                        <
    M    action = 0
    M    tab_name = >                              <
    M  PfStatDisconnect: disconnect statistics
    M  Entering ThSetStatError
    M  ***LOG Q02=> wp_halt, WPStop (Workproc 1 22022) [dpuxtool.c   318]
    Also I tried to change SAPEXE.SAR and SAPEXEDB.SAR files from SAP Kernel CD. After that I started installation again. But I have same error. SAP system didn't work.
    How can I solve this error?Cannot I install SAP 4.7 SR1 on Solaris 10 - ORacle 9.2.0.7?Is the problem about SAP profile parameters or Solaris Kernel parameters
    Best regards,

    Also dev_disp is like below:
    sid        KZP
    systemid   370 (Solaris on SPARCV9 CPU)
    relno      6400
    patchlevel 0
    patchno    221
    intno      20020600
    make:      single threaded, Unicode, 64 bit
    pid        22016
    ***LOG Q00=> DpSapEnvInit, DPStart (00 22016) [dpxxdisp.c   1104]
            shared lib "dw_xml.so" version 221 successfully loaded
            shared lib "dw_xtc.so" version 221 successfully loaded
            shared lib "dw_stl.so" version 221 successfully loaded
            shared lib "dw_gui.so" version 221 successfully loaded
            shared lib "dw_mdm.so" version 221 successfully loaded
    MtxInit: -2 0 0
    DpSysAdmExtInit: ABAP is active
    DpIPCInit2: start server >sapkzpn2_KZP_00                         <
    DpShMCreate: sizeof(wp_adm)             10752   (1344)
    DpShMCreate: sizeof(tm_adm)             3728952 (18552)
    DpShMCreate: sizeof(wp_ca_adm)          31200   (104)
    DpShMCreate: sizeof(appc_ca_adm)        10400   (104)
    DpShMCreate: sizeof(comm_adm)           316000  (632)
    DpShMCreate: sizeof(vmc_adm)            0       (560)
    DpShMCreate: sizeof(wall_adm)           (40056/36728/88/192)
    DpShMCreate: SHM_DP_ADM_KEY             (addr: 0xffffffff70c00000, size: 4181592)
    DpShMCreate: allocated sys_adm at 0xffffffff70c00000
    DpShMCreate: allocated wp_adm at 0xffffffff70c01c88
    DpShMCreate: allocated tm_adm_list at 0xffffffff70c04688
    DpShMCreate: allocated tm_adm at 0xffffffff70c046b0
    DpShMCreate: allocated wp_ca_adm at 0xffffffff70f92ce8
    DpShMCreate: allocated appc_ca_adm at 0xffffffff70f9a6c8
    DpShMCreate: allocated comm_adm_list at 0xffffffff70f9cf68
    DpShMCreate: allocated comm_adm at 0xffffffff70f9cf80
    DpShMCreate: allocated vmc_adm_list at 0xffffffff70fea1e0
    DpShMCreate: system runs without vmc_adm
    DpShMCreate: allocated ca_info at 0xffffffff70fea208
    DpShMCreate: allocated wall_adm at 0xffffffff70fea210
    MBUF state OFF
    ThTaskStatus: rdisp/reset_online_during_debug 0
    EmInit: MmSetImplementation( 2 ).
    <ES> client 0 initializing ....
    <ES> InitFreeList
    <ES> block size is 4096 kByte.
    Using implementation std
    EsIUnamFileMapInit: ES base = 0x0xfffffffe60000000
    EsStdInit: Extended Memory 4092 MB allocated
    <ES> 1022 blocks reserved for free list.
    ES initialized.
    Fri Jan 29 15:11:07 2010
    rdisp/http_min_wait_dia_wp : 1 -> 1
    ***LOG CPS=> DpLoopInit, ICU ( 2.6.1 2.6 4.0) [dpxxdisp.c   1490]
    ***LOG Q0K=> DpMsAttach, mscon ( sapkzpn2) [dpxxdisp.c   10127]
    DpStartStopMsg: send start message (myname is >sapkzpn2_KZP_00                         <)
    DpStartStopMsg: start msg sent
    CCMS: AlInitGlobals : alert/use_sema_lock = TRUE.
    Fri Jan 29 15:11:08 2010
    DpMsgAdmin: Set release to 6400, patchlevel 0
    MBUF state PREPARED
    MBUF component UP
    DpMBufHwIdSet: set Hardware-ID
    ***LOG Q1C=> DpMBufHwIdSet [dpxxmbuf.c   1025]
    DpMsgAdmin: Set patchno for this platform to 221
    Release check o.K.
    Fri Jan 29 15:11:29 2010
    ERROR => W0 (pid 22021) died [dpxxdisp.c   12698]
    ERROR => W2 (pid 22023) died [dpxxdisp.c   12698]
    my types changed after wp death/restart 0xbf --> 0xbd
    ERROR => W3 (pid 22024) died [dpxxdisp.c   12698]
    my types changed after wp death/restart 0xbd --> 0xb9
    ERROR => W4 (pid 22025) died [dpxxdisp.c   12698]
    ERROR => W5 (pid 22028) died [dpxxdisp.c   12698]
    my types changed after wp death/restart 0xb9 --> 0xb1
    ERROR => W6 (pid 22030) died [dpxxdisp.c   12698]
    my types changed after wp death/restart 0xb1 --> 0xa1
    ERROR => W7 (pid 22038) died [dpxxdisp.c   12698]
    my types changed after wp death/restart 0xa1 --> 0x81
    Fri Jan 29 15:12:08 2010
    ERROR => W1 (pid 22022) died [dpxxdisp.c   12698]
    my types changed after wp death/restart 0x81 --> 0x80
    DP_FATAL_ERROR => DpWPCheck: no more work processes
    DISPATCHER EMERGENCY SHUTDOWN ***
    increase tracelevel of WPs
    killing W0-22021 (SIGUSR2)
    ERROR => DpWpKill(22021, SIGUSR2) failed [dpxxtool.c   2508]
    killing W1-22022 (SIGUSR2)
    ERROR => DpWpKill(22022, SIGUSR2) failed [dpxxtool.c   2508]
    killing W2-22023 (SIGUSR2)
    ERROR => DpWpKill(22023, SIGUSR2) failed [dpxxtool.c   2508]
    killing W3-22024 (SIGUSR2)
    killing W7-22038 (SIGUSR2)
    ERROR => DpWpKill(22038, SIGUSR2) failed [dpxxtool.c   2508]
    NiWait: sleep (10000 msecs) ...
    NiISelect: timeout 10000 ms
    NiISelect: maximum fd=15
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Fri Jan 29 15:12:18 2010
    NiISelect: TIMEOUT occured (10000 ms)
    dump system status
    Workprocess Table (long)                        Fri Jan 29 09:12:18 2010
    ========================
    No Ty. Pid      Status  Cause Start Err Sem CPU    Time  Program  Cl  User         Action                    Table
    0 DIA    22021 Ended         no      1   0            78             SAPSYS
    1 DIA    22022 Ended         no      1   0            78             SAPSYS
    2 UPD    22023 Ended         no      1   0            78             SAPSYS
    3 ENQ    22024 Ended         no      1   0            78             SAPSYS
    4 BTC    22025 Ended         no      1   0            78             SAPSYS
    5 BTC    22028 Ended         no      1   0            78             SAPSYS
    6 SPO    22030 Ended         no      1   0            71             SAPSYS
    7 UP2    22038 Ended         no      1   0            71             SAPSYS
    Dispatcher Queue Statistics                     Fri Jan 29 09:12:18 2010
    ===========================
    --------++++--
    +
    Typ
    now
    high
    max
    writes
    reads
    --------++++--
    +
    NOWP
    0
    3
    2000
    10
    10
    --------++++--
    +
    DIA
    5
    5
    2000
    5
    0
    --------++++--
    +
    UPD
    0
    0
    2000
    0
    0
    --------++++--
    +
    ENQ
    0
    0
    2000
    0
    0
    --------++++--
    +
    BTC
    0
    0
    2000
    0
    0
    --------++++--
    +
    SPO
    0
    0
    2000
    0
    0
    --------++++--
    +
    UP2
    0
    0
    2000
    0
    0
    --------++++--
    +
    max_rq_id               13
    wake_evt_udp_now        0
    wake events             total     9,  udp     6 ( 66%),  shm     3 ( 33%)
    since last update       total     9,  udp     6 ( 66%),  shm     3 ( 33%)
    Dump of tm_adm structure:                       Fri Jan 29 09:12:18 2010
    =========================
    Term    uid  man user    term   lastop  mod wp  ta   a/i (modes)
    Workprocess Comm. Area Blocks                   Fri Jan 29 09:12:18 2010
    =============================
    Slots: 300, Used: 1, Max: 0
    --------++--
    +
    id
    owner
    pid
    eyecatcher
    --------++--
    +
    0
    DISPATCHER
    -1
    WPCAAD000
    NiWait: sleep (5000 msecs) ...
    NiISelect: timeout 5000 ms
    NiISelect: maximum fd=15
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Fri Jan 29 15:12:23 2010
    NiISelect: TIMEOUT occured (5000 ms)
    DpHalt: shutdown server >sapkzpn2_KZP_00                         < (normal)
    DpJ2eeDisableRestart
    DpModState: buffer in state MBUF_PREPARED
    NiBufSend starting
    NiIWrite: write 110, 1 packs, MESG_IO, hdl 3, data complete
    MsINiWrite: sent 110 bytes
    MsIModState: change state to SHUTDOWN
    DpModState: change server state from STARTING to SHUTDOWN
    Switch off Shared memory profiling
    ShmProtect( 57, 3 )
    ShmKeySharedMMU( 57 ) = 0 (octal)
    ShmProtect(SHM_PROFILE, SHM_PROT_RW
    ShmProtect( 57, 1 )
    ShmKeySharedMMU( 57 ) = 0 (octal)
    ShmProtect(SHM_PROFILE, SHM_PROT_RD
    DpWakeUpWps: wake up all wp's
    Stop work processes...
    Stop gateway
    killing proc (22019) (SOFT_KILL)
    Stop icman
    killing proc (22020) (SOFT_KILL)
    Terminate gui connections
    kill(22019,0) successful -> process alive
    waiting for termination of gateway
    NiWait: sleep (1000 msecs) ...
    NiISelect: timeout 1000 ms
    NiISelect: maximum fd=15
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Fri Jan 29 15:12:24 2010
    NiISelect: TIMEOUT occured (1000 ms)
    kill(22019,0) -> ESRCH: process died
    kill(22020,0) -> ESRCH: process died
    DpHalt: cancel all lcom connections
    MPI CancelAll 2 -> 0
    MPI DeleteAll 2 -> 0
    DpStartStopMsg: send stop message (myname is >sapkzpn2_KZP_00                         <)
    NiIMyHostName: hostname = 'sapkzpn2'
    AdGetSelfIdentRecord: >                                                                           <
    AdCvtRecToExt: opcode 60 (AD_SELFIDENT), ser 0, ex 0, errno 0
    AdCvtRecToExt: opcode 4 (AD_STARTSTOP), ser 0, ex 0, errno 0
    DpConvertRequest: net size = 163 bytes
    NiBufSend starting
    NiIWrite: write 562, 1 packs, MESG_IO, hdl 3, data complete
    MsINiWrite: sent 562 bytes
    send msg (len 110+452) to name          -, type 4, key -
    DpStartStopMsg: stop msg sent
    NiIRead: read 229, 1 packs, MESG_IO, hdl 3, data complete
    NiBufIn: NIBUF len=229
    NiBufIn: Packet complete for hdl 3
    NiBufReceive starting
    MsINiRead: received 229 bytes
    MSG received, len 110+119, flag 1, from MSG_SERVER, typ 0, key -
    DpHalt: received 119 bytes from message server
    NiIRead: read 229, 1 packs, MESG_IO, hdl 3, data complete
    NiBufIn: NIBUF len=229
    NiBufIn: Packet complete for hdl 3
    NiBufReceive starting
    MsINiRead: received 229 bytes
    MSG received, len 110+119, flag 1, from MSG_SERVER, typ 0, key -
    DpHalt: received 119 bytes from message server
    DpHalt: no more messages from the message server
    DpHalt: send keepalive to synchronize with the message server
    cleanup event management
    cleanup shared memory/semaphores
    ShmCleanup SHM_SYS_ADM_KEY
    ShmCleanup( 1 )
    ShmCreate( 1, 0, 2, 0x0xffffffff7fffeab8 )
    ShmProtect( 1, 3 )
    ShmKeySharedMMU( 1 ) = 0 (octal)
    ShmCreate( 1, 0, 2, -> 0x0xffffffff7b100000 )
    ShmCleanup SHM_DP_ADM_KEY
    ShmCleanup( 2 )
    ShmCreate( 2, 0, 2, 0x0xffffffff7fffeab8 )
    ShmProtect( 2, 3 )
    ShmKeySharedMMU( 2 ) = 0 (octal)
    ShmCreate( 2, 0, 2, -> 0x0xffffffff70c00000 )
    ShmCleanup SHM_DP_CA_KEY
    ShmCleanup( 3 )
    ShmCreate( 3, 0, 2, 0x0xffffffff7fffeab8 )
    ShmProtect( 3, 3 )
    ShmKeySharedMMU( 3 ) = 0 (octal)
    ShmCreate( 3, 0, 2, -> 0x0xffffffff6fc00000 )
    ShmCleanup SHM_PF_KEY
    ShmCleanup( 4 )
    ShmCreate( 4, 0, 2, 0x0xffffffff7fffeab8 )
    ShmKeyPermission( 4 ) = 0740 (octal)
    ShmKeySharedMMU( 4 ) = 0 (octal)
    ShmProtect( 4, 3 )
    ShmKeySharedMMU( 4 ) = 0 (octal)
    ShmCreate( 4, 0, 2, -> 0x0xffffffff71f00000 )
    ShmCleanup SHM_PRES_BUF
    ShmCleanup( 14 )
    ShmCreate( 14, 0, 2, 0x0xffffffff7fffeab8 )
    ShmGet( 10, 14, 0, 2, 0x0xffffffff7fffe970 )
    ShmGet( 10, 14, 0, 2, -> 0x0xffffffff7597a000 )
    ShmProtect( 14, 3 )
    ShmProtect: Key=14 not attached
    ShmProtect( 14, 3 )
    ShmCreate( 14, 0, 2, -> 0x0xffffffff7597a000 )
    ShmCleanup SHM_CALI_BUFFER
    ShmCleanup( 11 )
    ShmCreate( 11, 0, 2, 0x0xffffffff7fffeab8 )
    ShmGet( 10, 11, 0, 2, 0x0xffffffff7fffe970 )
    ShmGet( 10, 11, 0, 2, -> 0x0xffffffff76040000 )
    ShmProtect( 11, 3 )
    ShmProtect: Key=11 not attached
    ShmProtect( 11, 3 )
    ShmCreate( 11, 0, 2, -> 0x0xffffffff76040000 )
    ShmCleanup SHM_DB_TBUFF
    ShmCleanup( 19 )
    ShmCreate( 19, 0, 2, 0x0xffffffff7fffeab8 )
    ShmKeyPermission( 19 ) = 0740 (octal)
    ShmKeySharedMMU( 19 ) = 0 (octal)
    ShmProtect( 19, 3 )
    ShmKeySharedMMU( 19 ) = 0 (octal)
    ShmCreate( 19, 0, 2, -> 0x0xffffffff66000000 )
    ShmCleanup SHM_DB_TBUFF_P
    ShmCleanup( 33 )
    ShmCreate( 33, 0, 2, 0x0xffffffff7fffeab8 )
    ShmKeyPermission( 33 ) = 0740 (octal)
    ShmKeySharedMMU( 33 ) = 0 (octal)
    ShmProtect( 33, 3 )
    ShmKeySharedMMU( 33 ) = 0 (octal)
    ShmCreate( 33, 0, 2, -> 0x0xffffffff70400000 )
    ShmCleanup SHM_DB_STBUFF
    ShmCleanup( 41 )
    ShmCreate( 41, 0, 2, 0x0xffffffff7fffeab8 )
    ShmKeyPermission( 41 ) = 0740 (octal)
    ShmKeySharedMMU( 41 ) = 0 (octal)
    ShmProtect( 41, 3 )
    ShmKeySharedMMU( 41 ) = 0 (octal)
    ShmCreate( 41, 0, 2, -> 0x0xffffffff66800000 )
    ShmCleanup SHM_DB_TTBUFF
    ShmCleanup( 42 )
    ShmCreate( 42, 0, 2, 0x0xffffffff7fffeab8 )
    ShmGet( 40, 42, 0, 2, 0x0xffffffff7fffe970 )
    ShmCreate( 40, 0, 2, 0x0xffffffff7fffe798 )
    ShmKeyPermission( 40 ) = 0740 (octal)
    ShmKeySharedMMU( 40 ) = 0 (octal)
    ShmProtect( 40, 3 )
    ShmCreate( 40, 0, 2, -> 0x0xffffffff60000000 )
    ShmGet( 40, 42, 0, 2, -> 0x0xffffffff62972000 )
    ShmProtect( 42, 3 )
    ShmProtect: Key=42 not attached
    ShmProtect( 42, 3 )
    ShmCreate( 42, 0, 2, -> 0x0xffffffff62972000 )
    ShmDelete( 40 )
    ShmCleanup SHM_DB_FTBUFF
    ShmCleanup( 43 )
    ShmCreate( 43, 0, 2, 0x0xffffffff7fffeab8 )
    ShmGet( 40, 43, 0, 2, 0x0xffffffff7fffe970 )
    ShmCreate( 40, 0, 2, 0x0xffffffff7fffe798 )
    ShmKeyPermission( 40 ) = 0740 (octal)
    ShmCleanup SHM_DB_SNTBUFF
    ShmCleanup( 45 )
    ShmCreate( 45, 0, 2, 0x0xffffffff7fffeab8 )
    ShmGet( 40, 45, 0, 2, 0x0xffffffff7fffe970 )
    ShmCreate( 40, 0, 2, 0x0xffffffff7fffe798 )
    ShmKeyPermission( 40 ) = 0740 (octal)
    ShmCleanup SHM_DB_IRBUFF
    ShmCleanup( 44 )
    ShmCreate( 44, 0, 2, 0x0xffffffff7fffeab8 )
    ShmGet( 40, 44, 0, 2, 0x0xffffffff7fffe970 )
    ShmCreate( 40, 0, 2, 0x0xffffffff7fffe798 )
    ShmKeyPermission( 40 ) = 0740 (octal)
    ShmCleanup SHM_DB_OBJ_BUFFER
    ShmKeySharedMMU( 31 ) = 0 (octal)
    ShmCreate( 31, 0, 2, -> 0x0xffffffff6f400000 )
    closing connect handles (dgm + tcp)
    DpDelSocketInfo: del info for socket 1 (type=2)
    NiICloseHandle: shutdown and close hdl 1 / socket 8
    DpDelSocketInfo: del info for socket 2 (type=1)
    NiBufClose: clear extensions for hdl 2
    NiBufSetStat: bufstat of hdl 2 changed from OK to OFF
    NiICloseHandle: shutdown and close hdl 2 / socket 9
    ***LOG Q05=> DpHalt, DPStop ( 22016) [dpxxdisp.c   9033]
    shutdown completed - server stopped ***
    Good Bye .....
    Could you please help me about this issue?
    Best regards

  • Migration of company code from one server to another

    Dear Sir/Madam,
    We are in the process of migrating company code from one server to another server. We have activated the company code with ewt in old server on 01.10.10. We have to migrate the same company w.e.f. 01.11.10 to new server.
    we have two options one is to migrate the company without ewt activation where we can take all the open items and trial balance and then activate ewt and do the required health check up in ewt.
    second option is to activate the ewt and then migrate , here the issue is that if open items are migrated after ewt activation the tds gets calculated again.
    In indian scenario we have to pay the tds (challan updation) by 7th of next month, if we migrate then this is not possible because in the new server we do not have the data in the table required for clearing the entries. We are thinking of doing the challan updation in the old server itself.
    Can you suggest us the option through which we can migrate the company code. If you have any other option then please suggest.
    Prashant P. Zinge

    Thanks

  • Migration from AIX Oracle8i to Solaris Oracle8i?

    Hi,
    I wonder how to migrate Oracle 8i (8.1.7) on AIX to Oracle
    8i (8.1.7) on Solaris?
    The Oracle version is the same, but only the O.S platform is
    different. I have found the migration information from Oracle
    web site but it only talks about migration between different
    database.
    Thanks.

    > In our organisation, we are planning to migrate from AIX6.1 to Solaris x64. The processor which we'll be using is UltraSPARC+IV processor.
    Well - I think you're mixing a few things up here.
    Solaris x64 refers to Solaris on the Intel or the AMD processor (x64 == x86_64 == AMD64)
    UltraSPARC IV+ refers to a CPU developed by Sun (now Oracle).
    > 1. Which guide to refer for moving the SAP System from AIX6.1 to Solaris
    There are no specific guides for OS migrations. You use the heterogeneous system copy approach. However, migrating a database and/or operating system requires a certified migration consultant on-site doing the migration. If you do it yourself you'll loose support from SAP for problems during the migration and for the target system (see http://service.sap.com/osdbmigration).
    > 2. Is UltraSPARC+IV processor is supported for Oracle 10g
    Yes. Solaris 10 on SPARC Is supported.
    Markus

  • Sun Solaris with Oracle 8i &java 1.3

    i am going to work on Sun solaris with Oracle 8i
    in Java platform
    is there any major issue to this combination
    pls , help me out to -> [email protected]
    Thanks in advance
    oviya

    I've been able to get Apache_1.3.(9|11|12)+PHP-(3.0.1[45]|4.0b4pl1)+Oracle-8.1.5.0.2 to work (OCI8 API calls) but with much difficulty.
    Compiling was pretty straightforward. I used APXS to load the PHP module. However, when I start Apache with the PHP modules loaded and added, Apache would die (no hints, etc.) What I did was start Apache without PHP loaded, reconfigure in PHP once Apache started and THEN restart apache. This works for me. Kinda tedious, though. And the time when Apache is running without support for PHP would allow anyone to see my PHP code with my database password.
    (Incidentally, how should I configure Apache so it doesn't serve files which end in .php[3] unless it was through the PHP module?)
    I've emailed the Apache OCI8 module developers about it (Stig and Thies) so I hope it'll be resolved soon.

  • Migration from AIX6.1 to Solaris x64

    Hi,
    In our organisation, we are planning to migrate from AIX6.1 to Solaris x64. The processor which we'll be using is UltraSPARC+IV processor. I need clarification for below mentioned points.
    1. Which guide to refer for moving the SAP System from AIX6.1 to Solaris
    2. Is UltraSPARC+IV processor is supported for Oracle 10g
    Also, please let me know the steps to be followed for the activity mentioned above.
    Regards,
    Ranjith

    > In our organisation, we are planning to migrate from AIX6.1 to Solaris x64. The processor which we'll be using is UltraSPARC+IV processor.
    Well - I think you're mixing a few things up here.
    Solaris x64 refers to Solaris on the Intel or the AMD processor (x64 == x86_64 == AMD64)
    UltraSPARC IV+ refers to a CPU developed by Sun (now Oracle).
    > 1. Which guide to refer for moving the SAP System from AIX6.1 to Solaris
    There are no specific guides for OS migrations. You use the heterogeneous system copy approach. However, migrating a database and/or operating system requires a certified migration consultant on-site doing the migration. If you do it yourself you'll loose support from SAP for problems during the migration and for the target system (see http://service.sap.com/osdbmigration).
    > 2. Is UltraSPARC+IV processor is supported for Oracle 10g
    Yes. Solaris 10 on SPARC Is supported.
    Markus

  • How can i migrate Power Builder 8.0 Function into oracle PL/SQL

    Hi Oracle Experts...
    How can i migrate Power Builder 8.0 Function into oracle PL/SQL.. I had migrate some of the coding from PB to PL/SQL. But i don't know how can i convert PB structure(here structure is a data type) into oracle PL/SQL.
    Instead of structure what is the equivalent in oracle plsql
    Below i pasted my POWER BUILDER FUNCTION:
    Long ll_perd,ll_lnperd,ll_mon,ll_effmon,ll_instno,ll_odno
    Decimal{5} ldl_actual,ldl_diff,ldl_inst
    Datetime ldt_first,ldt_exp,ldt_oddt, ldt_lastprod
    String ls_instmode,ls_inst
    str_batch lstr_od //Structure to store odamt and oddate
    Select pay_c_final,lon_d_expiry, lon_d_lastprod
    Into     :ls_inst,:ldt_exp, :ldt_lastprod
    From      loan_mast
    Where branch_c_code = :gs_branch and
              act_c_type      = :as_actype and
              act_c_no           = :as_acno;
    If Sqlca.Sqlcode = -1 Then
         f_message('FT-0189',Sqlca.Sqlerrtext)
         lstr_od.batchslno = -1
         Return lstr_od
    End If
    If adt_prodt > ldt_exp Then
         Select Ceil(months_between(:adt_prodt,:ldt_exp)) Into :lstr_od.batchslno From dual;
         lstr_od.cheqdt = ldt_exp
         lstr_od.batchslno = DaysAfter(Date(ldt_lastprod), Date(adt_prodt))
    Else
         If ls_inst = 'N' Then
              If adt_prodt > ldt_exp Then
                   Select Ceil(months_between(:adt_prodt,:ldt_exp)) Into :lstr_od.batchslno From dual;
                   lstr_od.cheqdt = ldt_exp
              Else
                   lstr_od.batchslno = 1
              End If
         ElseIf ls_inst = 'Y' Then
              Select first_d_due,lon_c_instperd,lon_n_perd
              Into     :ldt_first,:ls_instmode,:ll_lnperd
              From     loan_mast
              Where branch_c_code = :gs_branch and
                        act_c_type      = :as_actype and
                        act_c_no          = :as_acno;
              If Sqlca.Sqlcode = -1 Then
                   f_message('FT-0189',Sqlca.Sqlerrtext)
                   lstr_od.batchslno = -1
                   Return lstr_od // Return Structure
              End If
              Select Ceil(months_between(:adt_prodt,:ldt_first)) Into :ll_mon from dual;
              If ll_mon > 0 Then
                   Select Nvl(ln_n_balance,0),Nvl(ln_n_instlamt,0),Nvl(ln_n_instlno,0)
                   Into     :ldl_actual,:ldl_inst,:ll_instno
                   From     loan_inst_sch
                   Where act_c_type = :as_actype and
                             act_c_no     = :as_acno and
                             ln_d_effdate = (Select Max(ln_d_effdate)
                                                           From     loan_inst_sch
                                                           Where act_c_type = :as_actype and
                                                                     act_c_no     = :as_acno and
                                                                     ln_d_effdate < :adt_prodt);
                   If Sqlca.Sqlcode = -1 Then
                        f_message('FT-0224', Sqlca.Sqlerrtext)
                        lstr_od.batchslno = -1
                        Return lstr_od
                   ElseIf Sqlca.Sqlcode = 100 Then
                        lstr_od.batchslno = 1
    *                    Return lstr_od*
                   End If
                   If adl_bal > ldl_actual Then
                        If ldl_inst > 0 Then
                             lstr_od.batchslno = (adl_bal - ldl_actual) / ldl_inst
                        End If
                   Else
                        lstr_od.batchslno = 1
                   End If     
                   If lstr_od.batchslno = 0 Then lstr_od.batchslno = 1
                   //For full OD
                   If ll_mon > ll_lnperd Then
                        lstr_od.batchslno = (ll_mon - ll_lnperd) + lstr_od.batchslno
                   End If
                   If ls_instmode = 'Q' Then
                        lstr_od.batchslno = lstr_od.batchslno * 3
                   ElseIf ls_instmode = 'H' Then
                        lstr_od.batchslno = lstr_od.batchslno * 6
                   ElseIf ls_instmode = 'Y' Then
                        lstr_od.batchslno = lstr_od.batchslno * 12
                   End If
                   Select :adt_prodt - :lstr_od.batchslno Into :lstr_od.cheqdt From dual;
                   If ls_instmode = 'M' Then
                        ll_odno = ll_instno - lstr_od.batchslno // To get OD Date
                        Select ln_d_effdate
                        Into     :lstr_od.cheqdt
                        From     loan_inst_sch
                        Where act_c_type = :as_actype and
                                  act_c_no     = :as_acno and
                                  ln_n_instlno = :ll_odno;
                        If Sqlca.Sqlcode = -1 Then
                             f_message('FT-0224', + Sqlca.Sqlerrtext)
                             lstr_od.batchslno = -1
                             Return lstr_od
                        End If
                   End If
              Else
                   lstr_od.batchslno = 1
              End If
         End If
    End if
    Return lstr_od
    Thanks in adance
    Arun M M

    What are you going to return the structure to? What I would normally use here if the code was going to be used by other PL/SQL would be a PL/SQL object type.
    However, if PowerBuilder is still in the equation (you're moving the logic to PL/SQL but keeping PowerBuilder for the GUI ), then you'll have to return something else, because PowerBuilder doesn't understand PL/SQL object types. Perhaps passing a REF CURSOR as a OUT argument and populating it from the procedure. PowerBuilder could then retrieve the result of the procedure using a stored procedure based DataWindow.

  • Migrate data from PostgreSQL 7.2 to oracle 9i on Linux

    Kindly guide me on how to migrate data from PostgreSQL 7.2 to oracle 9i on Linux. Please provide me a performance comparision between Orcle 9i on Linux and on windows 2000
    thanks

    Hi Geo
    We do not currently have tools to support Postgres to SQL migration. However, there are tools currently under developement which may help you in the future. In the meantime, there are some useful articles on postgres.org web site. See http://archives.postgresql.org/pgsql-sql/2002-10/msg00352.php
    We do not have comparison docs bertween Oracle on UNIX and Oracle on Windows as the the main code base is identifical. There are some artchitectural changes on windows where Oracle background processes have been implemented as threads and are installed as Windows services. More information on the architectures on both platforms can be found on the following sites:
    Oracle on Windows
    http://otn.oracle.com/tech/windows/index.html
    Oracle on Linux
    http://otn.oracle.com/tech/linux/index.html
    http://oss.oracle.com
    cheers
    Jan

  • How to delete the old code in the EXIT_SAPLRSAP_001

    Hi All,
    In R3 system, I wrote an exit for 2LIS_11_VAHDR  by using T-code CMOD in the function exit EXIT_SAPLRSAP_001 and the code does not meet my requirement today i want to delete the code and i will write the fresh one. now my problem is i am not able to delete the code can any body suggest me how to delete the old code.
    and can we create new project and can we assign to the Enhancement RSAP0001.
    Can anybody suggest me in this
    Thanks in advance......
    Narendra

    Hi Narendra,
    You can put the code in comments, if you don't want to use the old code..You can delete also..But be sure that code belongs to you only..
    SE38>zxrsau01>change-->find out your data source
    Comment(Or can delete) the code starting from WHEN '2LIS_11_VAHDR'. to the end of the code that you have written..
    If you really want to delete the assignment of RSAP0001 to your old project>goto CMOD>your project name>change>delete assigment
    Then create a new project and assign the enhancement RSAP0001 to your new project and write the code in Include 'ZXRSAU01'..
    Hope it helps
    Thanks
    Teja

  • How to 100% Protect PL/SQL Code By Wrapped in Oracle Database 10g R2

    Hello,
    Is Possible to 100% Protect PL/SQL Code By Wrapped in Oracle 10g R2 ?
    If it is not possible by wrap in oracle 10g R2,
    Please, let me suggest, how i will be able to 100% protect PL/SQL code in Oracle Database 10g R2.
    Because, I have lot of functions, procedures & package's in my project.
    Which is running in field filed.
    So, i have needed to protect 100%.
    Also, will i convert to al functions, procedures & package's to .pll file ?
    And .pll file to .plx file?
    Is it possible to convert .plx file to .pll file ?
    Please, let know any better solutions in this case....
    Regards
    Mehedi

    Hello,
    No, wrapping is not a 100% secure method. It could prevent your code from amateurs, but not from professional hackers. Look at the article http://docs.oracle.com/cd/B28359_01/appdev.111/b28370/wrap.htm#BEHGBJAA
    It says: "•Wrapping is not a secure method for hiding passwords or table names.
    Wrapping a PL/SQL unit prevents most users from examining the source code, but might not stop all of them."
    Edited by: apiminov on 03.12.2012 3:23
    Edited by: apiminov on 03.12.2012 3:24

  • How to only migrate data from SQL Server 2008 to Oracle 11?

    According to our requirement, We need to only migrate data from a SQL Server database to an existed
    Oracle database user.
    1) I tried to do it with SQL Developer 3.0.04 Migration Wizard, But find an issue.
    My SQL Server database name is SCDS41P2, and my Oracle database user name is CDS41P2;
    When I used SQL Developer to do offline move data by Migration Wizard, I found all oracle user
    name in movedata files which gotten by run Migration Wizard
    is dbo_SCDS41P2. If the Oracle user name is not the same as my existed Oracle user name,
    the data can't be moved to my existed Oracle user when I run oracle_ctl.bat in command line window.
    So I had to modify the Oracle user name in all movedata files, but it's difficult to modify them because there are many tables in
    databases. So could you please tell me how to get the movedata files which the oracle user name in them is my
    expected Oracle user name?
    2) I also tried to use the 'copy to Oracle' function to copy the SQL Server database tables data
    to the existed Oracle database user. When clicked 'copy to Oracle', I selected 'Include Data' and 'Replace' option
    But I found some tables can't be copied, the error info is as below:
    Table SPSSCMOR_CONTROLTABLE Failed. Message: ORA-00955: name is already used by an existing object
    Could you please tell me how to deal with this kind of error?
    Thanks!
    Edited by: 870587 on Jul 6, 2011 2:57 AM

    Hi,
    Thanks for you replying. But the 'copy to oracle' function still can't be work well. I will give some info about the table. I also search 'SPSSCMOR_CONTROLTABLE' in the target schema, and only find one object. So why say 'name is already used by an existing object'? Could you please give me some advice? Thanks!
    What is the 'Build' version of your SQL*Developer ?
    [Answer]:
    3.0.04
    - what does describe show for the SPSSCMOR_CONTROLTABLE in SQL*Server ?
    [Answer]:
    USE [SCDS41P2]
    GO
    /****** Object: Table [dbo].[SPSSCMOR_CONTROLTABLE] Script Date: 07/18/2011 01:25:05 ******/
    SET ANSI_NULLS ON
    GO
    SET QUOTED_IDENTIFIER ON
    GO
    CREATE TABLE [dbo].[SPSSCMOR_CONTROLTABLE](
         [tablename] [nvarchar](128) NOT NULL,
    PRIMARY KEY CLUSTERED
         [tablename] ASC
    )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
    ) ON [PRIMARY]
    GO
    - what does describe show for the SPSSCMOR_CONTROLTABLE in Oracle ?
    [Answer]:
    -- File created - Monday-July-18-2011
    -- DDL for Table SPSSCMOR_CONTROLTABLE
    CREATE TABLE "CDS41P2"."SPSSCMOR_CONTROLTABLE"
    (     "TABLENAME" NVARCHAR2(128)
    ) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 NOCOMPRESS LOGGING
    STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
    PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
    TABLESPACE "USERS" ;
    -- DDL for Index SYS_C009547
    CREATE UNIQUE INDEX "CDS41P2"."SYS_C009547" ON "CDS41P2"."SPSSCMOR_CONTROLTABLE" ("TABLENAME")
    PCTFREE 10 INITRANS 2 MAXTRANS 255 COMPUTE STATISTICS
    STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
    PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
    TABLESPACE "USERS" ;
    -- Constraints for Table SPSSCMOR_CONTROLTABLE
    ALTER TABLE "CDS41P2"."SPSSCMOR_CONTROLTABLE" MODIFY ("TABLENAME" NOT NULL ENABLE);
    ALTER TABLE "CDS41P2"."SPSSCMOR_CONTROLTABLE" ADD PRIMARY KEY ("TABLENAME")
    USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255 COMPUTE STATISTICS
    STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
    PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
    TABLESPACE "USERS" ENABLE;
    Edited by: 870587 on Jul 18, 2011 1:42 AM

  • I have chosen to fil migrate from old ibook to new MacBook Pro using Time Machine after establishing admin account. I now have two admin. accounts and wish to delete the later one and transfer files manually. I am worried I will loose both accounts. ??

    I have chosen to fil migrate from old ibook to new MacBook Pro using Time Machine after establishing admin account. I now have two admin. accounts and wish to delete the later one and transfer files manually. I am worried I will loose both accounts. ??

    Use the Office for Mac and ignore using Parallels for that. If you have PC only apps you have to run that are MS Windows only then consider Parallels. Just transfer your main PC, using Migration Assistant.  If you don't know how then simply read over Pondini's article called Lion or Mountain Lion Setup Assistant tips and look for the section on migrating from a PC. Millions have done what you are about to, it's far from leading edge these days, if you go to an Apple Store to purchase they will offer this as a service, something you might be interested in.

Maybe you are looking for

  • How to expand layout in standard report GLRTBD.rdf

    Hi All I customize standard report GLRTBD.rdf . I want to expand layout for add new 6 columns . when run report in concurrent I got error REP-1212: Object 'R_PAGEBREAK' is not fully enclosed by its enclosing object 'Body'. REP-0069: Internal error RE

  • InDesign quits working before it initializes fully - help, please!!

    I've used InDesign through Creative Cloud since April 2014 - this is new just today.  As InDesign is powering up, it quits working, with these details: Problem Event Name: BEX64   Application Name: InDesign.exe   Application Version: 10.1.0.70   Appl

  • Lightroom support for Nikon lossless-compressed NEFs

    Hi, I shoot in NEF (12-bit, no compression) with a Nikon D200. I then edit the files with Nikon Capture NX2, and, doing so, I save them as lossless compressed NEF. I then finish editing in View NX2, where I further add geotagging and star rating. I w

  • Pop ups on Standard MDM Portal iViews throw Portal Runtime Error

    Hi all, We are facing some issues with MDM Standard Search iViews in Portal. We have configured MDM standard iViews using MDM Search Texts iView, MDM Result Set iView, MDM Search Picklists iView, MDM Item Details etc. We are facing a problem with the

  • Blur tool is gone

    I am new here and to CS5 and also am not much of a computer wiz. The blur tool has mysteriously disappeared from my palette and I don't know how to get it back. Help. Bob