Converting object libraries vi command line

Forms, ifbld60.exe, allows you to create Forms, Libraies, Menus, and Object Libraries. It alsow allows you to convert each type from binary-to-text and back. I have been successful in using ifcmp60.exe to convert FORMS, LIBRARIES, and MENUS from binary-to-text and back.
How can I also convert Object Libries using ifcmp60.exe?

I should add that the documented types for ifcmp60.exe are FORM, LIBRARY, MENU and PECS. Don't understand PECS, but I get errors when tring to convert using any of these module_type(s).

Similar Messages

  • Solaris/Linux Reports 6i modify object names from command line

    We are running Solaris 2.6 and are converting Reports from 3 to 6i.
    We want to change the name of certain objects at the command line, preferably in batch mode.
    Any help gratefully received.

    Looks like the command is being split in some way - the connection to sqlplus is being made before it completes the whole string
    It appears to be seeing the @instance_name as a script to execute rather than a db to connect to.
    Is the database on the same server as the script?
    If so, try setting your environment to the correct databsae, so that you can omit the @instance_name part of the syntax and see if it helps
    Also just noticed the failure to open the decrypt script. It would appear uyou are not using a full path name. Have you checked which directroy the scheduled job starts in? You may need to look at running some environment specific scripts first.
    Edited by: LindaA on 05-May-2010 07:43

  • Create an Application Object schedule from command line?

    Hi everyone - long-time lurker, first-time poster here.
    Is there a way create an availability schedule for an Application Object via a command line (or any other programmatic method)? The utilities I've obtained from Cool Solutions are great for replicating AOs (Application Objects) and setting certain properties, but none of them seem to have a method of creating a schedule that you would otherwise create within the AO's property book via Availability > Schedule. BTW, we are using Zen 6.5.
    We have a rollout around the corner for which there are several AOs that drive the process, and we are going to have an instance of each of these AOs for every target group (of which there are dozens), and each group will have their own distinct schedule. The schedules are basically going to be "wait until day X to become available and then remain available for the next 2 months".
    For some of the AOs we can use the Schedule Type of Range of days, which is not so terrible to set manually because you just specify a start date and an end date. But most of the AOs must have the Schedule Type of Specified days in order to ensure they do not ever launch during business hours; manually selecting 60 days from the date picker for a single instance is a daunting task, and I shudder at the thought of having to do so for dozens of AO instances.
    I believe that the field in the ZENworks database that corresponds with an Application Object's schedule has a data type of Binary (which may be why there doesn't seem to be an existing solution), but does anyone have any ideas for accomplishing what I'm talking about?
    Thanks in advance,
    Gavin

    Originally Posted by AndersG
    Jeemo,
    > basically going to be "wait until day X to become available and then
    > remain available for the next 2 months".
    >
    Just to clarify, you want:
    Range of days, start date, end date. Nothing fancier than that?
    - Anders Gustafsson (Sysop)
    The Aaland Islands (N60 E20)
    In a perfect world this is what I would like to be able to do:
    For the AOs where we're going to use the "Range of Days" schedule type, be able to specify the start date, end date and also the days of the week when we do not want it to run (or just the days we do want it, if easier).
    For the AOs with the "Specified days" schedule type, we would like to add (or remove) a specific date, and optionally be able to specify that Start Time and End Time that applies to the dates. As for adding multiple dates, I was planning on having a script that enumerates all the dates in our desired range, and for each date in the range it would call the utility with that date passed as a parameter to add it or remove it.
    If all of the above is too much to put together then I would not complain if it is only partially fulfilled. To be honest I would not mind building a mechanism myself that could handle this, it's just that I don't know where to start. I'd be happy to take a crack at it if someone could point me in the right direction for how to send commands to the database (or directory).
    Thank you again for your help.

  • 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);
    }

  • Converting object libraries from indesign 2.0 to CS3

    Hi !
    I work for a company which needs to convert the object libraries created on Indesign 2.0
    to work on Indesign CS3. Is there a way to do that? Object libraries are compatible within Indesign versions?
    regards
    Cicero Lira

    I created an object library on Indesign 2.0 and did the conversion to work on CS3. But the program crashes during it. I had success when i tried to open the library on Indesign CS.
    It works perfectly. But, when did the conversion from CS to CS3 it occurred the same problem ( the crash). Í downloaded the CS3 updates ( I'm using 5.0.3 version) and my OS is windows XP.

  • Problem running DNG Converter from command line in Windows XP

    I'm a frustrated user trying to run Adobe DNG converter from the Windows command line - more specifically from a batch file.
    - Am reasonably conversant with writing batch files
    - Have read the PDF file provided by Adobe
    I just can't figure the correct syntax for adding the command line parameters and, unfortunately, the Adobe PDF file doesn't have verbose examples for idiots like me. Nor can I find any such examples on the Net, or any discussion of this problem in the forums.
    The Adobe PDF instructions state...
    "The parameter list includes the conversion options you want to use, followed by the names of the files to convert."
    As there is no switch to prefix 'the names of the files to convert' I assume I just leave a space and include the path to the source files at the end of the parameter list?
    Here is the batch file line I am trying to use...
    "C:\Program Files\Adobe\Adobe DNG Converter.exe [parameter list]"
    Where I want to specify in the [parameter list] that...
    (a) The destination directory (-d <directory> parameter) is c:\DNG_files
    (b) And the source files are in directory c:\RAW_files
    Here is the batch line with the parameters entered...
    "C:\Program Files\Adobe\Adobe DNG Converter.exe -dC:\RAW_files c:\DNG_files"
    I've tried variations of this with space between -d and C:\RAW_files and C:\DNG_files\*.* for the source files parameter.
    I just keep getting DOS erros like "The filename, directory name or volume label syntax is incorrect"
    Can anybody help me. I'm clueless how to solve the problem. :-(
    I'm running DNG COnverter version 4.2
    Thanks in anticipation.
    Rob

    Thanks for responding G Sch.
    LOL. Well this lemming doesn't habitually rename .exe files (e.g. Adobe DNG Converter.exe) to a non-spaced alternative either! (Adobe_DNG_Converter.exe)
    Still no luck...
    *** Here is my batch file...
    REM Copy and DNG-convert files from CF
    CD c:\RAW_files
    dir c:\RAW_files
    "C:\Program Files\Adobe\Adobe DNG Converter.exe" -d C:\DNG_files
    dir c:\DNG_files
    pause
    ***Here's the DOS shell output...
    <<BEGINS>>
    C:\RAW_files>dir c:\RAW_files
    Volume in drive C is Local Disk
    Volume Serial Number is D084-58ED
    Directory of c:\RAW_files
    12/03/2008 10:29 AM <DIR> .
    12/03/2008 10:29 AM <DIR> ..
    11/03/2008 07:00 AM 10,661,632 _3110455.ORF
    11/03/2008 07:01 AM 10,661,632 _3110457.ORF
    11/03/2008 07:01 AM 10,661,632 _3110458.ORF
    11/03/2008 07:02 AM 10,661,632 _3110460.ORF
    11/03/2008 07:02 AM 10,661,632 _3110461.ORF
    11/03/2008 07:03 AM 10,661,632 _3110462.ORF
    11/03/2008 07:03 AM 10,661,632 _3110463.ORF
    11/03/2008 07:04 AM 10,661,632 _3110464.ORF
    11/03/2008 07:04 AM 10,661,632 _3110465.ORF
    9 File(s) 95,954,688 bytes
    2 Dir(s) 2,619,731,968 bytes free
    C:\RAW_files>"C:\Program Files\Adobe\Adobe DNG Converter.exe" -d C:\DNG_files
    C:\RAW_files>dir c:\DNG_files
    Volume in drive C is Local Disk
    Volume Serial Number is D084-58ED
    Directory of c:\DNG_files
    12/03/2008 02:46 PM <DIR> .
    12/03/2008 02:46 PM <DIR> ..
    0 File(s) 0 bytes
    2 Dir(s) 2,619,731,968 bytes free
    C:\RAW_files>pause
    Press any key to continue . . .
    <<ENDS>>
    As you can see (a) Source files exist(b) DNG command line runs without generating an error (c) no output files in destination.
    DNG Converter did not run.
    If I remove everything after the command (i.e. the parameter list stuff) it fires up DNG Converter in interactive mode. Not what I'm after.
    Any other thoughts on what the problem is?
    Thank you.
    Rob

  • How to index an attribute through command line

    Hi,
    I want to index an attribute through command line. I am using OID. I am creating every attribute and object class through command line. Any suggestion will be of great help.
    Thanks.

    Hi ,
    When Oracle Internet Directory is installed,by default,certain attributes are already indexed. If you want to use additional attributes in search filters, you must index them.
    Below are the points one should remember when indexing an attribure....
    - We can index an attribute while creating it from Oracle Directory Manager admin tool.
    - You can not index an existing attribute from Oracle Directory Manager tool.
    - To index an already existing attribute and that does not have any data, use ldapmodify command.
    - To index an already existing attribute and the has the data, use catalog.sh command.
    If you are sure that the attribute does not have any data in any of the object profile (user,group,container,etc...) then prepare any ldif file and index it using ldapmodify otherwise use catalog.sh command.
    Regards
    GK Goalla

  • Import biar file with command line

    Hi
    I am trying to import biar file with command line on unix environment with BOXI R3.1 and Oracle DB
    The biar file include one universe and it's connection (eFashion), one report and one user
    when I run the command line:
    java -jar /BO/boxi/bobje/java/lib/biarengine.jar /BO/boxi/test.properties
    I recive the following error:
    Failed to commit objects to server : Undefined Info Store error
    An error occurred at the server during security batch commit:
    Request 6 of type 36 failed with server error : Object not found (1433)
    Request 11 of type 36 failed with server error : Object not found (1433)
    Request 20 of type 38 failed with server error : Object not found (1433)
    Request 26 of type 38 failed with server error : Object not found (1433)
    Do you have any idea , what is the problem?
    Thank you

    Hi Denis
    I found out after I create a biar file ,with only the user, through a command line. that the user did import since it was in a concurrent connectiontype , a type that not exit in the target environment.
    But after I fix this in the source environment and saw that a biar file with only the user is loaded , I recreate the biar file with all the objects as before (user, universe, report , folder) and I still got the same error message as before.
    So now I try to create the biar file with all those object through the command line. and I get a new errer message "Required dependencies not found on target system : '[AZK_.9sbf_lMgdQRpsbZfVw]"
    I check it , and understand that the object is the report , but I do not see what missing..... : (
    Those are the quries in the properties file:
    exportQuery= SELECT * FROM CI_APPOBJECTS where si_kind = 'Universe' and si_name='eFashion'
    exportQuery= SELECT  * FROM CI_APPOBJECTS WHERE SI_ID in ( 894,926)
    exportQuery= SELECT * from CI_SYSTEMOBJECTS WHERE SI_KIND = 'user' and SI_Name='repadmin'
    exportQuery= SELECT * FROM CI_INFOOBJECTS WHERE si_kind= 'Folder' and SI_name = 'test'
    exportQuery= SELECT * FROM CI_INFOOBJECTS WHERE      SI_ID IN (2188)
    Can you tell what is missing?

  • 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).

  • Running Jar vs. command line with libraries

    Hi everybody,
    I have an application that works well from the command line, which relies on 3 libraries, all of which are in the same directory. My current directory structure is like this:
    Main Folder
    -> Library 1
    -> Library 2
    -> Library 3
    -> Run script
    -> Source Folder ("source")
    ->-> Code and main class
    Library 1 depends on both Library 2 and Library 3. When I run from the command line, from the main folder, using this command:
    java -Djava.library.path=. source/MainClass
    My program runs fine.
    The problem comes when I try to package it into a Jar and replicate the directory structure.
    My manifest is:
    Manifest-Version: 1.0
    Main-Class: source.MainClass
    <newline>
    and my jar command is:
    jar cvmf Manifest.txt test.jar source/*.class
    When I try to run my jar, I get this error:
    Exception in thread "main" java.lang.UnsatisfiedLinkError: /home/MainDirectory/Library1.so: Library2.so: cannot open shared object file: No such file or directory
    I know what this means-- for some reason it doesn't know where Library2 is-- but I'm mystified as to why this works fine from the command line and not from a jar. Can anyone help me figure this out, please?
    Thanks,
    Jezzica85

    warnerja wrote:
    Wrong question. You still want to run it via java -jar, but...
    Your jar needs a MANIFEST.MF (if I recall correctly, that is the right file name) in its META-INF folder (again, if I recall correctly) which needs to set up the classpath via a Class-Path=... line in the file.
    Actually you probably already do have such a file (you need it anyway for the jar to figure out what the main class is to execute), but it probably doesn't contain a Class-Path entry or is incorrect.
    Google for jar manifestI've had less than stellar success on correcting the big boys lately, but why should I let that stop me...
    As far as I can tell, the OP seems to be having problems with native link libraries. Some java class loads Library1 then (it appears) Library1 attempts to load Library2.
    Would fixing a CLASSPATH help that?
    I would expect it to be a problem with LD_LIBRARY_PATH (ala Sabre's earlier reply).

  • 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

  • Use as objects arguments in the command line

    Hello :)
    how can i use the arguments in the command line as objects
    java xxx file.txt file2.txt
    the program get as args[] those arguments
    args[0] .... file.txt
    args[1.... file2.txt ..... n
    i don t want to write the arguemnts in the command line i want to use it as an object for example :
    File file = new File ("c:/somedirectory/file.txt") ...
    plese help me
    thanx

    I did it
    easy cake
    String s = "a.txt";
    String args1[] = {
    "-o", s };
    c u

  • Propagating ACLs to child objects via command line

    Hello,
    I have ACLs enabled on a volume and am applying various ACL rules on already existing directories. I use a script to do that.
    Some of these directories have sub dirs and files. The child objects do not pick that they need to inherit the rules unless I click on the "Propagate permissions" button in WGM. I have set the options 'file_inherit' and 'directory_inherit' in the parent objects.
    Does anyone know how can I propagate these ACLs down to all child objects/descendants from the command line without using WGM?
    I would prefer not to do it recursively if there is some other way of doing it. Thank you

    Nevermind, just use -R option, duh

Maybe you are looking for

  • Getting error while installing MSSQL 2005 SP2 Windows Server 2008 Service Pack 1

    Hi, We are getting error while we are installing MSSQL 2005 SP2.  It gives me the following error No Qualifying Product =================== This machine does not have a product that matches this installation package. I am pretty new to MSQL. Any help

  • Pivot Query with Top N

    Oracle 10g I have formed the following query; select cell      , plot_number      , max(decode(drnk, '1', tree_height*100)) ht_1      , max(decode(drnk, '2', tree_height*100)) ht_2      , max(decode(drnk, '3', tree_height*100)) ht_3   from (select ce

  • Parsing data from a BLOB

    I am relatively new to oracle, however I've been working with other databases for years. I would like to load a csv file into a blob record and then parse that record to populate a separate table. Ideally I would use Applications Express to allow a u

  • Workflow approval process for cFolder

    Hi friends,            We are using SRM 7.0 with PPS. Is it possible to implement workflow approval process in cFolder for Before Publish the RFx , Final approval of Bidder Technical Bid etc. If possible then How to implement workflow in cFolder? Reg

  • Error in CJ40 Cost planning

    Hi Experts,      When i am going to do the cost planning in the CJ40 cost element wise it is giving an error message as Layout 1-701FG contains errors. Message no. K9156 Diagnosis One of the elements of planning layout 1-701FG contains values of a ch