Convert fmb to fmt in command line in 10g

Would anybody out there give me a hint on how to convert fmb file to fmt in a command line in forms 10g ? Which command can we use to start the form converter that we can get from file -> convert on the form developer ? either in
Windows or Linux environment.
Thank you in advance
-ian

Ian,
this is what you are looking for
Forms/Reports 9.0.X, 10.x
#UNIX Forms Compile
#compile_forms.sh
for i in `ls *.fmb`
do
echo Compiling Form $i ....
f90genm userid=scott/tiger@bs817 batch=yes module=$i module_type=form
    compile_all=yes window_state=minimize
done
( For 10gR1 = forms 9.0.4.x, you can use f90gen also)
( For 10gR2 = forms 10.x, you can use frmcmp.sh or frmcmp_batch.sh)
#UNIX COMPILE REPORTS
#compile_rep.sh
for i  in `ls  *.rdf`
do
echo Compiling Report $i  ...
rwconverter.sh userid=scott/tiger@bs817 batch=yes source=$i 
    stype=rdffile dtype=repfile overwrite=yes compile_all=yes
done
Note: If you dont want to use the X-Display then you can use f60gen,f90gen and frmcmp_batch.sh
for compiling Forms. Make sure TERM, ORACLE_TERM and NLS_LANG values are properly set.
ADDITIONAL:
You can use the information above to compile libraries or menues or
convert files from binary to text and text to binary too. eg:
for %%f in (*.pll) do ifcmp60 userid=user/pwd@db module=%%f module_type=LIBRARY batch=yes window_state=minimize compile_all=yes
for %%f in (*.mmb) do ifcmp60 userid=user/pwd@db module=%%f module_type=MENU batch=yes window_state=minimize compile_all=yes
for %%f in (*.mmb) do ifcmp60 userid=user/pwd@db module=%%f module_type=FORM batch=yes window_state=minimize parse=YES
for %%f in (*.mmb) do ifcmp60 userid=user/pwd@db module=%%f module_type=FORM batch=yes window_state=minimize script=YES
(and similar loops for Unix).

