About the 64bit coding

Hi,
I have read the guide "Porting 32-bit code to 64-bit code" within the cvi 2009's help. As to the specification, e.g., using 'ssize_t' instead of using 'int', I tried to modify the code :
ssize_t authenPanel; //the original define is "int  authenPanel"
SetPanelPos (authenPanel, monitorHeight-445, monitorWidth/6); 
then compile it with the X64 option, it gives an error:  "Type error in argument 3 to `InstallCtrlCallback'; found 'pointer to ssize_t function(int,int,int,pointer to void,int,int)' expected 'CtrlCallbackPtr'."
 At the same time, I have got such a warning " Warning: Conversion from 'ssize_t' to 'int' might lose data.", Please give an advise how to avoid such an error.
David

Hi,
you can continue using int as long as your integer value will not exceed 32 bit, see the discussion here - you do not have to change to ssize_t until you need 64 bit values. Because in the near future panel size probably will not exceed 32 bit valeus this should be ok.

Similar Messages

  • A question about the impact of SQL*PLUS SERVEROUTPUT option on v$sql

    Hello everybody,
    SQL> SELECT * FROM v$version;
    BANNER
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
    PL/SQL Release 11.2.0.1.0 - Production
    CORE    11.2.0.1.0  Production
    TNS for Linux: Version 11.2.0.1.0 - Production
    NLSRTL Version 11.2.0.1.0 - Production
    SQL>
    OS : Fedora Core 17 (X86_64) Kernel 3.6.6-1.fc17.x86_64I would like to ask a question about the SQL*Plus SET SERVEROUTPUT ON/OFF option and its impact on queries on views such as v$sql and v$session. Here is the problem
    Actually I define three variables in SQL*Plus in order to store sid, serial# and prev_sql_id columns from v$session in order to be able to use them later, several times in different other queries, while I'm still working in the current session.
    So, here is how I proceed
    SET SERVEROUTPUT ON;  -- I often activate this option as the first line of almost all of my SQL-PL/SQL script files
    SET SQLBLANKLINES ON;
    VARIABLE mysid NUMBER
    VARIABLE myserial# NUMBER;
    VARIABLE saved_sql_id VARCHAR2(13);
    -- So first I store sid and serial# for the current session
    BEGIN
        SELECT sid, serial# INTO :mysid, :myserial#
        FROM v$session
        WHERE audsid = SYS_CONTEXT('UserEnv', 'SessionId');
    END;
    PL/SQL procedure successfully completed.
    -- Just check to see the result
    SQL> SELECT :mysid, :myserial# FROM DUAL;
        :MYSID :MYSERIAL#
           129   1067
    SQL> Now, let's say that I want to run the following query as the last SQL statement run within my current session
    SELECT * FROM employees WHERE salary >= 2800 AND ROWNUM <= 10;According to Oracle® Database Reference 11g Release 2 (11.2) description for v$session
    http://docs.oracle.com/cd/E11882_01/server.112/e25513/dynviews_3016.htm#REFRN30223]
    the column prev_sql_id includes the sql_id of the last sql statement executed for the given sid and serial# which in the case of my example, it will be the above mentioned SELECT query on the employees table. As a result, right after the SELECT statement on the employees table I run the following
    BEGIN
        SELECT prev_sql_id INTO :saved_sql_id
        FROM v$session
        WHERE sid = :mysid AND serial# = :myserial#;
    END;
    PL/SQL procedure successfully completed.
    SQL> SELECT :saved_sql_id FROM DUAL;
    :SAVED_SQL_ID
    9babjv8yq8ru3
    SQL> Having the value of sql_id, I'm supposed to find all information about cursor(s) for my SELECT statement and also its sql_text value in v$sql. Yet here is what I get when I query v$sql upon the stored sql_id
    SELECT child_number, sql_id, sql_text
    FROM v$sql
    WHERE sql_id = :saved_sql_id;
    CHILD_NUMBER   SQL_ID          SQL_TEXT
    0              9babjv8yq8ru3    BEGIN DBMS_OUTPUT.GET_LINES(:LINES, :NUMLINES); END;Therefore instead of
    SELECT * FROM employees WHERE salary >= 2800 AND ROWNUM <= 10;for the value of sql_text I get the following value
    BEGIN DBMS_OUTPUT.GET_LINES(:LINES, :NUMLINES);Which is not of course what I was expecting to find in v$sql for the given sql_id.
    After a bit googling I found the following thread on the OTN forum where it had been suggested (well I think maybe not exactly for the same problem) to turn off SERVEROUTPUT.
    Problem with dbms_xplan.display_cursor
    This was precisely what I did
    SET SERVEROUTPUT OFFafter that I repeated the whole procedure and this time everything worked pretty well as expected. I checked SQL*Plus documentation for SERVEROUTPUT
    and also v$session page, yet I didn't find anything indicating that SERVEROUTPUT should be switched off whenever views such as v$sql, v$session
    are queired. I don't really understand the link in terms of impact that one can have on the other or better to say rather, why there is an impact
    Could anyone kindly make some clarification?
    thanks in advance,
    Regards,
    Dariyoosh

    >
    and also v$session page, yet I didn't find anything indicating that SERVEROUTPUT should be switched off whenever views such as v$sql, v$session
    are queired. I don't really understand the link in terms of impact that one can have on the other or better to say rather, why there is an impact
    Hi Dariyoosh,
    SET SERVEROUTPUT ON has the effect of executing dbms_output.get_lines after each and every statement. Not only related to system view.
    Here below what Tom Kyte is explaining in this page:
    Now, sqlplus sees this functionality and says "hey, would not it be nice for me to dump this buffer to screen for the user?". So, they added the SQLPlus command "set serveroutput on" which does two things
    1) it tells SQLPLUS you would like it <b>to execute dbms_output.get_lines after each and every statement</b>. You would like it to do this network rounding after each call. You would like this extra overhead to take place (think of an install script with hundreds/thousands of statements to be executed -- perhaps, just perhaps you don't want this extra call after every call)
    2) SQLPLUS automatically calls the dbms_output API "enable" to turn on the buffering that happens in the package.Regards.
    Al

  • About the template FSCM9.1 FP2 Peopletools 8.52.03 (v4 - July 2012)

    Hello,
    Just tested quickly this new template delivered 2 months ago (July 2012).
    As far as I undestand, it is just a recut of the one delivered in April 2012. At least it solves the main issue I reported in that other About the template FSCM9.1 FP2 Peopletools 8.52.03 (v3) about the network prompt missing.
    But I still have remarks/issues on the template FSCM9.1 FP2 Peopletools 8.52.03 (v4) released earlier in July 2012.
    _1. First of all, there a lot of errors reported in /var/log/messages_
    Sep 13 05:02:55 localhost kernel: type=1400 audit(1347526918.883:3): avc:  denied  { read } for  pid=92 comm="restorecon" name="libc.so.6" dev=xvda2 ino=21 scontext=system_u:sys
    tem_r:restorecon_t:s0 tcontext=system_u:object_r:file_t:s0 tclass=lnk_file
    Sep 13 05:02:55 localhost kernel: type=1400 audit(1347526918.910:4): avc:  denied  { execute } for  pid=92 comm="restorecon" path="/lib64/libc-2.5.so" dev=xvda2 ino=20 scontext=
    system_u:system_r:restorecon_t:s0 tcontext=system_u:object_r:file_t:s0 tclass=file
    Sep 13 05:02:55 localhost kernel: type=1400 audit(1347526921.489:5): avc:  denied  { read } for  pid=296 comm="pam_console_app" name="ld.so.cache" dev=xvda2 ino=94143 scontext=s
    ystem_u:system_r:pam_console_t:s0-s0:c0.c1023 tcontext=system_u:object_r:file_t:s0 tclass=file
    Sep 13 05:02:55 localhost kernel: type=1400 audit(1347526921.489:6): avc:  denied  { getattr } for  pid=290 comm="pam_console_app" path="/etc/ld.so.cache" dev=xvda2 ino=94143 sc
    ontext=system_u:system_r:pam_console_t:s0-s0:c0.c1023 tcontext=system_u:object_r:file_t:s0 tclass=file
    Sep 13 05:02:55 localhost kernel: type=1400 audit(1347526921.530:7): avc:  denied  { read } for  pid=293 comm="pam_console_app" name="libc.so.6" dev=xvda2 ino=21 scontext=system
    _u:system_r:pam_console_t:s0-s0:c0.c1023 tcontext=system_u:object_r:file_t:s0 tclass=lnk_file
    Sep 13 05:02:55 localhost kernel: type=1400 audit(1347526921.530:8): avc:  denied  { execute } for  pid=293 comm="pam_console_app" path="/lib64/libc-2.5.so" dev=xvda2 ino=20 sco
    ntext=system_u:system_r:pam_console_t:s0-s0:c0.c1023 tcontext=system_u:object_r:file_t:s0 tclass=file
    Sep 13 05:02:55 localhost kernel: input: PC Speaker as /class/input/input3
    Sep 13 05:02:55 localhost kernel: Initialising Xen virtual ethernet driver.
    Sep 13 05:02:55 localhost kernel: Error: Driver 'pcspkr' is already registered, aborting...
    Sep 13 05:02:55 localhost kernel: Floppy drive(s): fd0 is unknown type 15 (usb?), fd1 is unknown type 15 (usb?)
    Sep 13 05:02:55 localhost kernel: floppy0: Unable to grab IRQ6 for the floppy driver
    Sep 13 05:02:55 localhost kernel: lp: driver loaded but no devices found
    Sep 13 05:02:55 localhost kernel: md: Autodetecting RAID arrays.
    Sep 13 05:02:55 localhost kernel: md: Scanned 0 and added 0 devices.
    Sep 13 05:02:55 localhost kernel: md: autorun ...
    Sep 13 05:02:55 localhost kernel: md: ... autorun DONE.
    Sep 13 05:02:55 localhost kernel: EXT3 FS on xvda2, internal journal
    Sep 13 05:02:55 localhost kernel: type=1400 audit(1347526929.896:9): avc:  denied  { execute } for  pid=965 comm="restorecon" path="/lib64/libc-2.5.so" dev=xvda2 ino=20 scontext
    =system_u:system_r:restorecon_t:s0 tcontext=system_u:object_r:file_t:s0 tclass=file
    Sep 13 05:02:55 localhost kernel: kjournald starting.  Commit interval 5 seconds
    Sep 13 05:02:55 localhost kernel: EXT3 FS on xvda1, internal journal
    Sep 13 05:02:55 localhost kernel: EXT3-fs: mounted filesystem with ordered data mode.
    Sep 13 05:02:55 localhost kernel: kjournald starting.  Commit interval 5 seconds
    Sep 13 05:02:55 localhost kernel: EXT3 FS on xvdb1, internal journal
    Sep 13 05:02:55 localhost kernel: EXT3-fs: mounted filesystem with ordered data mode.
    Sep 13 05:02:55 localhost kernel: type=1400 audit(1347526930.647:10): avc:  denied  { execute } for  pid=989 comm="setfiles" path="/lib64/libc-2.5.so" dev=xvda2 ino=20 scontext=
    system_u:system_r:setfiles_t:s0 tcontext=system_u:object_r:file_t:s0 tclass=file
    Sep 13 05:02:55 localhost kernel: type=1400 audit(1347526942.398:11): avc:  denied  { net_admin } for  pid=990 comm="setfiles" capability=12  scontext=system_u:system_r:setfiles
    _t:s0 tcontext=system_u:system_r:setfiles_t:s0 tclass=capability
    Sep 13 05:02:55 localhost kernel: hrtimer: interrupt took 35229469 ns
    Sep 13 05:02:55 localhost kernel: Adding 2104504k swap on /dev/xvda3.  Priority:-1 extents:1 across:2104504k SS
    Sep 13 05:02:55 localhost kernel: warning: process `kudzu' used the deprecated sysctl system call with 1.23.
    Sep 13 05:02:55 localhost kernel: Loading iSCSI transport class v2.0-870.
    Sep 13 05:02:55 localhost kernel: libcxgbi:libcxgbi_init_module: tag itt 0x1fff, 13 bits, age 0xf, 4 bits.
    Sep 13 05:02:55 localhost kernel: libcxgbi:ddp_setup_host_page_size: system PAGE 4096, ddp idx 0.
    Sep 13 05:02:55 localhost kernel: Chelsio T3 iSCSI Driver cxgb3i v2.0.0 (Jun. 2010)
    Sep 13 05:02:55 localhost kernel: iscsi: registered transport (cxgb3i)
    Sep 13 05:02:55 localhost kernel: NET: Registered protocol family 10
    Sep 13 05:02:55 localhost kernel: cnic: Broadcom NetXtreme II CNIC Driver cnic v2.2.14 (Mar 30, 2011)
    Sep 13 05:02:55 localhost kernel: Broadcom NetXtreme II iSCSI Driver bnx2i v2.6.2.3 (Jan 06, 2010)
    Sep 13 05:02:55 localhost kernel: iscsi: registered transport (bnx2i)
    Sep 13 05:02:55 localhost kernel: iscsi: registered transport (tcp)
    Sep 13 05:02:55 localhost kernel: iscsi: registered transport (iser)
    Sep 13 05:02:55 localhost kernel: iscsi: registered transport (be2iscsi)
    Sep 13 05:02:55 localhost kernel: ip6_tables: (C) 2000-2006 Netfilter Core Team
    Sep 13 05:02:55 localhost kernel: warning: `mcstransd' uses 32-bit capabilities (legacy support in use)
    Sep 13 05:02:55 localhost kernel: type=1400 audit(1347526970.336:12): avc:  denied  { sys_tty_config } for  pid=1374 comm="consoletype" capability=26  scontext=system_u:system_r
    :consoletype_t:s0 tcontext=system_u:system_r:consoletype_t:s0 tclass=capability
    Sep 13 05:02:55 localhost kernel: RPC: Registered udp transport module.
    Sep 13 05:02:55 localhost kernel: RPC: Registered tcp transport module.
    Sep 13 05:02:55 localhost kernel: RPC: Registered tcp NFSv4.1 backchannel transport module.
    Sep 13 05:03:00 localhost automount[1769]: lookup_read_master: lookup(nisplus): couldn't locate nis+ table auto.master
    Sep 13 05:03:59 localhost kernel: type=1400 audit(1347527039.771:13): avc:  denied  { sys_tty_config } for  pid=2029 comm="consoletype" capability=26  scontext=system_u:system_r
    :consoletype_t:s0 tcontext=system_u:system_r:consoletype_t:s0 tclass=capability
    Sep 13 05:04:00 localhost NET[2061]: /sbin/dhclient-script : updated /etc/resolv.conf
    Sep 13 05:04:01 localhost kernel: IPv6 over IPv4 tunneling driver
    Sep 13 05:04:01 localhost NET[2219]: /opt/oracle/psft/vm/oraclevm-template.sh : updated /etc/resolv.conf
    Sep 13 05:04:08 localhost NET[2472]: /etc/sysconfig/network-scripts/ifup-post : updated /etc/resolv.conf
    Sep 13 05:06:08 localhost restorecond: Reset file context /etc/resolv.conf: system_u:object_r:etc_runtime_t:s0->system_u:object_r:net_conf_t:s0
    Sep 13 05:08:19 localhost kernel: Slow work thread pool: Starting up
    Sep 13 05:08:19 localhost kernel: Slow work thread pool: Ready
    Sep 13 05:08:19 localhost kernel: FS-Cache: Loaded
    Sep 13 05:08:19 localhost kernel: FS-Cache: Netfs 'nfs' registered for caching
    Sep 13 05:08:19 localhost kernel: svc: failed to register lockdv1 RPC service (errno 97).
    ...Well, I don't know if it triggers others problems yet, but the last line could reveale an error within the /etc/hosts file which has not been properly modified during deployment (especially IPV6, it probably should be removed) :
    [root@psovmfscmfp2 /]# more /etc/hosts
    127.0.0.1       localhost.localdomain   localhost
    ::1     localhost6.localdomain6 localhost6
    192.168.1.150   psovmfscmfp2.phoenix.nga psovmfscmfp2
    [root@psovmfscmfp2 /]#_2. Now about the COBOL_
    Despite I choosed to install Microfocus, COBOL does not work. Sample COBOL processes such as PTPDBTST and PTPDTTST finished in error.
    The log is empty, here below the output from the file $PS_CFG_HOME/psft/pt/8.52/appserv/prcs/PRCSDOM/LOGS/stdout (psadm2) :
    =================================Error===============================
    Message:     Process 10899 is marked 'Initiated' or 'Processing' but can not detect status of PID
            Process Name: PTPDBTST
            Process Type: COBOL SQL
            Session Id:   9313
    =====================================================================
    OprId = VP1Note that I successfully tested AEs and SQRs.
    Here is the command line fired that I can see from the process monitor > parameter (nga is being my run control id) :
    PSRUN PTPDBTST ORACLE/F91TMPLT/VP1/OPRPSWD/nga/10899//0 I used the following trace setting on the PTPDBTST's process parameter (override) to see what happens :
    %%DBTYPE%%/%%DBNAME%%/%%OPRID%%/%%OPRPSWD%%/%%RUNCNTLID%%/%%INSTANCE%%//%%DBFLAG%%But it does not generate more logs...
    I also use "RCCBL Redirect =1" in psappsrv.cfg (reconfigure and restart appdom), then start the COBOL through menu PeopleTools > Utilities > Debug > PeopleTools Test Utilities, and run a "Remote Call Test".
    I received "COBOL Program PTPNTEST aborted (2,-1) FUNCLIB_UTIL.RC_TEST_PB.FieldChange PCPC:2143 Statement:26", but it generated two empty files (PTPNTEST_VP1_0913064910.out and PTPNTEST_VP1_0913064910.err).
    Next step, checking the folder $PS_HOME/cblbin, it is...er... empty... does this mean COBOL have not been compiled ? Hmmm, I'm pretty sure I replied 'yes' when it was prompted though (still have the screenshots)...
    And we can see several folders dated from today and license seems ok from Microfocus directories :
    [psadm1@psovmfscmfp2 tools]$ cd /opt/oracle/psft/pt/cobol/svrexp-51_wp4-64bit
    [psadm1@psovmfscmfp2 svrexp-51_wp4-64bit]$ ls -lrt
    total 264
    -r--r--r--  1 root root 10455 Nov 19  2009 ADISCTRL
    dr-xr-xr-x 10 root root  4096 Nov 19  2009 terminfo
    dr-xr-xr-x  2 root root  4096 Nov 19  2009 xdb
    -r--r--r--  1 root root 11949 Nov 19  2009 eslmf-mess
    dr-xr-xr-x  2 root root  4096 Nov 19  2009 include
    dr-xr-xr-x 17 root root  4096 Nov 19  2009 lang
    dr-xr-xr-x  4 root root  4096 Nov 19  2009 es
    dr-xr-xr-x  2 root root  4096 Nov 19  2009 dynload
    drwxrwxrwx  2 root root  4096 Nov 19  2009 deploy
    dr-xr-xr-x  2 root root  4096 Nov 19  2009 dynload64
    dr-xr-xr-x  2 root root  4096 Nov 19  2009 dialog
    dr-xr-xr-x  2 root root  4096 Nov 19  2009 cpylib
    dr-xr-xr-x  8 root root 28672 Nov 19  2009 lib
    dr-xr-xr-x  3 root root  4096 Nov 19  2009 snmp
    dr-xr-xr-x  8 root root  4096 Nov 19  2009 src
    dr-xr-xr-x 28 root root  4096 Nov 19  2009 demo
    dr-xr-xr-x  6 root root  4096 Nov 19  2009 docs
    -rw-r--r--  1 root root    49 Sep 13 05:13 license.txt
    -r-xr-xr-x  1 root root 12719 Sep 13 05:13 install.orig
    -r-xr-xr-x  1 root root 13006 Sep 13 05:13 install
    dr-xr-xr-x  6 root root  4096 Sep 13 05:13 lmf
    dr-xr-xr-x  2 root root  4096 Sep 13 05:13 aslmf
    dr-xr-xr-x  6 root root  4096 Sep 13 05:15 etc
    dr-xr-xr-x  4 root root 12288 Sep 13 05:15 bin
    [psadm1@psovmfscmfp2 svrexp-51_wp4-64bit]$ more license.txt
    I
    ORACLE-30DAYDEV64
    01030 A0780 014A6 7980B A17CSo let's assume it has been properly installed and let's compile the COBOLs. Here we go :
    [psadm1@psovmfscmfp2 svrexp-51_wp4-64bit]$ cd $PS_HOME/setup
    [psadm1@psovmfscmfp2 setup]$ ./pscbl.mak
    /opt/oracle/psft/pt/tools/setup/pscbl_mf.mak : Convert all files for Unicode ....
    Conversion Summary for Source Codes in  :
         Source: /opt/oracle/psft/pt/tools/src/cbl/
         Target: /opt/oracle/psft/pt/tools/src/cblunicode/
          Number of Copy Libraries Read: 71
                         Modified:       71
                     Not Modified:       0
          Number of Programs Read:       44
                         Modified:       44
                     Not Modified:       0
    /opt/oracle/psft/pt/tools/setup/pscbl_mf.mak : All COBOL files were converted for Unicode successfully
    /opt/oracle/psft/pt/tools/setup/pscbl_mf.mak : Compiling PTPCBLAE.cbl ...
    /opt/oracle/psft/pt/tools/setup/pscbl_mf.mak: line 249: cob: command not found
    cp: cannot stat `PTPCBLAE.gnt': No such file or directory
    cp: cannot stat `PTPCBLAE.int': No such file or directory
    cp: cannot stat `PTPCBLAE.lst': No such file or directory
    ...What about env. variables ? COBDIR, COBPATH and COBOL do not appears anywhere in PATH...
    [psadm1@psovmfscmfp2 setup]$ env|grep -i cobol
    [psadm1@psovmfscmfp2 setup]$Let's set the env variables as we could expect to be (page 27, step 17 of the given doc), and retry to compile the COBOL :
    [psadm1@psovmfscmfp2 setup]$ export COBDIR=/opt/oracle/psft/pt/cobol/svrexp-51_wp4-64bit
    [psadm1@psovmfscmfp2 setup]$ export LD_LIBRARY_PATH=/opt/oracle/psft/pt/cobol/svrexp-51_wp4-64bit/lib:$LD_LIBRARY_PATH
    [psadm1@psovmfscmfp2 setup]$ export PATH=/opt/oracle/psft/pt/cobol/svrexp-51_wp4-64bit/bin:$PATH
    [psadm1@psovmfscmfp2 setup]$ ./pscbl.mak
    /opt/oracle/psft/pt/tools/setup/pscbl_mf.mak : Convert all files for Unicode ....
    Conversion Summary for Source Codes in  :
         Source: /opt/oracle/psft/pt/tools/src/cbl/
         Target: /opt/oracle/psft/pt/tools/src/cblunicode/
          Number of Copy Libraries Read: 71
                         Modified:       71
                     Not Modified:       0
          Number of Programs Read:       44
                         Modified:       44
                     Not Modified:       0
    /opt/oracle/psft/pt/tools/setup/pscbl_mf.mak : All COBOL files were converted for Unicode successfully
    /opt/oracle/psft/pt/tools/setup/pscbl_mf.mak : Compiling PTPCBLAE.cbl ...
    Micro Focus LMF - 010: Unable to contact license manager.                                                                                                                              This product has been unable to contact the                                     License Manager.                                                                                                                                                Execution of this product has been terminated.                                                                                                                  This product cannot execute without the License                                 Manager. Contact your license administrator                                     or refer to the 'Information Messages' chapter                                  of the License Management Facility                                              Administrator's Guide.
    cob64: error(s) in compilation: PTPCBLAE.cbl
    cp: cannot stat `PTPCBLAE.gnt': No such file or directory
    cp: cannot stat `PTPCBLAE.int': No such file or directory
    cp: cannot stat `PTPCBLAE.lst': No such file or directory
    ...Ok, maybe a bit better, at least it is trying to contact LMF. Probably the LMF is not started. Let's try to start it :
    [root@psovmfscmfp2 microfocus]# ./mflmman
    MF-LMF:Thu Sep 13 07:19:37 2012: LMF Starting
    [root@psovmfscmfp2 microfocus]#Good, it is starting, it means it wasn't (sic). Now retry to compile :
    [psadm1@psovmfscmfp2 setup]$ export COBDIR=/opt/oracle/psft/pt/cobol/svrexp-51_wp4-64bit
    [psadm1@psovmfscmfp2 setup]$ export LD_LIBRARY_PATH=/opt/oracle/psft/pt/cobol/svrexp-51_wp4-64bit/lib:$LD_LIBRARY_PATH
    [psadm1@psovmfscmfp2 setup]$ export PATH=/opt/oracle/psft/pt/cobol/svrexp-51_wp4-64bit/bin:$PATH
    [psadm1@psovmfscmfp2 setup]$ ./pscbl.mak
    /opt/oracle/psft/pt/tools/setup/pscbl_mf.mak : Convert all files for Unicode ....
    Conversion Summary for Source Codes in  :
         Source: /opt/oracle/psft/pt/tools/src/cbl/
         Target: /opt/oracle/psft/pt/tools/src/cblunicode/
          Number of Copy Libraries Read: 71
                         Modified:       71
                     Not Modified:       0
          Number of Programs Read:       44
                         Modified:       44
                     Not Modified:       0
    /opt/oracle/psft/pt/tools/setup/pscbl_mf.mak : All COBOL files were converted for Unicode successfully
    /opt/oracle/psft/pt/tools/setup/pscbl_mf.mak : Compiling PTPCBLAE.cbl ...
    /opt/oracle/psft/pt/tools/setup/pscbl_mf.mak : Compiling PTPCURND.cbl ...
    /opt/oracle/psft/pt/tools/setup/pscbl_mf.mak : Compiling PTPDBTST.cbl ...
    <snipped>
    /opt/oracle/psft/pt/tools/setup/pscbl_mf.mak : Compiling PTPWLGEN.cbl ...
    /opt/oracle/psft/pt/tools/setup/pscbl_mf.mak : All COBOL programs have been successfully compiled.
    /opt/oracle/psft/pt/tools/setup/pscbl_mf.mak : The COBOL executables were copied to /opt/oracle/psft/pt/tools/cblbin
    rm: cannot remove `/opt/oracle/psft/pt/apptools/src/cblunicode/CECCRLP1.cbl': Permission denied
    rm: cannot remove `/opt/oracle/psft/pt/apptools/src/cblunicode/CECCRLUP.cbl': Permission deniedIt looks better, I think the last lines marked with "Permission denied" can be safely be ignored.
    Those files are owned by psadm3 with a read only for other users (sic). But more concern, I'm wondering why it looks into apptools (???) whereas I'm using psadm1 (tools only, COBPATH=/opt/oracle/psft/pt/tools/cblbin).
    Anyway, seems the *.gnt files required to run the COBOLs programs are now in bin :
    [psadm1@psovmfscmfp2 setup]$ ls /opt/oracle/psft/pt/tools/cblbin
    PTPCBLAE.gnt  PTPDTTST.gnt  PTPECOBL.gnt  PTPLOGMS.gnt  PTPRATES.gnt  PTPSQLGS.gnt  PTPTESTU.gnt  PTPTSCNT.gnt  PTPTSLOG.gnt  PTPTSTBL.gnt  PTPTSWHR.gnt
    PTPCURND.gnt  PTPDTWRK.gnt  PTPEFCNV.gnt  PTPMETAS.gnt  PTPRUNID.gnt  PTPSQLRT.gnt  PTPTESTV.gnt  PTPTSEDS.gnt  PTPTSREQ.gnt  PTPTSUPD.gnt  PTPUPPER.gnt
    PTPDBTST.gnt  PTPDYSQL.gnt  PTPERCUR.gnt  PTPNETRT.gnt  PTPSETAD.gnt  PTPSTRFN.gnt  PTPTFLDW.gnt  PTPTSEDT.gnt  PTPTSSET.gnt  PTPTSUSE.gnt  PTPUSTAT.gnt
    PTPDEC31.gnt  PTPECACH.gnt  PTPESLCT.gnt  PTPNTEST.gnt  PTPSHARE.gnt  PTPTEDIT.gnt  PTPTLREC.gnt  PTPTSFLD.gnt  PTPTSTAE.gnt  PTPTSWHE.gnt  PTPWLGEN.gnt
    [psadm1@psovmfscmfp2 setup]$Have a try to link COBOLs :
    [psadm1@psovmfscmfp2 setup]$ ./psrun.mak
    ./psrun.mak - linking PSRUN for oel-5-x86_64, Version 2.6.32-200.13.1.el5uek ...
    ./psrun.mak - Successfully created PSRUN in directory: /opt/oracle/psft/pt/tools/bin
    ./psrun.mak - linking PSRUNRMT for oel-5-x86_64, Version 2.6.32-200.13.1.el5uek ...
    ./psrun.mak - Successfully created PSRUNRMT in directory: /opt/oracle/psft/pt/tools/bin
    [psadm1@psovmfscmfp2 setup]$The err files are empty :
    -rw-r--r-- 1 psadm1 oracle     0 Sep 13 07:26 psrun.err
    -rw-r--r-- 1 psadm1 oracle     0 Sep 13 07:26 psrunrmt.errSo far, so good now. We are able to test again the sample COBOL... until next failure.
    Yes, unfortunately, it fails again. But good thing, the log is not empty now :
    PSRUN: error while loading shared libraries: libcobrts64.so: cannot open shared object file: No such file or directoryThat's probably coming from some missing libraries during the psprcs.cfg configuration. Let's use the same env. variables settings as for psadm1 when compiling COBOLs.
    [psadm2@psovmfscmfp2 appserv]$ export COBDIR=/opt/oracle/psft/pt/cobol/svrexp-51_wp4-64bit
    [psadm2@psovmfscmfp2 appserv]$ export LD_LIBRARY_PATH=$COBDIR/lib:$LD_LIBRARY_PATH
    [psadm2@psovmfscmfp2 appserv]$ export PATH=$COBDIR/bin:$PATH
    [psadm2@psovmfscmfp2 appserv]$ ./psadminReconfigure, restart prcs and re-test... SUCCESSFULLY !!!!!!!!!!!!!!!!!!!!!!!!!
    Log from PTPDBTST process shows :
    SUCCESSFUL DATABASE CONNECTION
    SUCCESSFUL DATABASE DISCONNECTWhat a pain !
    I did not go further, but we could expect the same issue within the Application COBOLs, since the cblbin directory is also empty out there.
    According to psprcs.env, there're two values for COBDIR and the one for the applications cobol is empty :
    [psadm2@psovmfscmfp2 PRCSDOM]$ more psprcsrv.env
    INFORMIXSERVER=192.168.1.149
    COBPATH=/opt/oracle/psft/pt/apptools/cblbin:/opt/oracle/psft/pt/tools/cblbin
    PATH=/opt/oracle/psft/pt/apptools/bin:/opt/oracle/psft/pt/apptools/bin/interfacedrivers::/opt/oracle/psft/pt/cobol/svrexp-51_wp4-64bit/bin:/opt/oracle/psft/pt/tools/appserv:/opt
    /oracle/psft/pt/tools/setup:/opt/oracle/psft/pt/tools/jre/bin:/opt/oracle/psft/pt/bea/tuxedo/bin:.:/opt/oracle/psft/pt/oracle-client/11.2.0.x/bin:/opt/oracle/psft/pt/oracle-clie
    nt/11.2.0.x/perl/bin:/usr/local/bin:/bin:/usr/bin:/opt/oracle/psft/pt/tools/bin:/opt/oracle/psft/pt/tools/bin/sqr/ORA/bin:/opt/oracle/psft/pt/tools/verity/linux/_ilnx21/bin:/hom
    e/psadm2/bin:.
    [psadm2@psovmfscmfp2 PRCSDOM]$ ls /opt/oracle/psft/pt/apptools/cblbin
    [psadm2@psovmfscmfp2 PRCSDOM]$ ls /opt/oracle/psft/pt/tools/cblbin
    PTPCBLAE.gnt  PTPDTTST.gnt  PTPECOBL.gnt  PTPLOGMS.gnt  PTPRATES.gnt  PTPSQLGS.gnt  PTPTESTU.gnt  PTPTSCNT.gnt  PTPTSLOG.gnt  PTPTSTBL.gnt  PTPTSWHR.gnt
    PTPCURND.gnt  PTPDTWRK.gnt  PTPEFCNV.gnt  PTPMETAS.gnt  PTPRUNID.gnt  PTPSQLRT.gnt  PTPTESTV.gnt  PTPTSEDS.gnt  PTPTSREQ.gnt  PTPTSUPD.gnt  PTPUPPER.gnt
    PTPDBTST.gnt  PTPDYSQL.gnt  PTPERCUR.gnt  PTPNETRT.gnt  PTPSETAD.gnt  PTPSTRFN.gnt  PTPTFLDW.gnt  PTPTSEDT.gnt  PTPTSSET.gnt  PTPTSUSE.gnt  PTPUSTAT.gnt
    PTPDEC31.gnt  PTPECACH.gnt  PTPESLCT.gnt  PTPNTEST.gnt  PTPSHARE.gnt  PTPTEDIT.gnt  PTPTLREC.gnt  PTPTSFLD.gnt  PTPTSTAE.gnt  PTPTSWHE.gnt  PTPWLGEN.gnt
    [psadm2@psovmfscmfp2 PRCSDOM]$The directory "/opt/oracle/psft/pt/apptools/cblbin" is owned by psadm3 and hosted on the database server (nfs mounted), so I assume we also need to set proper values for env variables, and compile the COBOLs before being able to use them.
    To resume what I did to make the COBOLs working on this PSOVM :
    1. As root, start LMF (this has to be done only once)
    cd /opt/oracle/psft/pt/cobol/microfocus
    ./mflmman
    2. As psadm1, set proper env. variable and compile (setting env variable has to be done each time you want to compile COBOLs)
    export COBDIR=/opt/oracle/psft/pt/cobol/svrexp-51_wp4-64bit
    export LD_LIBRARY_PATH=$COBDIR/lib:$LD_LIBRARY_PATH
    export PATH=$COBDIR/bin:$PATH
    cd $PS_HOME/setup
    ./pscbl.mak
    ./psrun.mak
    3. As psadm2, set proper env. variable and reconfigure psprcs.cfg, restart, restart (setting env variable has to be done each time you want to start the process scheduler, so probably better to append these in the .bash_profile)
    export COBDIR=/opt/oracle/psft/pt/cobol/svrexp-51_wp4-64bit
    export LD_LIBRARY_PATH=$COBDIR/lib:$LD_LIBRARY_PATH
    export PATH=$COBDIR/bin:$PATH
    cd $PS_HOME/appserv
    ./psadmin
    4. Same as step 2, but with user psadm3.
    HTH,
    Nicolas.
    PS: will it be the same issue on the HCM template delivered at the same time ? To be tested as well.
    PS2: and yes, I tested it twice before posting, result is same.
    Edited by: N Gasparotto on Sep 13, 2012 5:17 PM

    Fortunately, the COBOL issue does not exist on PSOVM HCM9.1 FP2 PT8.52.06 delivered in July 2012 (v3). COBOL are properly compiled (tools and app COBOLs), cblbin is not empty and they run successfully on the first shot.
    Nicolas.

  • Any idea about the pricing of the hardwares for Oracle 10g RAC?

    Hi,
    If I go for 2 nodes RAC using Dell servers and Disk array, any ideas about the prices? (just for the hardwares.)
    Thanks.
    Regards,
    Jason

    It's all about the shared disk(s).
    If you are only ever going to use two (2) nodes a SCSI JBOD solution is cheap. (practical too with ASM as the cluster filesystem / volume manager)
    More than 2 nodes, you step up to certified NFS, iSCSI or FC/AL connected storage. More expensive, faster, more flexible.
    The computers are the cheapest portion of the cost especially with multiple core multiple cpu 64bit linux based servers being so inexpensive.

  • I downloaded the 64bit Itunes, yet as soon as it loads, itunes it not responding. what can I do to fix this?

    I downloaded the 64bit version on itunes, yet when I try to run it itune will not respond. What do I do about this?

    What is the problem? We cant help if you dont tell us what the problem is.
    Do you get an error message? Do you plug the devices in and nothing happens? Is content not syncing?
    Can you elaborate more please?

  • How to create a validation for the project coding mask

    Hi,
    Would just like to ask how to create a validation for the project coding mask wherein the WBS elements hierarchy will be checked against the template saved. For example,
    project coding mask is XXXX-XXXXX-XX-X-X-X-00-X
    mother WBS should be XXXX-XXXXX-X and lower level WBS would be XXXX-XXXXX-XX.
    The validation should not allow a mother WBS to be XXXX-XXXXX-XX.
    How can we go about this?

    Hi Jacquiline Bersamin,
    You can use validation with the combination of the level and the coding mask.
    In the validation:
    Pre requisite: WBS level = 1
    Validation: Prps-posid = prps-posid :1-12:
    Message : Error
    If required you can give the parameters for your detail error message.
    Please let me know if this does not work.
    Thanks
    Regards
    Srinivasan Desingh

  • Need to have more info about the latest patch on Oracle 10g Release 2

    Please this is the follwing answer that was given to explain the purpose of patching the latest release of Oracle 10g release 2.
    We are applying the patch to the 32bit environment to resolve memory errors.
    This patch should be applied to the 64bit environments too as to maintain consistency in our database versions
    Personaly I don't believe the response is accurate to patch the database.
    Does someone can tell me where to find more information about the latest path of Oracle 10g release 2?
    Thanks a lot

    You can find more information about a patchset by going over the readme document associated with the patch. As such, it is not exactly clear what kind of information you are looking for.
    Login into Metalink=>Patches&Updates=>Simple Search=>
    Product or Family=> RDBMS
    Select your OS
    if will your a link to the readme file...
    Hope this helps
    Thanks
    Chandra

  • Suggestions about the best tool for quality check for an ADF application

    Hi All,
    I need a few suggestions about the best tool for quality check in our ADF applicaiton.
    ours is a small size WebCenter Portal application which neither uses any task flows nor consumes any portlets.
    It has many jspx pages that use ADF components like table etc, consume web services using web service clients, and has some java classes.
    We have come across below option to implement the code quality tools.
    1. Jdeveloper inbuilt Staus option in View tab
    2. PMD extension for Jdeveloper
    3. Red Samurai
    Few more suggestions or best practices would be really helpful.
    Thanks,
    Usha

    Some general ADF / Webcenter coding standards -
    http://umeshagarwal24.blogspot.com/2012/06/adf-coding-standards-check-points.html
    You can use JAudit as well as mentioned in the blog.

  • Is it possible to use the JS coding in webdynpro java application!!!

    Hi Experts,
    Is it possible to use the JS coding in webdynpro java application by any means?
    If yes, kindly suggest the procedure or any pointers for the same.
    Thanks in advance.
    Regards,
    Anurag

    Hi,
    I'm not an expert in this matter, but I will post here what I know:
    In NW7 releases (at least 7.01.05) it is possible to run JS, also to capture any WD Event and run your own JS code after that, using IFRAME. I have jQuery running here, it would take some time till you create a "framework" to enable some easy usage. I just want to highlight that is possible, thou I think it's a lot of effort.
    Not sure about CE7.1 it seems iFrame is deprecated. Still, being deprecated should not "block" the usage, thou it's not recommended since this functionality can be removed in next releases.
    I've read that CE7.2 has JS support, and I think you should try having a word with Armin maybe..
    Hope it helps,
    Daniel

  • When we using overflow-x and overflow-y in tbody its not working properly. In the previous version i.e. 3.7.1 its working fine the same coding....Please help me.

    ''Duplicate post, continue here - [https://support.mozilla.com/en-US/questions/828024]''
    when we using overflow-x and overflow-y in tbody its not working properly. In the previous version i.e. 3.7.1 its working fine the same coding....Please help me.

    See:
    *https://developer.mozilla.org/en/Firefox_4_for_developers#Miscellaneous_DOM_changes
    *http://www.cssplay.co.uk/menu/tablescroll.html
    A good place to ask questions and advice about web development is at the mozillaZine Web Development/Standards Evangelism forum.<br />
    The helpers at that forum are more knowledgeable about web development issues.<br />
    You need to register at the mozillaZine forum site in order to post at that forum.<br />
    See http://forums.mozillazine.org/viewforum.php?f=25

  • Fuzzy about the JDBC Vendor implementation

    I was confused about the logic behind in Making the connection object. The implementation is provided by the vendor. Can any one please explain the process on how the entire connection object works and the call back methods works on the Driver's implementation.
    Is RMI, IIOP, Corba any of these technologies are behind this? Seriously don't know!
    I tried to google, yahoo... etc... but all provide info on how to implement the JDBC through the coding. I need to know how the url is parsed/passed over the network and therein the queries and again how it identifies the client from where the query was invoked? Is there an one to one communication channel established between the client and the server? No answers!!!!
    Can anyone please help me out from this fuzzy question (May be the question is silly), but i'm interested in knowing the way the communication between Java and the DB server implementation.
    Thanks,
    invalidParameter

    invalidParameter wrote:
    Yes, I know that implementation are many for the DB Drivers in Java.
    Atleast, I would like to know about the common implementationThere is no common implementation. It is whatever it is.
    Definitely Socket and TCP\IP protocol would be used, Likely yes for type 4.
    But I'm also thinking that definitely the RMI and CORBA concepts would also be used while communicating from client to db server.No. I mean it is possible but I have never seen it. The server would have to support Java natively for it to work as a type 4 driver.
    You might find such a thing in a type 3 driver.
    I would like to know how the flow of the messages/objects occur in the network. But why?
    Anyway. If you want to know there are plenty of open source JDBC drivers. Open one up an look for yourself. MySQL and the JTDS driver come to mind. Both of these use plain java.net.Sockets and then speak the protocol that is native to the database. So the MySQL protocol, or the TDS protocol.
    I still don't know why you are asking this question, if you are having a problem or just want to know. If you are having a problem you should tell us what it is. If you just want to know better to look for yourself at the source I would say.

  • A bit sceptical about the included Dolby Digital in PP CS5. Can someone clarify?

    Hi, I use PP CS5 at work and work mainly with HDV camcorders. Since it's stereo only we don't really want to pay extra for the surcode DD and use the default-included Adobe DD stereo at 448 Kbs.
    Before Premiere we used another NLE which had full DD 5.1 encoder with all the settings available.  So when one customer a bit complained about the low sound we figured it out and turned dialog normalisation to "-31" and the compression to "none".
    I am now wondering what happens with the Adobe Dolby Digital.What possible settings it defaults to? I mean is there a way to find out if it has some sort of included dialogue normalisation or not?
    And by the way, I have another question regarding the GOP settings when rendering to mpeg2 Blu Ray (1080i 50). Encoder says M 3 / N 12 in preset 1440x1080i HQ but M 3 /N 15 in Match Source Attributes HQ (which source is ofcourse 1440x1080i).  Which one do you think is "proper" for Hight Quality?
    Thanks in advance

    You've posted a Windows Server question to the VB.Net developers forum.  I'll see if I can find an appropriate windows server forum for this, or you may wish to ask at a VB6-dedicated forum.
    Note that the requirements for 2012 and 2012R2 list a 64bit processor.
    Reed Kimble - "When you do things right, people won't be sure you've done anything at all"

  • Questions about the T410s

    Hey guys,
    I'm considering buying the T410s because my last laptop was a Dell XPS and the GPU burned down after two years. I am a college student and I use my laptops quite extensively for homework, flash games, TV and movies. And I have a couple of questions about the T410s.
    1. Due to my previous experience with my Dell XPS, I am looking for a more reliable laptop. So would I have to worry about the T410s heating up/burning down or breaking in like two years? 
    2. I am not much of a gamer, but enjoy videos sometimes. Will the Intel graphics card be able to run 'not so intense' games like Starcraft 2?
    3. Also, would the 4gig of RAM be sufficient to run the Windows 7 64bit smoothly or I should choose the 32bit instead? 
    Thanks!!
    Solved!
    Go to Solution.

    1) your Dell XPS used the Nvidia GPU? That won't happen in the new T410s.
    2) the Intel 5700 MHD GPU can handle 1080p easily, but games like Starcraft 2 may only played on low to med settings.
    the Nvidia GPU Optimus GPU option would allow 4 LCD support through the dock, if you ever want to connect that many LCD in the future.
    3) 4 gigs is fine for 64 bit OS.
    Regards,
    Jin Li
    May this year, be the year of 'DO'!
    I am a volunteer, and not a paid staff of Lenovo or Microsoft

  • HT4865 So who believes Apple should be a bit more cautionary about the sharing of iMessages and other content when several members of a family share the same iCloud account and unknowing can audit each other's iMessages, Contacts, and god only knows what

    I think Apple should be a bit more cautionary about iCloud and privacy.  My family shares the same iCloud account as we all enjoy the music we collectively purchase on iTunes; we paid Apple for this feature with some kind of grouped account.  We didn't know, however that this joins our devices so that iMessages, contacts, pictures and just about everything else is shared too.  The unprivate default seems to be to share everything between all devices vs. to allow access by exception or by choice (or by password?).  Sure, when my kids get all my texts I can go figure out why and fix it but that is in my mind the antithesis of privacy and could be quite embarrassing for any family.  I guess it is good for stalking the kids or parents though if they don't know about the partyline approach to privacy.  Maybe a tech solution would be to have the iPhone show somehow the extent of its audience to its user.

    No argument from me about the vagaries of using and sharing Apple IDs.  This can lead to unintended consequences, especially in a family situation.
    If you're sharing the same ID for FaceTime, you might want to go to Settings>FaceTime, tap the ID, sign out, then sign in with separate IDs there too.  Otherwise, you'll end up getting each other's FaceTime calls.
    Also, if you need to migrate everyone's devices to separate iCloud accounts to keep your synced data separated, you can do this by saving any photo stream photos you wish to keep to your camera roll (unless already there) by opening your my photo stream album, tapping Select, tapping the photos, tap the share icon (box with upward facing arrow), then tapping Save to Camera Roll.  If you are syncing notes with iCloud, you'll need to open each of your notes and email them to yourself so you can later copy and paste the text into new notes created in your new account.  Then go to Settings>iCloud, tap Delete Account (which only deletes it from this device, not from iCloud), choose Keep on My iDevice and provide the password to turn off Find My iPhone.  Then sign back in with a different Apple ID to create your new account and choose Merge to upload your data.  Once everyone's devices are on separate accounts, you can go to icloud.com and delete each other's data from your accounts.

  • Is there another way of getting apps from the appstore without putting your credit card number in, ive heard about the itunes gift card thing can anybody just give me more info about that and how i can buy free things free things from the appstorepls help

    Is there another way of getting apps from the appstore without putting your credit card number in, ive heard about the itunes gift card thing can anybody just give me more info about that and how i can buy free things free things from the appstore...pls help as im only a teenager and have no credit credit and my parents dont trust me with theres and they dont care about the fact that you can set up a password/.... PLEASE SOMEONE HELP I WILL BE SO GRATEFUL... And i would really like to get the iphone 4 but if there is no way of etting apps without your credit number then i would have to get a samsung galaxy s3 maybe ...

    You can set up an Apple ID without a credit card.
    Create iTunes Store account without credit card - Support - Apple - http://support.apple.com/kb/ht2534

Maybe you are looking for

  • Bad performance when open a bi publisher report in excel

    We use bi publisher(xml publisher) to create a customized report. For a small report, user like it very much. But for a bigger report, users complain about the performance when they open the file. I know it is not a native excel file, that may cause

  • Purchase order - error in deleted items

    Hi all, I have the following situation: when changing an existent purchase order, if I have a deleted item with an error, the system doesn't allow me to save the purchase order if I don't correct the error in the deleted item. I have a requirement fo

  • How to attach a smartform in BOR object

    Hi, I want to know how to attach a z smartform to BOR object? I tried to search out here but not able to have the result. Kindly provide the guidelines for it.... Regards, Rickky

  • When I reboot, it hangs on fsck, although disk reports no errors.

    I have a 2011 iMac running lion. When I reboot, it hangs on fsck. If I boot in single user mode, fsck -fy runs with no errors. If I boot from the recovery disk and run disk utility, it also yeilds no errors. This only happens when I reboot normally.

  • Help with a valuelist

    Hi, I posted yesterday asking a question about deleting some stuff from my DB and somone suggested I use a value list, so basicaly Im getting all the stock number and putting them in a value list, then running a delete statement like this where NOT I