Browse all forums dedicated to the Rocket® COBOL product family.
Recently active
[Migrated content. Thread originally posted on 02 February 2012]Hello,I have a package configured in RM/COBOL to allow the user enter data in utf-8 languages (chinese, russian, etc). Mostly I use an external win dialog to accomplish it.I am meaning to work with it using Visual COBOL, but I found that, after showing the utf-8 string in a given line, characters printed in the same line but in higher columns are misplaced.Any suggestion to deal with this?Thank you.
[Migrated content. Thread originally posted on 27 January 2012]Thank you to everyone who attended the webinar on Thursday – a fantastic turnout.We had a lot of great questions which I hope I've managed to answer below:1. Can you use Visual Studio for COBOL development on Unix?2. Can I use Pro*COBOL compiler?3. I’m a VB developer - Does the installation of Visual COBOL change the environment? 4. Are there lift-and-shift tools to take CICS/JCL to the Cloud?5. How much does the product cost?6. Where does source code live?7. Do I need Developer Hub to debug an AIX application?8. Can we mix Net Express 3.0 dlls in the same process as a Visual COBOL application?9. Does Visual COBOL support CICS?10. Can we migrate Dialog System apps to Visual COBOL?11. Are the data tools supported in Visual COBOL?12. Can we get the email addresses of other attendees on the webinar?Answers:1. Can you use Visual Studio for COBOL development on Unix?No. We recommend you use Visual COBOL for Eclipse2. Can I u
[Migrated content. Thread originally posted on 03 February 2012]Hello,I know how to link a C library in a COBOL program (static link), but I do not know if it is possible to make it dinamically.To build the static link I do:cob -z,CC PRCALLC SFDC.c SFDCPP.cppTo build the C library alone:cob -z,CC SFDC.c SFDCPP.cppBut, how to call the C module from a COBOL program which is not linked with it?Regards
[Migrated content. Thread originally posted on 31 January 2012] Hello I could not call dll native cobol from asp.net, the dll exists but the asp.net cobol program does not find it, I used asp.net with windows .net class link in order to link dll native, asp.net works well with .net windows program but I have te same problem because I can not link .net windows program with dll native in this solution, the dll exists and compile but it does not work.Thanks for your helpFrancisco Zambrano
[Migrated content. Thread originally posted on 03 February 2012]Hello,I found that when I perform two calls to a C program, and the second string returned by C is smaller than the first one, COBOL does not recognize the 0x0 character and shows the two strings overlapped.For example:The first call returns 'file11111.txt', and the second 'file2.txt'. Then COBOL understands 'file2.txt txt'.Dump of p_szFile in C program ='file11111.txt' 66 69 6C 65 31 31 31 31 31 2E 74 78 74 FILE-W IN COBOL=file11111.txtDump of p_szFile in C program ='file2.txt' 66 69 6C 65 32 2
[Migrated content. Thread originally posted on 02 February 2012]Command Line utilities for generating the record layout(STR) File?Can we generate the Dclgen for all the tables in Oracle ESQL From command line
[Migrated content. Thread originally posted on 02 February 2012]Hello,Anybody could tell me what does it mean?ld: 0711-552 SEVERE ERROR: Object TIEN615VC.o: Csects with symbol numbers 200 and 182 overlap.By the way, this option produces a
[Migrated content. Thread originally posted on 01 February 2012]Hi All,Just started to get a windows error message popping up when running my Visual Cobol Windows project.This has only started happening since it started running on a Windows 7 pc and the message says:-"Program has stopped working" "Windows is checking for a solution to the problem" however it just hangs.The exact same application works fine on a Windows XP machine.So what does it mean and how can I tell it to just "get on with it!" so the program works normally.Any help greatly appreciated as my customer is getting very annoyed!Many thanksNeil.
[Migrated content. Thread originally posted on 01 February 2012] FIRST STATEMENT WORKS FINE,BUT WHEN I USE VARIABLE IDENTIFIER DOES NOT WORK, I KNOW THE LENGTH OF VARIABLE IS THE REASON SO HOW CAN I FIX THIS. EXEC SQL DECLARE CSR17 CURSOR FOR SELECT DISTINCT A.EMPL_NO ,A.ENGL_NAME ,A.ARABIC_NAME FROM PERSONAL A WHERE ( A.ENGL_NAME LIKE N'%JAMILA%' ) END-EXEC EXEC SQL OPEN CSR17 END-EXEC PERFORM UNTIL SQLCODE EXEC SQL FETCH CSR17 INTO :PERSONAL-EMPL-NO ,:PERSONAL-ENGL-NAME:PERSONAL-ENGL-NAME-NULL ,:PERSONAL-ARABIC-NAME:PERSONAL-ARABIC-NAME-NULL END-EXEC IF SQLCODE = 0 PERFORM VARYING IDX FROM 1 BY 1 UNTIL IDX > SQLERRD(3) DISPLAY PERSONAL-ENGL-NAME END-PERFORM END-IF E
[Migrated content. Thread originally posted on 20 January 2012]Greetings.New to JVM COBOL and this forum.Wondering if anyone can shed any light on what I am experiencing in Visual COBOL for Eclipse.I have created a .java file in the Visual COBOL for Eclipse IDE and it seems I cannot save the file when I try to populate a byte in a byte array with a cast of a char to a byte. This code construct works elsewhere in java. byte[] crtioDataByteArray = new byte[16240]; crtioDataByteArray[0] = (byte) 'a';I get the same error if I even define a char as below: char OPENED = 'O'; When I attempt to save the file I get a dialogue box indicating "Save Failedjava.lang.NullPointerException"and the detail button offers no further explanation.Thanks
[Migrated content. Thread originally posted on 28 January 2012]Hi.Sorry for my poor English.I am trying to do this:////Code flagment ////////////////////////////////////////////////// Invoke BitmapData "fromFileZ" Using z"D:\\piSistemas\\Imagem\\Foto01.bmp" Returning BitmapOR Move 0 To hPalette Move 1 To fPictureOwnsHandle Invoke OlePicture "fromBitmap" Using BitmapOR
[Migrated content. Thread originally posted on 26 January 2012]Hello,I am trying to save a new configuration, after altering the default RM settings, but I cannot see the file in the current dir.After altering the options, I press ESC three times, F4 to save, F2 for new configuration, enter the name and ESC, but no file is created.
[Migrated content. Thread originally posted on 28 January 2012]Can anyone please give the syntax to download a file from a web server to the client PC.I believe the code in C# would be: WebClient Client = new WebClient (); Client.DownloadFile("www.csharpfriends.com/.../index.aspx", " index.aspx");or WebClient Client = new WebClient (); Stream strm = Client.OpenRead ("www.csharpfriends.com/.../index.aspx");Thanks - I am new to Visual COBOL, and Object programming, so am struggling with "translating" C# to COBOL.
[Migrated content. Thread originally posted on 26 January 2012]We use C$REDIRECT with Handler-Type-Pre set to true so that the Handler Program does what it is going to do, then Extend will do what it does. Most of the time this works fine, but, when I process a Write statement on a Line Sequential file, I get an error 44 which means that the record size has changed. For a Sequential File, my Handler program does nothing. The following is the first line of code in my handler program:IF HANDLER-ORGANIZATION-SEQUENTIAL GOBACK.I suspect it has something to do with the fact that the Extend runtime (8.1.2.1) adds a carriage return and line feed to the end of each record in Line Sequential files, thus making an 80 character record actually have 82 characters. And somehow, just by entering the C$REDIRECT Handler program, something happens to make Extend think the record size has changed.A Binary Sequential file works just fine, as do Vision files. Any ideas greatly appreciated!
[Migrated content. Thread originally posted on 26 January 2012]Hello,I am trying to execute this command:Dialog.win \\\\0040 12614401Under RM/COBOL it works without problems. As you can see, there are two parameters.I am doing the CALL like this:call visualcobolcall "system" using fp-mandatoAnd the following error appears:sh: \\0040: not found | &n
[Migrated content. Thread originally posted on 25 January 2012]I have tried to create a web application for first time under cobol (netexpress) but i could not continue, because this message [ form designer requires microsoft internet explorer 4.01 or greater to installed on this machine... form designer can not continue] , and i am already have internet explorer on my system]is any one can help me. thanks
[Migrated content. Thread originally posted on 26 January 2012]Our application is hosted on HPUX, with an Oracle Database, COBOL and Oracle FormsWe are looking at migrating from Oracle Forms to Forms2Net (which will require IIS changes in the web-server from our current one of Apache) - and that is a separate issue. My question, and I am a .NET developer not a COBOL developer, is the following:If we wanted to migrate the UNIX hosted COBOL to Visual COBOL, would that have to be the JVM version of Visual COBOL or could we do the migration to the .NET version which would enable us to leverage other .NET development we are performing?Basically our architecture would change to HPUX as DB server, Windows 2008 IIS as web-server, and place the Visual COBOL .NET component into an application server (probably the same box as the windows IIS server initially)?
[Migrated content. Thread originally posted on 16 January 2012]Hello,What is your road map for Windows 8? My boss wants to now if we could build applications under WinRT soon.
[Migrated content. Thread originally posted on 26 January 2012]Hello,I have this code (from the Microfocus documentation) to testprogram-id. StringAdd. thread-local-storage section. copy "javatypes.cpy". 01 lsNewPtr pointer. 01 lsSize jint. *> type defined in javatypes.cpy 01 i jint. 01 lsStatus jint. 01 lsBigBuffer pic x(1024). linkage section. 01 lnkJString mf-jstring. 01 lnkJStringBuffer mf-jstring. 01 lnkString pic x(256).01 lnkStringbuffer pic x(256). procedure division using lnkJString lnkJStringBuffer. set address of lnkStringBuffer to ptr2string of lnkJStringBuffer. set address of lnkString to ptr2string of lnkJString *>Check that lnkJStringBuffer is a Java StringBuffer if capacity of lnkJStringBuffer > 0
[Migrated content. Thread originally posted on 23 January 2012]Hi,I'm evaluating Server Express Remote Development Option and have a question concerning debugging remote programs.In my setup I'm not using the compile functionality in Eclipse to compile my programs. I'm compiling my programs using the Server Express compiler on the shell of the remote machine. It places the .so-Files and .idy-Files in the directories I want them to be.In my Eclipse project I have the correct source code of my program and in the debugging settings (Wait for Remote Application Attachment) I tell the debugger where to find the .idy-Files for debugging. At that point everything works. The application attaches and I can step through the program.My problem is that breakpoints and watchpoints don't work. They only work when I'm using the .so-Files and .idy-Files generated by compiling through Eclipse.Is there a possibility to debug (and use breakpoints of) cobol programs that where compiled
[Migrated content. Thread originally posted on 19 January 2012] I wan't to call a cobol program from c# and have two parameters which are defines as group elements.Is there a way to call the cobol without writing a proxy program which then takes every single item into account?I just wan't to give the cobol program a byte[] (sbyte[]) or a pointer to that array.In java this is possible!
[Migrated content. Thread originally posted on 25 January 2012]Hello,I have found that these kinds of call "system" do not work: CALL VisualCOBOLcall "SYSTEM" USING "sh Version.win"The script is never executed and weird characters appear after the script's name.I had to change it in the following way: CALL VisualCOBOLcall "SYSTEM" USING "sh Version.win "Do you see the difference? Isn't it strange?
[Migrated content. Thread originally posted on 23 January 2012]Hi,I'm using the Server Express Remote Development Option and have a question configuring where to find the copybooks when parsing my programs. In the documentation it says that I should create copybook paths outside the project as linked resources. But the project settings (COBOL Remote Project) do not allow to create linked ressources.Does anyone has a clue why I cannot create linked ressources? Or how can I tell the parser where to find the copybooks outside the project?Thanks,Sebastian
[Migrated content. Thread originally posted on 16 January 2012]I am trying to setup Micro Focus Server (Server for COBOL) on 2 PC, with the license database on PC1, as described in documentation.microfocus.com:8080/.../index.jsp On the first one, PC1, I have installed Micro Focus Server and created a license database in c:\\mfaslmfThen I shared the folder granting everyone full permissions.On the second one, PC2 I've installed Micro Focus Server and pointed the license database to \\\\PC1\\mfaslmf, and I've created an environment variable ASLMFNET that also points to this location.I can run my application on both PCs, so they both have access to the database.However, when I run AppTrack.exe on PC2 to check the number of licenses in use, the number is 0!If I run AppTrack on PC1 (the uses the database as local) it says 1 license in use - eventhough the application is running on two PCs by two different users!I've also tried placing the database on a proper network drive - the
[Migrated content. Thread originally posted on 22 January 2012]Hi,I'm doing a program that interface a .NET dll with 9.0.0 runtime.I have included my .NET assembly in my COBOL programs and created the file .DEFwith NETDEFGEN utility. Then I used the following "CREATE" statement to create a new instance:create "@ePrescription"NAMESPACE is "ePrescription"CLASS-NAME is "ePrescription"CONSTRUCTOR is @CONSTRUCTOR1()HANDLE is eprescr-handleFILE-PATH is "bin\\eprescr.xml".I used FILE-PATH because the assembly does not reside in the GAC and is not in same directory as "wrun32.exe".The runtime is in "D:\\wfar\\bin" directory.The assembly is in "D:\\wfar\\bin\\ePrescription" directory.The "CREATE" statement successful, but "MODIFY" of first method goes in exception with the following message:Unable to load file or assembly "ePrescriptionCore, Version=1.0.0.0, Culture=Neutral, PublicKeyTok
Already have an account? Login
No account yet? Create an account
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.