For calling cobol from java, how can i add  cobal bin directory to PATH

Hi all,
When i am testing my Algorithm using JUNIT i am getting this Exception ,Can any one tell me What this exact Error.
Exception in thread "CobolThread 1" java.lang.UnsatisfiedLinkError: no cbljvm_sun in java.library.path
     at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1734)
     at java.lang.Runtime.loadLibrary0(Runtime.java:823)
     at java.lang.System.loadLibrary(System.java:1028)
     at com.microfocus.cobol.RuntimeSystem.<clinit>(Unknown Source)
     at com.splwg.base.support.cobol.host.CobolThread.run(CobolThread.java:30)
Thanks&Regards
sivaram

i overcome the above exception by seting microfocus bin in classpath
But i am getting one more error.pls help to resolve this issue
Exception in thread "CobolThread 1" com.splwg.shared.common.LoggedException: Unable to load class CIPZMEMJ. Return code: 2
- 2011-09-07 12:51:52,111 [CobolThread 1] ERROR (cobol.host.CIPZMEMJ) Unable to load class CIPZMEMJ. Return code: 2
com.splwg.shared.common.LoggedException: Unable to load class CIPZMEMJ. Return code: 2
     at com.splwg.shared.common.LoggedException.raised(LoggedException.java:65)
     at com.splwg.base.support.cobol.host.CIPZMEMJ.checkInitialized(CIPZMEMJ.java:36)
     at com.splwg.base.support.cobol.host.CIPZMEMJ.touchToCobol(CIPZMEMJ.java:46)
     at com.splwg.base.support.cobol.host.CobolThread.run(CobolThread.java:34)
     at com.splwg.shared.common.LoggedException.raised(LoggedException.java:65)
     at com.splwg.base.support.cobol.host.CIPZMEMJ.checkInitialized(CIPZMEMJ.java:36)
     at com.splwg.base.support.cobol.host.CIPZMEMJ.touchToCobol(CIPZMEMJ.java:46)
     at com.splwg.base.support.cobol.host.CobolThread.run(CobolThread.java:34)

