Browse all forums dedicated to the Rocket® COBOL product family.
Recently active
[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.
[Migrated content. Thread originally posted on 28 March 2012]Hi all:I downloaded a trial copy of Visual COBOL 2010 R4 for Eclipse update 2.When I try to install in my CentOS 6.2 server the installer shows the message below:--begin-- -=-==================================================================-=- Micro Focus Visual COBOL R4 - Installer www.microfocus.com ./setup_viscobolr4_deveclipse_update2: - WARNING - The installer is being run on an unsupported platform. See System Requirements on product support site for platform details. You platform has been detected as :- Linuxx86_64--end--I already read the System Requirements and CentOS is NOT a supported platform.Is there any option in installer to skip the platform test?ThanksHudson
[Migrated content. Thread originally posted on 21 March 2012]Hi all, just a reminder that the next Visual COBOL webinar will be held tomorrow.More details and how to register here, Hope to see you there.Thursday March 22 20128:00 PST/11:00 EST/16:00 GMT/17:00 CET
[Migrated content. Thread originally posted on 06 December 2011]I'm having some difficulty creating my application library under Windows 7. Prior to upgrading to Win7 I was using an old 16-bit version of the RM/Cobol runtime to create our application libraries (all development was performed using v10.01). However now I'm forced to use a 32-bit or greater version since the 16-bit is not supported on Win7.So here's what I've got: I have a batch file that we execute to create an application library and a text file that, up until now, would handle all inputs.Batch file:ECHO ONerase mstradd.lstSET PRINTER=mstradd.LSTerase MyLib.ADD%rm_program_dir%\\RUNCOBOL %rm_program_dir%\\RMPGMCOM pauseMyLib.txtYNMyLib.ADDApp1App2It appears that the input redirect is being ignored and I'm forced to enter thru the prompts. I tried using the A command line parameter and this works, however I'm limited to 100 characters:%rm_program_dir%\\RUNCOBOL RMPGMCOM A='PRINTER, MyLib.ADD
[Migrated content. Thread originally posted on 16 December 2011]File: index-filename - Bad record overhead after block/record block number/record label.recover2 has encountered a data record with inconsistent overhead structures. Anyrecords in the block subsequent to the indicated record are not written to the unloadfile. Processing continues with the next block.I'm trying to run 'recover2' on some files in RM/COBOL. The runtime version: RM/COBOL Runtime - Version 7.10.00 for Linux (Intel).I get the error above on EVERY block in the file - the output file contains zero records.Some of the other files in the same database will 'recover2' just fine - all records are output.I have no idea why this process would work with some files - and not with other files in the same project.Any ideas? More importantly, anyway I can get past this and recover these files?I have already completed a 'recover1' on the files - that didn't help. Also, it didn't report that
[Migrated content. Thread originally posted on 26 March 2012]hello,We updated to extend 9.1 last week on WIN7 64bit system. The key we used is for "ACUCOBOL-GT Dev Sys Version: 9.1 Release: 0 For: x64 running Win XP, Vista, Windows 7, Server 2003, Server 2008 64 bit". The compiler program is in 32 bit directory - C:\\Program Files (X86)\\Micro Focus\\Acucbl910\\AcuGT\\bin which is all right. But we got the error "License file 'C:\\Program Files (X86)\\Micro Focus\\Acucbl910\\AcuGT\\bin\\ccbl32.alc' inaccessible".We also found the key file ccbl32.alc in C:\\ProgramData\\Micro Focus\\extend\\9.1.0\\x64 instead of C:\\ProgramData\\Micro Focus\\extend\\9.1.0\\x86.Does this mean the licece key created a key file for 64bit compiler program?Please help,thanks!
[Migrated content. Thread originally posted on 08 March 2012]Hi,sorry my english.To i use winforms or WPF or others ins Visual Cobol for Visual Studioi need to learn about C# .Net ?
[Migrated content. Thread originally posted on 28 March 2012]I need some pretty quit help. I'm using Net express 4.0.38 and I'm creating a tab delimited file. The data looks ok in animator, but when I review the file in textpad or a hex viewer, there has been a x'00' character inserted before each tab x'09' character. I've tried with a string command and building the record character by character and have the same resilts. The file is defined as a line sequential file. sample of the string below. SELECT FILE-IN ASSIGN TO 'C:\\FILE.SAV\\01027137\\ONTARIO\\TEST.DAT' ORGANIZATION IS LINE SEQUENTIAL FILE STATUS IS BM-STATUS. FD FILE-IN. 01 FI-RECORD pic x(80). OPEN output FILE-IN. string '500' tab 'mark' tab 'help' delimited by size into fi-record. write fi-record. CLOSE F
[Migrated content. Thread originally posted on 28 March 2012]We'd like to trial the Visual COBOL 2010 R4 and understand that this version contains support for Gui Dialog screen conversion from Net Express. Having downloaded the Visual COBOL EXE I now need a link for the AdPack containing the Dialog support modules. Can you provide a link for me please for this download?Many thanks.
[Migrated content. Thread originally posted on 28 March 2012] I need to be able to print directly to a printer so that a test page can be sent out and redone until the print is aligned. This works under Micro Focus COBOL (Unix) by the file-id being '/dev/lp1' or /dev/lp0/ where these were parallel printers but now we are moving to Windows 7 and all of the new printers are USB. There is also a restart in the program so that all of the pages printed correctly do not have to be reprinted.
[Migrated content. Thread originally posted on 27 March 2012]When opening forms or html files, the message bellow appears:"Form Designer requires Microsoft Internet Explorer 4.01 or greater to be installed on this system. See Installation Notes for more details. Form Designer cannot continue."Followed by:"Execution error: file 'formdctl'error code: 240, pc=0 call=1, seg=0240 Object reference not valid"Windows XP SP3 with Internet Explorer 8Browser defined as standard.This problem occurs on Net Express 5.0 and 5.1.Problem occurs when creating new files or opening existing ones.I have downloaded Wrap pack 6 for Net 5.1, and tried to install it, however installation does not complete.Is it wise to reinstall Net 5.1 and then update?
[Migrated content. Thread originally posted on 26 March 2012] Hello, I have a solution running ok with website Cobol and RmCobol dll, I want to know How to deploy the application in order to install in IIS, this IIS is in a computer without visual studio and How to do for install rmfiles in the server and How to install RM files in other computer in the web in order to access them.
[Migrated content. Thread originally posted on 26 March 2012] Hello, I have a solution running ok with windows form and RmCobol dll, I want to know How to deploy the application in order to install in other computer for normal running using windows only.
[Migrated content. Thread originally posted on 20 March 2012]I use a CALL THREAD statement (on a main processing program) to execute another program solely to accept a Cancel button so that one can terminate the main processing program at anytime by pressing the Cancel button! The above programs run on the following environments:Server: HP-UX 11iv3 AcuConnect 7.2Client: Win XP/2003/2008/Vista/7 AcuThinClient 7.2Test 1: Install & run the processing program on HP-UX 11.31 BOE - it took 7seconds to complete the processing!Test 2: Install & run the same processing program on HP-UX 11.31 MCOE - it took 0.2 seconds to complete the same processing!Test 3: Remove the Call Thread from the processing program & run it on HP-UX 11.31 BOE - it took 0.2 seconds to complete the processingTest 4: Remove the Call Thread from the processing program & run it on HP-UX 11.31 MCOE - it took 0.2 seconds to complete the processingFrom the above test results, it shows that Call Thread doesn
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.