Form 6i on UNIX Environment

We have no client server environment but UNIX environment.
We are storing Form 3.0 application as well as Oracle 7.0 on Sun Solaris. And we are running Form 3.0 application on dump terminal.
Now we wish to migrate Form 3.0 application to Forms 6i and Oracle 7.0 to Oracle 8i.
Is it possible to deploy Form 6i application on Sun Solaris alongwith Oracle 8i database and run it on dumb terminal ?
Any idea would be highly appreciated.
Atul

Create a form level trigger, ON-MESSAGE
Trap the message code, that way you can
suppress the message.
Sample ON_MESSAGE trigger:
declare
v_message_code number := message_code;
v_message_text varchar2(200) := substr(message_text,1,200);
v_message_type varchar2(3) := substr(message_type,1,3);
v_alert_button number;
begin
if v_message_code = 40400 then
Message('Record saved.');
elsif
v_message_code = 40000 then
null;
end if;
null

Similar Messages

  • Compile Forms on a Unix Machine (check for errors in any of the files)

    Hello there,
    Our organization is wrapping up the development phase and beginning our testing phase. I am responsible for the Configuration Management of our forms, menus, libraries, and reports.
    We develop our code in a Windows environment (including compilation check), then we FTP the source files to a unix environment, then we compile the forms on a unix environment. We have this process down pretty well (for a couple of files at a time).
    Now we would like to automate our "build" procedure. This process involves the following tasks.
    1.) Extract all the source files from our vault software (PVCS)
    2.) FTP all the source files to the UNIX environment
    3.) Compile all the source files on the UNIX environment
    4.) Test the Software on the UNIX application server
    We have all of the above working (if no compilation errors occur). I am not sure how to check if any of the files errored during compilation. How can I check to see if any errors occurred during the UNIX source code compilation? I know how to do this manually (look at the output and see if the module compiled), but we are compiling approximately 200 files during our release build process. Maybe some sort of send the compilation results to an output file then search for any files that contain "not generated" (I assume if an error is generated, the text will be displayed to the user).
    Is there an easy way to check if any of the forms, menus, libraries, or reports errored during the "automatic" compilation process?
    Thanks,
    Mike

    I use this script to generate .fmx files from a zipped .fmb file. This approach allows for much faster FTP because our developers are not co-located with our servers.
    In addition, the tail command echoes the final line of the .err as either...
    Created form file <filename.fmx>
    for success or
    Compilation errors have occurred.
    for failure.
    # SCRIPT: zipgen
    # REV: 1.0.d - Used for developement
    # DATE: 070515
    # PLATFORM: Not Platform Dependent
    # PURPOSE: This script takes a single filename variable (w/o extension)
    # and it unzips the file then deletes any existing compiled
    # form of that name and finally attempts to generate a new fmx
    # of the variable name.
    # Assign Variables
    v_log=$1.err
    v_zip=$1.zip
    v_fmx=$1.fmx
    v_fmb=$1.fmb
    # Unzip File: Overwriting any existing file(s)
    unzip -q -o $1.zip
    # Cleanup ZIP files
    rm $1.zip
    # Delete existing FMX
    rm $1.fmx
    # Generate FMB
    gen $1
    # Display results
    tail -1 $1.err
    # End of script

  • How to compile form orginal file(*.fmb) in UNIX environment

    These days, i encounter a problem, i create a form application in Windows2000 or WindowsXP environment, then i compile this .fmb file to .fmx, then i transport this .fmx file to Unix environment which is our Application Server, the Oracle Application Server is in this Unix environment, i put this file in the directory which is directed in the Forms_Path variable, however, when i started to run this application by entering a valid url, the message shows that this fmx file is not runtime file, someone told me that i should recompile the orginal file under unix environment, so i transport the orginal file(.fmb) to unix environment, then i want to use the f90genm tool to compile the .fmb file, however, it shows that this command can not execute, it shows that can not open a lib file under:/project/.../../..,however, this directory does not exist at all, what case this error? i also use f90gen command, it shows: can not execute/finish creation, i want to know, how to use the two commands and what parameters i should set before using the commands? thanks

    If you are talking about forms 10g then here is the method
    1) run x windows interface on your machine
    2) login to linux server
    $ export DISPLAY=<IP address of machine>:0.0
    $ frmcmp.sh module_type=form module=myform.fmb userid=user/password@connectstring compile_all=yes
    Regards
    Anuj

  • How do I use a UNIX environment variable for the path of a file name

    We are running Forms 6i over the web. The forms server runs on a UNIX (HP-UX) machine.
    I want to read the contents of a file, which is simple enough, using the TEXT_IO package. However, I want to reference a UNIX environment variable that specifies the file path i.e
    PROCEDURE get_file IS
    in_file Text_IO.File_Type;
    linebuf VARCHAR2(1800);
    filename VARCHAR2(200);
    BEGIN
    filename:= '$LOG_DIR/RCAS181.log';
    in_file := Text_IO.Fopen(filename, 'r');
    .....other stuff
    Notice the filename string references my unix env variable '$LOG_DIR'. However, this doesnt work. If I put the full pathname it works fine.
    Any suggestions ?

    Have a look at TOOL_ENV.GETVAR()

  • Compile all forms 6i in Unix

    i am able to compile one form at a time but how do I compile all forms, for some reason I created a new form, ftp it, then compiled it , it runs in Oracle Apps environment however all other forms are inactive, I believe I have to recompile all forms (am i right?) but I dont know how to do this , here is the code I have to compile one form
    $ ls -l /u01/app/appl/au/11.5.0/forms/US/BGQTRAIN.fmb
    $cp /u01/app/appl/au/11.5.0/forms/US/BGQTRAIN.fmb /u01/app/appl/au/11.5.0/forms/US/BGQTRAIN.fmb_070415
    $ ls -l /u01/app/appl/xxbsi/11.5.0/forms/US/BGQTRAIN.fmx
    $ cp /u01/app/appl/xxbsi/11.5.0/forms/US/BGQTRAIN.fmx /u01/app/appl/xxbsi/11.5.0/forms/US/BGQTRAIN.fmx_070415
    $ put the form source onto this host in the following directory
    $ cd /u01/app/appl/au/11.5.0/forms/US
    $ $ORACLE_HOME/bin/f60gen module=/u01/app/appl/au/11.5.0/forms/US/BGQTRAIN.fmb userid=apps/dbaapps output_file=/u01/app/appl/xxbsi/11.5.0/forms/US/BGQTRAIN.fmx module_type=form batch=yes compile_all=special
    $ more BGQTRAIN.err
    <no errors found>

    Try out
    Forms/Reports 6i
    #UNIX Forms Compile
    #compile_forms.sh
    for i in `ls *.fmb`
    do
    echo Compiling Form $i ....
    f60genm userid=scott/tiger@bs817 batch=yes module=$i module_type=form
    compile_all=yes window_state=minimize
    done

  • Call Oracle Forms 6i from UNIX

    Hi,
    I am new to Oracle forms and I have some querries -
    I have a form created on windows environment (.fmb/.fmx). This form accepts a parameter in a text field and calls another Oracle Report. Now my questions are:
    1. If windows forms are not compatible with UNIX environment, then how these are converted to be compatible with UNIX/Linux (without re-creating them on different platform)?
    2. Can I call the same form from UNIX shell with input as a shell script input?
    3. And if answer to the second query is no, then can I invoke Web deplyed froms (on application server) using shell? and how..
    I w'd appreciate your help!
    Regards.

    hello
    please provide forms6i (on web?,client server?),OS version.
    im Assumed your using character mode.
    user9040817 wrote:
    Hi,
    I am new to Oracle forms and I have some querries -
    I have a form created on windows environment (.fmb/.fmx). This form accepts a parameter in a text field and calls another Oracle Report. Now my questions are:
    1. If windows forms are not compatible with UNIX environment, then how these are converted to be compatible with UNIX/Linux (without re-creating them on different platform)?you need to generate fmx on server side. this is character mode. use : f60gen yourforms.fmb username/password@tns > a
    yes you can call it forms use : f60run forms.fmx username/password@tns
    report : rwrun60c yourreportname.rdf username/password@tns destype=file desname=a.lis
    but always use HOST command inside the forms, also to send to the printer name that is configured to your server.
    host ('rwrun60c /dsk8/ciame/rcption/wagih/reportname xxx/xxxn@xxx batch=yes destype=file desname=$user_output/'||to_char(:blk1.office_emp_no)||'.lis tty_office_no='||to_char(:blk1.office_no)||' tty_emp_no='||to_char(:blk1.office_emp_no)||' tty_rcpt_no='||to_char(:blk2.rcpt_mst_receipt_no)||' tty_rpt_type=0;
    lp -d $lp01 -c $user_output/'||to_char(:blk1.office_emp_no)||'.lis',NO_PROMPT);
    and if you call another form then you can use open_form,call_form,,... inside the form. Be sure you add in the library your wroking folder.
    edit your user profile .
    Study this as a case : this is the profile of our mis user in our old character based system.
    SunOS 5.9
    |-----------------------------------------------------------------|
    | This system is for the use of authorized users only. |
    | Individuals using this computer system without authority, or in |
    | excess of their authority, are subject to having all of their |
    | activities on this system monitored and recorded by system |
    | personnel. |
    | |
    | In the course of monitoring individuals improperly using this |
    | system, or in the course of system maintenance, the activities |
    | of authorized users may also be monitored. |
    | |
    | Anyone using this system expressly consents to such monitoring |
    | and is advised that if such monitoring reveals possible |
    | evidence of criminal activity, system personnel may provide the |
    | evidence of such monitoring to law enforcement officials. |
    |-----------------------------------------------------------------|
    login: ciame
    Password:
    Last login: Tue Mar 6 09:39:32 from 0.0.0.0
    Sun Microsystems Inc. SunOS 5.9 Generic May 2002
    $ bash
    bash-2.05$ cd mis
    bash-2.05$ cat .profile
    # This is the default standard profile provided to a user.
    # They are expected to edit it to meet their own needs.
    #MAIL=/usr/mail/${LOGNAME:?}
    DISPLAY=8.4.2.5:0.0;export DISPLAY
    NLS_LANG=AMERICAN_AMERICA.AR8ISO8859P6; export NLS_LANG
    NLS_DATE_FORMAT=dd/mm/yyyy;export NLS_DATE_FORMAT
    TK6_PRINTER=alp35;export TK6_PRINTER
    EDITOR=/usr/bin/vi;export EDITOR
    ORACLE_BASE=/oracle; export ORACLE_BASE
    ORACLE_HOME=$ORACLE_BASE/product/dev6i; export ORACLE_HOME
    TNS_ADMIN=$ORACLE_HOME/network/admin; export TNS_ADMIN
    HOME=$ORACLE_HOME/bin;export HOME
    ORACLE_SID=JMH; export ORACLE_SID
    ORACLE_TERM=vt220; export ORACLE_TERM
    FORMS60_TERMINAL=$ORACLE_HOME/bin; export FORMS60_TERMINAL
    LD_LIBRARY_PATH=LD_LIBRARY_PATH:$ORACLE_HOME/bin:$ORACLE_HOME/lib:/usr/dt/lib:/u
    sr/openwin/lib:/usr/lib:$ORACLE_HOME/network/jre11/lib/sparc/native_threads; exp
    ort LD_LIBRARY_PATH
    SHLIB_PATH=$ORACLE_HOME/bin:/usr/dt/lib:/usr/openwin/lib:/usr/lib:$ORACLE_HOME/n
    etwork/jre11/lib/sparc/native_threads; export SHLIB_PATH
    PATH=/usr/ccs/bin:$ORACLE_HOME/bin:/usr/bin:/usr/openwin/bin/; export PATH
    user_output=/user_account/mis;export user_output
    alias ls='ls -aF'
    umask=022
    lp01=alp1;export lp01
    lp02=alp1;export lp02
    lp03=alp1;export lp03
    lp04=alp1;export lp04
    lp05=alp1;export lp05
    lp06=alp1;export lp06
    lp07=alp1;export lp07
    lp08=alp1;export lp08
    lp09=alp1;export lp09
    lp10=ps401;export lp10
    lpc=alp1;export lpc
    cd /dsk8/ciame
    f60run mis_menu xxxx/xxx@xxx
    exit
    Edited by: ck on Mar 5, 2012 11:05 PM
    Edited by: ck on Mar 5, 2012 11:08 PM

  • How to move Oracle Forms to an Intranet Environment

    This will outline the processes as we understand them to get an
    Oracle Form, created with Developer 2000 to process in a Web
    environment.
    1. Create the Oracle Form , this has been done on a NT machine.
    2. Create Oracle Web environment on the Unix server, this has
    been done.
    3. Process the Oracle Form, created on the NT machine through
    the Forms Server, on the Unix Machine, to create the HTML
    format forms.
    Question: What steps are need to get the Form to run as HTML?
    4. Access the Oracle Forms in the Web environment, this should
    be fairly easy, when number 3 above had been completed.
    null

    Hi,
    Can you please explain more regarding to move setup from DEV to PROD instance.The steps are documented in the iSetup manual, so have you gone through the documentation?
    Also we would install PROD with multi tier nodes, and HA cluster. So in that case what would be the change to move the setups from DEV to PROD, as DEV is single node TEST APPS 12 installation.iSetup is helpful in moving the functional setup between the two instances. If you want to create an identical copy of your DEV instance to PROD instance (provided that both instances contain no data), then you can use "Rapid Clone" -- See (Note: 799735.1 - Rapid Clone Documentation Resources, Release 11i and 12).
    Regards,
    Hussein

  • Pass a Value to Variable from the unix environment in ODI (ELT)

    Hi
    i am very new to ODI environment.
    i want know how to pass a value to variables in oracle data integrator from unix environment.
    Example:
    Variable name : Sales
    for variable name sales i want to pass the value from unix environment.
    Regards,
    Raj
    Edited by: user11137587 on Aug 19, 2009 6:26 AM

    Work Around !
    You can execute OS commands using Jython script. Probably you need to flush your enviornment variables value into a file using jython script and then read those value into ODI variable from the file.
    BUt may I know why you want to read environment variable vaules in ODI, Dont you think this will make your application less portable
    Regards,
    Amit

  • Oracle in Unix environment...suggest way to start....

    Hi,
    Still i was a pl/sql programmer in windows platform. Now a sudden requirement to work pl/sql in unix environment. I very much new to unix. I dont know how to proceed. Please suggest start point where should i start...please help me
    thanks
    asp

    Thanks sharma,
    'You are welcome.'>
    U have been a good experienced person in this forums
    'I do not want to take this comment. In fact, I would not deserve it'
    'My experience is just 3 years in the S/W industry and full-time Oracle is '
    ' just less than that. But I deliberately wanted to participate actively in'
    ' this forum to gain knowledge from the other GURUs. But anyway thanks'
    ' your responses to a member in the forum.'
    whether i have to learn any unix
    specific os commands or no need of unix os command
    knowledge.
    'This depends on your work. If it purely for Oracle, then you do not have to'Cheers
    Sarma.

  • SSO Configuration in UNIX Environment

    Hi,
    We are planning to impliment SSO between 2004s Portal with R/3, BW, and host of other non SAP application which supports SSO. All the applications are hosted in UNIX environment.
    Could anyone help us in understanding the pros and cons of having SSO in unix envrionment. Also you could give us any document (other than help.sap.com) which guides us in configuring will be of great help.
    Thanks
    Vivek Raj.

    Hi,
    There are no pros and cons for <b>SSO on Unix</b>. Needless to mention, the pros and cons of different operating systems supported by SAP.
    The steps involved to configure SSO remains the same for any of the SAP backend systems:
    1) Create a system on Portal and give a system alias to it.
    2) Download the verify.der file from Portal (System Administration -> System Configuration -> Keystore Administration)
    3) Log on to the backend SAP system.
    4) Use transaction STRUSTSSO2 and import the Portal certifcate (verify.der) to the SAP R3 or SAP BW or SAP CRM or for that matter any SAP system with ABAP stack.
    5) Give the values for EP system ID, client and language. Refer to this link : http://help.sap.com/saphelp_nw2004s/helpdata/en/78/f1a8490e7011d6999500508b6b8a93/content.htm
    6) Configure the backend SAP systems to accept and verify the logon ticket. Use RZ10 and set the parameters : login/accept_sso2_ticket=1 and login/create_sso2_ticket=1
    7) Restart your R3 or BW system.
    For non-SAP systems, can you just let me know which systems are you referring to ?
    Incase you need a document for SSO configuration, do send me your email address. You can also find documents in SDN Library.
    Regards,
    Sunil

  • Java program in UNIX environment

    Hi All,
    Could you please help me with how to configure a java program in UNIX environment..
    that is to schedule it to run every day from cron..
    I need to know what are the basic things we require to achieve the above..
    I guess it is:
    A script
    A config file containing db login details
    oher than this I don?t know what is required plz help

    You can execute any jar or class file with cron. If you are using a jar you might use something like java -jar /usr/bin/myapp.jar .
    I use Linux, this is my area of expertise.
    Here is an online guide "for complete newbies" on how to set up cron.
    http://www.unixgeeks.org/security/newbie/unix/cron-1.html
    Hope it helps.

  • Exception not throwing to action class in Unix environment

    Hi
    We are using Weblogic Server 9.2.3.0.
    One of our EJB is not throwing exception to calling Action class in Unix environment. Its working fine in Windows.
    Somehow the EJB is swallowing the exception.
    any idea? I suspect it may be environmental issue?
    thank you

    Thanx for your reply.. I just found a solution and would like to share that with you. There are some default request parameters passed by the portal to the action class. "strutsAction" is one of them. If you print this parameters, you will see that it contains the complete url of your action. Now you can use String manipulation to extract the value of the parameters.
    I know its a crude solution. But it works fine.
    Best regards,
    Omer

  • Monitor process on windows or unix environment

    Could we monitor a process using windows or unix environment using OEM?

    Look at the Program Resource Utilization, Program's Max/Min Process Count metrics, which are documented here, to see if they met your need.
    http://docs.oracle.com/cd/E11857_01/em.111/e17018/host.htm#BABIBAHD
    Regards,
    - Loc

  • Pro*Cobol in VMS to Unix environment

    Please let me know if I can use my current Pro*Cobol programs in
    Unix environment. We are planning to convert our platform to
    Unix. Presently I am using DCL on VMS. Thanks in advance for all
    your answers
    null

    HI
    It will still support Cobol in order to cater to the clients who are still in mainframe systems and those clients who have their legacy systems in Cobol.
    Regards,
    Bibs

  • How to create odbc (dsn) connection for OBIEE AND INFOR in unix environment

    Hi,
    we are establishing OBIA in Unix environment we set all the things fine but we are getting problem how to create ODBC connection
    for INFORMATICA AND OBIEE. I searched some blogs thats telling there is a ODBC.INI file we need to configure.
    but i am not getting clear idea to give parameters and it will not showing any TNSNAME ..........etc
    please any body give clear idea about how to create ODBC connection and LOCATION of that file AND parameter which i need to give.
    Thanks,
    charan....

    Hi Dpka,
    yah i already checked that one but i have not find out any parameter for TNS NAME information.
    is OBIEE connected to ORACLE DATA BASE without giving TNS information?............in UNIX OPERATING SYSTEM.
    pls give me the clear idea abt how to connect OBIEE, INFORMATICA to ORACLE DATA BASE IN UNIX ENVRNMENT
    thanks,
    charan.