Similar Messages

  • Call Cobol from Java

    Can anyone give me an idea of how to call a cobol program from java.
    If you can provide me some sample code .It would be great.
    Thanks in advance

    A program?
    If it is already running then you have to interact with it however it provides.
    If you want to run it then you use one of the exec() methods.

  • When trying to register my ipad and put in my email address, a statement comes up stating the address is already verified for another apple id.  How can I add my ipad?

    When trying to register my ipad to mobile me by putting in my email address, a statement comes up stating the email address is already verified for another apple ID (which is me).  How can I still use this email for the ipad?

    Try here.
    Frequently Asked Questions About Apple ID
    and here.  Using an existing Apple ID with the iTunes Store and Mac App Store

  • For downloads in windows 7, how can I add the option to "save as" instead of just "open" or "save"

    Hi, could really use your help! Recently updated Firefox. I used to click on downloads and be able to "save as". Now, I can only "open" or "save". When I click on "save", all the files go to one default downloads folder. Then I have to open explorer, locate the folder and file, then cut and paste it to the appropriate folder. A cumbersome process!
    Does anyone have a solution? Thanks!

    It works - thanks so much! Note if others have this issue, you may think it's not working - you'll still get the same pop-up box with only two options - "open" or "save". However, when you click "save", it then gives you the option where you'd like to save it to.

  • Calling Serializer from Java

    Hi,
    I am calling xsql from Java.
    Can I set FOPserializer with help of oraclesql like i can set other attribute of xsql.
    e.g
    OracleXMLQuery ors = new OracleXMLQuery(conn, selectStmt);
                   ors.setRaiseNoRowsException(false);
    ors.setSkipRows(skipRows);
    ors.setMaxRows(maxRows);
    an example would be helpful.
    Thanks in advance
    Raju

    The FOPSerializer (and the concept of serializers in general) is a feature of the XSQL Pages Framework. Your code example here is using the XML SQL Utility's OracleXMLQuery class. To use XSQL programmatically, you should use the oracle.xml.xsql.XSQLRequest class, documented in the XSQL Online Documentation
    hope this helps.

  • How can I add transition or effect sound?

    Hi,
    I know how to make a sound effect on a slide, but it is for the whole slide.
    How can I add a transition or effect sould only during the transition period when I click my mouse?
    Powerpoint can do it easily, can you send the answer to my email please?
    Like (0 

    just think about the voice setting when you go to the record you should find mono and stereo. I have only mic volume -cd volume and line volume i should have mono mixer and stereo mixer also.
    So can i add them to the list ?? For example when you use paltalk program you can play music from your computer in the room so all in this room can hear it eaven if you adjust your volume to mute,this is using mixer mono or stereo.
    I hope i explane it for you. Thanx

  • How can you add/change the currency rate in spro?

    Hi all,
    you can add a new currency code by going to spro --- general settings --- check currency codes
    for example: PERU ---> PEN
    But, how can we add/change the currency rate PEN in spro?
    for example: Peruvian Nuevo Sol     = 4,3567619
    Is it still in customizing? And if so, where can i find it?
    Many thanks in advance.
    Kind regards,
    Pamela.

    Hi Aman,
    I have entered the field to add the new currency rate.
    But the system doesn't want to valid my new rate.
    I get the following error message:
    "Input should be in the form ._,____ "
    Do you know how to override that command?
    Thanks.
    Regards,
    Pamela

  • How can i pass the  parameter for strored procedure from java

    dear all,
    I am very new for stored procedure
    1. I want to write the strored procedure for insert.
    2. How can i pass the parameter for that procedure from java.
    if any material available in internet create procedure and call procedure from java , and passing parameter to procedure from java

    Hi Ram,
    To call the callable statement use the below sample.
    stmt = conn.prepareCall("{call <procedure name>(?,?)}");
    stmt.setString(1,value);//Input parameter
    stmt.registerOutParameter(2,Types.BIGINT);//Output parameter
    stmt.execute();
    seq = (int)stmt.getLong(2);//Getting the result from the procedure.

  • How to call xml from java

    Hi
    I want to use xml for updating files in an existing jar . so i want to call xml from java code and then come back to java code and do the remaining work in java code, pl guide me how to do this . what APIs are helpful for this regard
    Thanks

    You can't update files in a jar. Even if you could, you wouldn't use XML for that. You don't call XML. XML is not a programming language. So, basically your entire question is misguided.

  • I have the 5S and there is a check mark next to no sound when phone is in lock mode that prevents me from getting my calls and messages. How can I turn that off? Clicking it does nothing. Please help! Thanks!

    I have the 5S and there is a check mark next to no sound when phone is in lock mode that prevents me from getting my calls and messages. How can I turn that off? Clicking it does nothing. Please help! Thanks!

    Thanks for taking the time to try to help me. . I checked and the Do not disturb is off. The check is still there stopping calls from coming in when phone is locked. Any other ideas? Thanks again!

  • Hello i accidentally synced all my photos from Iphoto and they doubled, i removed them all eventually to re-import them again, but i have no camera folder anymore and i have a folder called "From Mac" how can i turn it back to normal?

    hello i accidentally synced all my photos from Iphoto and they doubled, i removed them all eventually to re-import them again, but i have no camera folder anymore and i have a folder called "From Mac" how can i turn it back to normal?

    That is normal for photos synced from a computer to a phone using iTunes. Synced photos were never placed in the Camera Roll. Additionally since iOS 8 there is no Camera Roll: http://appleinsider.com/articles/14/09/19/goodbye-camera-roll-where-to-find-your -photos-in-ios-8

  • Apple loops for garageband pack doesn't show the folder content (loops, files...)  in ableton live suite 8 library browser, but I can see all the loops in the folder from finder. how can i fix this? help please.

    apple loops for garageband pack doesn't show the folder content (loops, files...)  in ableton live suite 8 library browser, but I can see all the loops in the folder from finder. how can i fix this? help please.

    Thanks Barney, I tried that but all that comes up in Spotlight are the log files that show the file paths! I don't know how Steam works. Are all the files held by Steam on their server perhaps?

  • Somebody uses my apple id for facetime on his iphone how can i remove his phone from my account?

    somebody uses my apple id for facetime on his iphone how can i remove his phone from my account?

    Last Spring I received a couple of emails to an alias I set up a long time ago under mac mail with mac.com - not my main ID - at mac.com.   The mail had the Icloud extension.     I just deleted it.
    I then received a couple of e-mails forwarded to the same alias that came from a non-apple account that led me to search to see if the company was legit - it was.     Using a non-apple hidden account I sent that non-apple account an email informing them apparently when they registered the ID or alias as an ICLOUD extension - apple did not check for duplication in accounts or aliases that were not in the Icloud.
    I also sent feedback to Apple telling them to fix it and apparently they did - along with the person who replicated my alias.
    On this site there were a number of postings from people who also had problems with mac mail and Icloud who resolved it by contacting Apple and getting the accounts cleared up.

  • When I try to print sth I can´t choose my printer. Adobe Reader only shows a printer I used years ago.I aleady deleted and reinstalled the Reader and deleted all other printers from the computer.How can I add a new printer to Adobe Reader?Thanks for help!

    When I try to print sth I can´t choose my printer. Adobe Reader only shows a printer I used years ago.I aleady deleted and reinstalled the Reader and deleted all other printers from the computer.How can I add a new printer to Adobe Reader?Thanks for help!

    Hi,
    I would suggest you to uninstall Adobe Reader using the cleaner tool and then re-install the latest version.
    Adobe Cleaner Tool:- Download Adobe Reader and Acrobat Cleaner Tool - Adobe Labs.
    Latest version of Adobe Reader:- http://get.adobe.com/reader/
    If you still experience the same issue, please share the following information:-
    - Screenshot of Adobe Reader showing printer options
    - Screenshot of Microsoft Word showing printer options
    - Screenshot of control panel- Control Panel\All Control Panel Items\Devices and Printers
    Regards,
    Nakul 

  • The recent upgrade for i-tunes prevents me from adding and using the Field, "Show". How can I add this field in i-tunes?

    The recent upgrade for i-tunes prevents me from adding and using the Field, "Show". How can I add this field in i-tunes?

    Hold down shift as you right-click > Get Info to get the old style dialog box.
    tt2

Maybe you are looking for