Similar Messages

  • Memory fault error while  converting .fmb to .fmt

    Hi all,
    When I tried to convert .fmb file to .fmt(text format) file in unix its giving me Memory fault error.
    Command I am using is
    f60gen module=INTG_TEST.fmb userid=apps/xxxxxx@DB1 forms_doc=yes batch=yes
    Where as from form builder I can do it without any error Administration->Convert->
    Can anybody please let me know ?
    Thanks,
    Dev

    Thanks... But when i use parse=yes its creating .fmx
    able to generate .fmt for some .fmbs with forms_doc=yes its not working for some .fmbs
    I am using forms 6.0.8.11.3 with linux 2.6.9-78.0.13.0.1 ab
    Pls. let me know if there is any other way to generate .fmt
    Thanks

  • Junk characters in fmt file after converting fmb to fmt

    Hi,
    I have a very big form (in forms 6i). I want to search for a specific table and that table has been used in many pl/sql scripts and triggers. I converted that fmb to fmt thru forms builder using Administration - convert.
    Now when I open that fmt in wordpad, I see all the scripts in junk characters.
    Any advise how I can get a good fmt file.
    Pls suggest soon.
    Thanks

    Hi ,
    What happens when you try to change the fonts in the wordpad...?????
    Try , as a second option , to convert your fmb file to .xml file using the frmf2xml [options] file1 [file2...] format....
    Regards,
    Simon

  • Command Line Discoverer 10g

    Hello Forum Friends,
    Long time no comms!! Hope all the regulars are keeping well.
    Question, the majority of my experiences with Discoverer have come from version 4, including admin and desktop. I've recently transferred to a new job, and although they have access to 4, some of their customers only have 10g.
    Could someone tell me if the functionallity of uising command line prompts such as;
    DIS51USR.EXE /connect user_name/password@database /apps_user /apps_responsibility "Resp_name"
    /opendb "user_name:workbook_name" /sheet ALL
    is still available in version 10g? I've hit a few stumbling blocks today, and a few errors, i think could be related to the <workbook name> syntax, but have also read on the forums that 10 g (is this also called plus?) does not really have the same functionality when it comes to creating batch files etc?
    Many thanks
    Simon

    Good Morning.
    After reading through a few bits and pieces on the OTN, i've now attempted to use the following command line syntax but to no avail;
    C:\oracle\BIToolsHome_1\bin\dis51usr.exe /connect sysadmin/password@db/apps_user/opendb
    I reveive the error "Failed to Connect to database - ORA - 12154: TNS: could not resolve the connect identifier specified" , okay so this tells me there is an issue with my tns names connection, but upon review this all seems fine, i can connect using the same "DB name" in the syntax above logging in manually, i'm connecting to both standard and applications euls, there are no entries in the GYWID or the Foundation name within tools options conections in Desktop, but this makes no difference to my manual connection, in fact when i do add the standard entries of;
    Gateway User ID: applsyspub/pub
    Foundation Name: apps
    i can not connect manually.
    Any suggestions would be great, many thanks in advance.
    Simon
    Discoverer Desktop Version 10.1.2.55.26

  • Compiling rdf via command line (rwbuilder 10g)

    Hi all,
    Is it possible to compile a report via commant line?
    Report builfder version 9.0.4.0.33
    Thanks
    Vismantas

    I tried using rwconverter:
    rwconverter userid=user/pwd@db batch=yes source=%%f stype=rdffile dtype=jspfile overwrite=yes logfile=log.txt
    The problem is
    In some cases, rwconverter automatically compiles the report's PL/SQL as part of the conversion process. Provided that your conversion destination is not a .rex file, PL/SQL is automatically compiled under the following conditions: converting to a .rep file. If there are compile errors, rwconverter displays an error message and the .rep file is not created. using a .rex file as the source. If there are compile errors, rwconverter displays a warning, but the conversion continues. using a report created on another platform than the source. If there are compile errors, rwconverter displays a warning, but the conversion continues
    So if i use rwconverter and convert my report from rdf to rdf, as i need only to compile rdf, rwconverter does not do the job.
    I have found a work around:
    First to convert rdf to jsp and then convert that jsp back to rdf. Then rdf gets compiled but i do not like it as in some cases rdf becomes crashed.

  • Convert script for fmb to fmt

    Hi ,
    I'm trying to convert FMB to FMT using a batch file.
    here the scipt
    for %%F in (*.fmb) do start /w ifcmp90 module=%%F userid=scott/tiger@orcl module_type=form batch=yes upgrade=yes upgrade_plsql=yes script=yes
    when executting....error
    FRM-10044: Cannot create file.
    Please help.

    It is likely that the modules cannot be found. Also, some of the parameters you are passing are not likely necessary. For example, upgrade and upgrade_plsql are not needed. These only apply if you are compiling an old Forms modules to newer. You can find the complete details in the online help.
    Try this in the batch, but be sure to change ORACLE_HOME and FORMS90_PATH and USERID to yours (no other changes should be needed):
      SET ORACLE_HOME=C:\oracle10g\iDS904
      SET FORMS90_PATH=C:\FormsReports904
      SET PATH=%ORACLE_HOME%\bin;%PATH%
      FOR %%F in (%FORMS90_PATH%\*.fmb) DO start /w frmcmp.exe batch=yes module_type=form userid=scott/tiger@orcl module=%%F script=yes

  • Oracle forms .fmb to .fmt

    From Forms Builder I can convert .fmb to .fmt manually, what about if I have lots of forms and I want to automate that is there a tool for that , I'll do converting from .rdf to rex

    You can use the Forms compiler - command line tool... located in $ORACLE_HOME/bin/frmcmp
    You can create a .bat or .sh script to loop thru all .fmb in the directory and then generate the fmt files or a script with multiple entries to call the frmcmp.exe.
    i.e.
    C:\Oracle\IDS10gR2\BIN\frmcmp.exe module=tsdr9010.fmb userid=***/***@*** forms_doc=yes
    C:\Oracle\IDS10gR2\BIN\frmcmp.exe module=tsdr9020.fmb userid=***/***@*** forms_doc=yes

  • Compiling Forms & reports 9i in command line

    Hi All:
    Can we compile forms and reports developed in 9i using the command line rather than opening a form and compiling it. If it possible to compile whole of the .fmb file in a command line.
    Any syntax or the documentation on this issue would be very helpful
    Thanks

    I recommend you to post this topic in Form Forum
    Forms
    Joel P�rez

  • Faxing to a Bonjour modem from the command line

    I am trying to send a fax through an internal modem (on a G5 iMac) shared through Bonjour. I want to be able to use the command line (Terminal). The "fax" command works from the G5 iMac. But I can't seem to be able to fax from other computers sharing this modem.
    I have tried to play with the fax, efax, lp, and lpr commands but can't seem to be able to get it right. How do I specify the modem in the command line for efax? Where is it under /dev?
    When I use lp, I can't seem to be able to specify the phone number to dial, though the file is spooled correctly to the modem. The "-o phone=<number>" option did not work.
    Can anyone help?

    Okay, so I finally figured it out. It can be done using lp command but instead of specifying the shared modem (fax) as a shared device with its host name (e.g. "Internal Modem @ Mac_name" which converts to "Internalmodem___Macname" on the command line), one has to do it as this:
    lp -d Internal_Modem -h Mac_name.local -o phone=<number> fileToFax
    This way any older mac on the network can be a fax server and one can dispense with the problematic USB modems from Apple. The command can be passed to the Terminal by AppleScript using "do shell script 'lp...'"
    I am using PDFpen in my paperless office and since it is scriptable, I can fax right from the application using this command thru AppleScript.
    Hope this helps someone.

  • Command line way of converting FMT to FMB

    Is there a way to convert FMTs to FMBs from the command line?
    Thanks,
    ah

    This doesn't work! First of all you don't specify the module(s) to be converted anywhere in your statement. Second you specify the output file to be *.fmt, which seems more to be the input.
    Even when changing the command with these changes, the command doesn't work. So the question remains: is it possible to convert FMT to FMB from the command line (like it was using f45gen32 for Forms 4.5)?
    Help greatly appreciated (needed for big project).
    Thanks,
    Marcel.
    Try this command :
    ifcmp60 userid=abc/abc@xyz Script=YES Output_File="c:\test\forms6\*.fmt" Batch=YES Help=NO Logon=NO Module_Access=FILE Options_Screen=NO Statistics=NO
    Abhijith Unnikannan
    Oracle Support Services

  • Converting Forms4.5 (*.fmt) to Forms6i (*.fmb)

    I have over 200 forms 4.5 that are in fmt format. I need to convert them to forms 6i in fmb format. I don't want to convert each one manually. Is there a way to convert them in a batch?
    Trinh

    In forms 6i you can do this by using the command line version of the form's compiler. The command line would look as follows:
    ifcmp60 userid=user/passwd module=forms_file.fmt Batch=YES Help=NO Logon=YES Module_Access=FILE Options_Screen=NO Statistics=NO window_state=Minimize Compile_all=YES Parse=YES
    You will need to write a command script (a .bat for windows or shell script for unix) to processes each of your files.
    null

  • How to convert XPS file to a PDF one via Adobe Acrobat XI Pro with command line?

    Hello,
    How to convert XPS file to a PDF one via Adobe Acrobat XI Pro with command line?

    It is not good. If I need to export some hundred of separate *.XPS files to hundred separate *.PDF files, I need to do this manually with each file. It is stone age.

  • How to convert a word file into PDF in command line ?

    Hi,
    I want to convert a word (excel, powerpoint, ...) into a PDF using a windows command line.
    The command :
    c:\> acrodist toto.ps
    is working file and the output is a PDF file (toto.pdf)
    But if i try with a MS office word file it is not working
    c:\> acrodist toto.doc
    The output in the console is:
    %%[ Error: undefined; OffendingCommand: ÐÏࡱá ]%%
    %%[ Flushing: rest of job (to end-of-file) will be ignored ]%%
    %%[ Warning: PostScript error. No PDF file produced. ] %%
    If i do a right clic on the file with the mouse and select in the context menu the option convert to PDF it is working fine :-\
    How can i convert that kind of file with a command line ?
    Thanks for your help
    Xav

    >But, from the windows explorer, if i do a right clic on the word document, with the context menu, i can directly convert to PDF
    This is equivalent to using the PDFMaker facility in Word - that is,
    the Acrobat button. Which is also the same thing that is done when you
    use File > Create PDF > From File in Acrobat.
    What it does is print to a PS file *and* do a lot of additional
    processing to write stuff about links, tags etc. into the PS file.
    >(no tmp PS file is used, cause the links are still working).
    This isn't true, but it's certainly the case that you won't get links.
    There seems to be no API, via any mechanism, still less the "obsolete"
    (Microsoft's view) command line, to use PDFMaker from your program.
    Aandi Inston

  • Latest DNG converter not working in command-line mode

    Today I downloaded Adobe's latest DNG converter. It is failing with both .NEF and .CR2 files when run in command-line mode. It does appear to work in GUI mode. The switches+arguments I've used for my tests are:
    -u -e -p1 filename.CR2
    (or filename.NEF)
    With an older (CS2) version of the converter, the above arguments produce a .DNG output file as expected (with .CR2 files; I didn't try it with D3 .NEF files; surely that older version doesn't support the D3's format).
    With the very latest version, running the program with the above command produces no output. There's no error message.
    The 'readme' file that comes with the converter doesn't include any information about command-line usage, but I did find a PDF file covering this (adobe.com/products/dng/pdfs/dng_commandline.pdf). The switches+arguments shown in the PDF file appear to be exactly the ones I used in the past.
    I'm sure I'll need to use the most recent version to convert D3 RAW files. Is there something wrong with how I'm specifying its command-line switches/arguments?

    It struck me silly that I've been running tests with v.3.3 when 5.2 is the latest, so I downloaded it. The setup "wizard"...hmm, why is it a "wizard"? It provides no choice of installation path. I didn't realize this because immediately after I'd launched it, I knocked something onto the floor, reached down to pick it up ... and looked back up just in time to see the "wizard" complete the installation...but where, I didn't know. It didn't display any information about where it had installed the app. Adventures In Discoverability. :) I hunted around on the hard drive until I found it (C:\Program Files\Adobe -- well, at least you can launch it if you think to look for it in the 'Start' menu). So ... that needs a bit of work. Anyway, I copied the app into a directory of my choice -- one that's in my system's %PATH%, replacing spaces in the name with underscores. It works fine in that directory -- no problem with the name-change as far as I can tell. Now back to the fun stuff...
    This version doesn't seem to require a fully qualified path to the input file or to the output directory when "-d" is used. That's an improvement. IOW, this worked:
    converter -p1 -d DNG filename
    where "converter" is the program's name, "DNG" is the name of a subdirectory of the directory where I'm running the test, and "filename" is the name of a RAW file in that directory.
    The program still doesn't know how to create a directory (or ask about creating one if it doesn't exist). Fails silently if "-d" is used and the specified directory doesn't exist. But at least this version returns an exit code of 1 due to the failure -- better than returning 0.
    Still doesn't understand wildcards. Hope done sprang eternal there for a moment, but oh well. Back to "for" loops...
    Still fails silently, returning exit code 0 (oops), if a nonsensical command-line is used (e.g., using "-c" as the only argument).
    Hey, how about a truly silly command-line error -- a command line including both "-c" and "-u". What happens? It "consumes" the first of the two mutually exclusive switches, ignoring the second -- you get a compressed DNG file. Swap the order of the switches, and you get an uncompressed file. (I'd vote for a syntax-error message in that case, m'self.)
    Interestingly strange little program...If I run it from the command line, it drops back to the command line immediately after I press ENTER. That makes it appear to have failed. But it hasn't -- it's running in the background, and a few seconds later the DNG file is created. But, if I run it from within a batch file, it does NOT return control to me until it has completed writing the output file. Wonder what's up with that.
    Fun stuff. :)

  • Converting string inputs for command line to integers using parseInt()

    Hi,
    My program takes in an input from the command line - "args[0]".
    This line is supposed to be an integer but of course I depending on the user entering the correct data which is never a good scenerio. I used the line "int year = Integer.parseInt(args[0]); I get an error though if the user enters something like "java myProgram Hello" instead of "java my Program 1982".
    I want my program to continue running even if the input can't be converted to an integer. At the moment, it is terminating due to an invalid input. Is there anything I can do to keep this program running even if the input is invalid?
    Thanks

    Use a try/catch block
    int year;
    try {
       year = Integer.parseInt(args[0]);
    } catch (NumberFormatException nfe) {
        System.err.println("Usage: java myProgram  {year}");
        System.exit(-1);
    }

Maybe you are looking for

  • How do I create a zoom transition in Premiere Elements 9?

    Hello, Could you tell me how do I zoom in Adobe Premiere Elements 9? And I mean a slow zoom transition, not a non-transitioning zoom that "jumps" into zoom from one frame to the other. Thanks, Andrey

  • Webforms spawns new ifweb60 processes

    My configuration: NT4.0 sp3 Oracle 8.0.5 OAS 4.0.7 Dev60 deployment with patch1 and 2 installed. After installing patch 1 and 2 to dev60, my webforms would not work. I then followed a suggestion mentioned earlier by setting FORMS_TIMEOUT to 0. Now it

  • TimeBalance Property EPMA

    hi, I am trying to load account members via ads file & I am able to import all the members successfully except for the Time balance property for those accounts. When I have successfully uploaded the members I went into application library in EPMA & I

  • Dashboard does not open anymore!

    A week ago, my dashboard stopped working, and soon, my harddrive went corrupt. I start my computer, and it would never go to the login screen. I finally used a 9 pin to 6 pin firewire cable from my macbook pro unibody to my mac mini, and set my macbo

  • Books in google books not in the cloud

    I have downloaded books into Google Books on my IPAD.  Can I get them into the cloud so they are also on my computer?