Browse all forums dedicated to the Rocket® COBOL product family.
Recently active
[Migrated content. Thread originally posted on 02 May 2012]hi friends , While debugging a cobol program when i am doing /4 on a variable to monitor its value it is showing me the error only one screen in Use I am new to cobol World .Please tell me if need to do some environment setting.I am working on server express 5.1 and rhel os.
[Migrated content. Thread originally posted on 07 May 2012]I'm only able to connect to my Oracle database via:-Going control panel -> administrative tools -> ODBC data source manager; creating a DSN for Oracle XE-Putting he following in the program: exec sql CONNECT WITH PROMPT end-exec-Once the program's running, a prompt appears; I select the aforementioned DSN.-Then a prompt corresponding to that DSN appears; I type service name, user name, password.Are there simpler ways for this? Something akin to a connection string? My main hope is to be able to skip the prompt for DSN and its creation, and maybe the prompt asking for password. I.e. ideally as soon as the program's running it connects right away with no need for user input.
[Migrated content. Thread originally posted on 04 May 2012] Hi,I have an old NetExpress v3.10 and wanted to use Eclipse as my EDI... is this possible? Say you Microfocus designed a plugin for it and it is generic downloadable.
[Migrated content. Thread originally posted on 27 April 2012]1. How do you pass in linkage-section data items when running in the DEBUG perspective?2. Can you explicitly point to VSAM files for testing in DEBUG perspective? I'm trying it like this but it's not working, I get file status 9/45 on OPEN... SELECT MY-VSAM-FILE ASSIGN TO "C:\\Development Projects\\TestFiles\\MYVSAM.dat" ORGANIZATION IS INDEXED ACCESS IS DYNAMIC FILE STATUS IS MYVSAM-BYTES RECORD KEY IS MYVSAM-KEY-X.3. Is there a setting that lets you have a different extension other than .cbl?We have many named *.CL2, but when you bring them into the Eclipse editor it doesn't do syntax checking unless they are rename to *.cbl.
[Migrated content. Thread originally posted on 25 April 2012]Hi,Our MF cobol code exes and dlls are running (backend services) in windows 2003 R2 server. Its been 6 years and there are no changes made to it. When we try to set up a new environment in a different windows 2003 R2 server, it is failing with signal 11 (error name is mentioned in the subject) after processing few policies. Can anyone provide the right way to approach this problem? Is it anything access related issue?It is working fine, if we do the same set up in XP desktop machines.What is this SQLSVR32? Is it a dll or method? I am unable to find any dlls with this name instead there are versions of SQLSRV32.dlls are present in the machine.I don't know on which version of MF cobol, the exes/dlls are built. If there is any way to identify, please let me know that too.Thanks in advanceAnton
[Migrated content. Thread originally posted on 02 May 2012]I am getting a warning for every working storage definition with a VALUE clause saying that VALUE can only be used with the INITIALIZE statement. My source format is Fixed. Is there a way to resolve this warning? I have some legacy code that uses the VALUE clause extensively and will cause a lot of recoding to put the initial values in the variable fields. Most of the values are not spaces or zero. Below is an example: 05 NAV-SEC-INFO. 10 FILLER PIC X(05) VALUE ' '. 10 FILLER PIC X(15) VALUE '044044044044044'. 10 FILLER PIC X(02) VALUE ' '. 10 FILLER PIC X(11) VALUE ' LXXO001 '. 10 FILLER PIC X(35) VALUE 'Online Update '.
[Migrated content. Thread originally posted on 24 January 2012]I'm installing Net Express 5.1 on a Windows 2008 box.So, it's saying that Visual Studio 2008 is required to install Net Express.Well, unfortunately it does not appear Visual Studio 2008 is a download. I've tried the Express version and that doesn't work. Visual Studio 2010 also doesn't work.Can anyone provide any guidance for which specific version of Visual Studio that works with NetExpress 5.1?Thank you in advance,-R
[Migrated content. Thread originally posted on 18 April 2012]Hello,I am trying to invoke a Java class from Visual COBOL, following these lines:Declaring Java ClassesBut I am not able to do it. This is the error that appears:Load error : file '$java$vertex.Vertex' error code: 198, pc=0, call=1, seg=0 198 Load failure Java by itself is running well.The Java module is defined inside the package 'vertex' and my class is named 'Vertex'. I wrote this class using NetBeans, under Windows, and copied the JAR file to the AIX server. The COBOL program has been written without using Eclipse, too.The lines below belong to this program: $set ooc
[Migrated content. Thread originally posted on 24 April 2012]Hi,Our MF cobol code exes and dlls are running (backend services) in windows 2003 R2 server. Its been 6 years and there are no changes made to it. When we try to set up a new environment in a different windows 2003 R2 server, it is failing with signal 11 (error name is mentioned in the subject) after processing few policies. Can anyone provide the right way to approach this problem? Is it anything access related issue?It is working fine, if we do the same set up in XP desktop machines.What is this SQLSVR32? Is it a dll or method? I am unable to find any dlls with this name instead there are versions of SQLSRV32.dlls are present in the machine.I don't know on which version of MF cobol, the exes/dlls are built. If there is any way to identify, please let me know that too.Thanks in advanceAnton
[Migrated content. Thread originally posted on 16 April 2012]Hi!We are trying to consume a webservice that use SSL. We use RMnet for this, but we get "Unsupported protocol". Probably, the reason is that we does not provide the certificate, or we cannot set it off.Somewhere, I found there should be a possibility to set the verification off. Using a function "NetSSLVerifyPeer". But there was no documentation of the use of the function, and I have not been able to find the documentation refered to. Can anyone give me a example of the use of this?Generally speaking, can anyone give me a example/description of how to communicate wiht such webservices using RMnet?RegardsDagl
[Migrated content. Thread originally posted on 24 April 2012]Hi ((:I'm trying to write a program, but the compiler give me an error in following line of code, and I do not know why :X class-id assembler public. 01 CurrentNdx binary-long. 01 AsLength binary-short unsigned. 01 IsEnd condition-value. 01 ExecutionAddress binary-short unsigned. method-id Main static. 01 LabelTable type System.Collections.Hashtable. procedure division using by value Args as string occurs any. set LabelTable to new System.Collections.Hashtable(50). *> Error here
[Migrated content. Thread originally posted on 23 April 2012]Hi,When I try to open NET Express, I am getting below mesages: No License code is available for feature MTOD development on 127.0.0.1 (NET Express 6.0) get LicenseIf you are unsure how to proceed, you should contact your support representative.It seems, my temparary license is expired, is there any way to get the license extenstion, please advise.Regards,Murali.
[Migrated content. Thread originally posted on 18 April 2012]How would I go about storing variables and/or methods that can be accessed from any Form in the project? Coming from vb.net, I'm used to modules and am not sure what to do without them.Alternately, is there a way a child Form can access its parent Form's user-defined properties and controls? So far I can only access and alter properties such as Self::Owner::Width, but no luck with the ones I created myself. For another vb analogy, that could be done using CType, so an equivalent might help if I knew of one. Thanks in advance
[Migrated content. Thread originally posted on 17 April 2012]I define a string variable,01 name string.Then, how can I assign it the user input via the Console class' ReadLine method?invoke type Console::ReadLine(pName)set pName to Console::Readline()Neither goes by without compiling errors, despite ReadLine's definition. I must admit lack of knowledge on oo, but the other methods from Console seem to work just fine.On this regard, is there anywhere I can read descriptions for the different default classes and their methods?
[Migrated content. Thread originally posted on 17 April 2012]Hi I am trying to compile a program that uses oracle. Using the same commands I can copy other cobol programs in the environment.The compiler is comlaining about the 'PROCEDURE DIVISION'being in the wrong place. I would like to generate the sks file that is created during our compilation but is seemingly removed afterward. I could then pass the sks file into the pre compiler directly to find the error messages that are being generated. Any one done that?
[Migrated content. Thread originally posted on 11 April 2012]Hi ((:I wonder, how can I do to print text using .netsomething like this: www.c-sharpcorner.com/.../printfile.aspxBut of course, in Cobol.net ((:Thanks ((:
[Migrated content. Thread originally posted on 12 April 2012]I installed Micro Focus Studio Enterprose edition 6.0, I able to compile standalone programs and CICS programs. I would like to compile COBOL SQL (Oracle) programs, what are the steps and configuration do I need to follow, please advice. Regards,Murali.
[Migrated content. Thread originally posted on 03 April 2012]Normally it's just me doing development and I don't have any licensing issues. However, now and again my predecessor is roped back in out of retirement to do a bit of work. Today he was running a program under Animator while I attempted to compile another program, and I got a maximum number of licenses exceeded message. This is a puzzle because we have three licenses (confirmed in the maximum number message), there was one Animator session running which would account for one or potentially two licenses (as it runs as two processes), and absolutely no other Cobol processes running.MFLicenseCheck shows Licenses installed on your System. Machine :- smsdev Deployment DB :- /var/mfaslmf/mfasdb COBDIR :- /mfcobolse5.1
[Migrated content. Thread originally posted on 11 April 2012]Hi!We are using RMNet for consuming webservices. This seems to work, but for now only when we add "-y xmlif.dll -y rmnet.dll" into our command string, to load this two dll`s.This is not a solution for us, since we then need to configure all local terminals that our customers all over the country uses to start our program.We have tried to load the two dll`s by calling them in the program, prior to the use of them. But then we get an error, indicating that they are not loaded properly.So the question is; how can we load this two dll`s from the Cobol program early enough?RegardsDagl
[Migrated content. Thread originally posted on 13 April 2012]Cloud-based services is taking over. How does NE/Visual Cobol meet this new future?1 Cloud-based development on Azure with IDE?2 deployment on Azure of production app?
[Migrated content. Thread originally posted on 19 December 2002]There is a Word OLE sample in the Acucobol code sample section of the website, but did not see an Excel OLE sample, so I thought I'd submit one. A zip file is attached with source and object. You will of course need MS Office and/or Excel installed. If you want to modify source and recompile, you will need to use the AXDEFGEN utility to generate your own EXCEL.DEF copy file(too large to fit into the attached zip file). Choose the Microsoft Excel Object Library under the Library tab. Please read the notes at top of the source code.Hope this sample is helpful. :)
[Migrated content. Thread originally posted on 07 July 2009]From my ever hard working buddy Claudio. A lot of examples on how to manipulate cells in Excel. IDENTIFICATION DIVISION. PROGRAM-ID. ExcelSimple. * Compile with one of the following commandlines, * accordingly with your Office version * * ccbl32 -ga -si 2003 -sx 2000 ExcelSimple.cbl * ccbl32 -ga -sx 2003 -si 2000 ExcelSimple.cbl * * ENVIRONMENT DIVISION. CONFIGURATION SECTION. SPECIAL-NAMES. * COPY "ex
[Migrated content. Thread originally posted on 06 April 2012]I had install AcuGT 720 into 64 bit windows. I try to use the ccbl32 command to compile the cobol program, but i get the 'internal error #9'. May i know that how to solve this error?Because when i try to compile in old PC, 32 bit windows, it doesn't have this error. Thanks You.
[Migrated content. Thread originally posted on 29 March 2012]I was wondering about NULLS and the SQL GET DATA sql-QueryHandle command.When I do the SQL GET DATA command, and my results has NULLS in it, how are the fields populated? Are the Numeric fields populated with zeros, or nothing? Are the AlphaNumeric fields populated with "NULL"??Just need to know so I can handle NULLS correctly within my COBOL program.
[Migrated content. Thread originally posted on 04 April 2012] Hello friends, I'm new to COBOL CGI, and i'm trying to create an dynamic table, meaning X <tr></tr> for X ISAM Records. I already have a page designed and i'm using CSS as well.What i've done is: In my COBOL program before starting to read the file, call EXEC HTML and invoke my page "MENU.HTM". While reading the record EXEC HTML creating a <TR> with two TDS (Code, Name) </tr>.Now i'm doubt wheter EXEC HTML is inserting this in my code, or after it.. the records do show in the right place, one after the other, however they do not get any of the styles defined on the CSS.The COBOL program $set preprocess(htmlpp) endp IDENTIFICATION DIVISION. PROGRAM-ID.
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.