Maybe you are looking for

  • SDM Deployment fails - Dependency caf/core/ear missing

    crosspost from: SDM Deployment fails - Dependency caf/core/ear missing deploying a DC from NWDS into SDM the following Exception is thrown: 07.01.2008 16:20:38 /userOut/daView_category (eclipse.UserOutLocation) [ThreadDeploy Thread,5,main] INFO: 002A

  • Print Check-Copy (Non-Negotiable) after every check print

    We are implementing Std. R12.0.6 AP Check Printing. I've designed standard BI Publisher RTF to print the Check and Check-Copy without any issue. My RTF Template has Check design on first page and Check-Copy (Non-Negotiable) on second page of RTF. Std

  • What is the best way to apply a template to the rebranded partner site?

    My partner site got severely jacked up when I was brand new to BC. Since then I've overwritten it in Muse while attempting to "try' it as well. Apparently does some "cleaning" meaning the template files I once had access to in the templates folder go

  • 5.1 audio from iMac using a mini toslink adapter?

    Can I get 5.1 audio from mid 2011 27" iMac (ultra build I think it was called) using a 'mini Toslink adapter'? If so does OS X Yosemite (10.10.1) decode Dolby Digital and/or DTS in iTunes12 ? I've had this computer since its release and always wonder

  • Transaction for SKAT table

    If we know the table name is there an easy way to find out what transaction is used to maintain it? For e.g. VBAK is maintained by VA01. What about SKAT? I am sure someone here knows what table SKAT is maintained using but everynow and then I find my