Browse all forums dedicated to the Rocket® COBOL product family.
Recently active
In order to resolve this error, you need to execute the following command in your shell: export CLASSPATH=$COBDIR/lib This will allow cobsje to locate the requisite Java class libraries.
how would i add encoding information using the C$XML call in acucobol 7.2. I understand that version 8 onwards has the SET_ENCODING op.
Hello, I would like to insert a picture into a EXCEL CELL. I found a thread in this forum that explains how to insert a picture into an excel sheet : create application of excel handle in hexcelapp modify hexcelapp @SheetsInNewWorkBook = 1 modify hexcelapp workbooks::add() giving hexcellibro inquire hexcellibro worksheets::item(1) in hexcelhoja modify hexcelhoja Pictures() giving hexcelpictures. modify hexcelpictures insert("c:\\iconta00\\infco.bmp") giving hexcelpicture. modify hexcelpicture @height = 150. modify hexcelpicture @width = 285. modify hexcelapp @visible = 1 destroy hexcelhoja destroy hexcellibro destroy hexcelapp but it is not enough for my needs. I need to bind a cell to an image through its path. Please, can you help me ? thank you very much, regards.
Good morning, our customers, for privacy reasons, do not want to give the account to access the database with sensitive information. Our batch COBOL applications (no cics) are accessing the database with odbc using this statment like this: EXEC SQL CONNECT TO :WS-DB USER :WS-USER USING :WS-PASSWORD END-EXEC. The values of these variables are taken with the cobol command: DISPLAY "HPASS" UPON ENVIRONMENT-NAME ACCEPT WS-PASSWORD FROM ENVIRONMENT-VALUE Our customers do not want to put in a ENVIRONMENT or into a script file. there are alternatives? thanks... #ODBCESQL
Hi, Can anybody help me out in getting this query to work? I've tested it on the sql command line and it works perfectly but when I try to run the project it produces that error in the post title, I am using Oracle database. accounts-balances-totals. set customer-id to type Int64::Parse(report-term::ToString()). exec sql declare accounts_totals_balances dataset cursor for select credit_account as account_id, sum(credit) as credit_balance, sum(debit) as debit_balance, sum(credit) - sum(debit) as balance from ( &nbs
When a webform calls a COBOL program with a hexadecimal value in it, the website is able to compile but when it runs it throws a runtime exception on the CALL statement. Example webform codebehind: class-id _Default is partial inherits type System.Web.UI.Page. working-storage section. method-id Page_Load is protected. local-storage section. procedure division using by value param-sender as object &
I'm having challenges with printing using spooled printers on okidata dot matrix printers (using US Fanfold paper) in a windows environment. Inkjet/laser printers seem to work perfectly so I've been focusing on the print driver and emulations. It took me a while to find a windows 7 driver-Epson fx series 1(136) that would support the utility draft print but the length of the page is 9 lines to long per page. I'm determining the page length by setting wprtdata-std-font = 1, then calling the "winprint-set-std-font", followed by a call to "winprint-get-page-layout" to determine the columns per page and page length. Before setting the font, i'm using the winprint-set-printer-ex to set copies, current-page size, etc. For inkjet printers, this work exactly as I would expect when doing page advance (top of each page lines up with the previous) but the okidata page length doesn't seem to match the paper selection setting but looks correct in the program. &
We are converting our code to the newest 9.2 version of Acu products and have ran into an issue. We have a grid on one of our screens that has a column's data-type set to U(04). In the previous versions this would convert data entered into that column to upper case. It seems that in the 9.2 version this no longer works. Has anyone else had this issue? I know that I can program around this but should not have to do that. Thanks for any help.
We have a program that creates a form letter using Microsoft Word, what we need to do is add a image to the header section of the letter. I have tried all that I can to make this happen but can't seem to find the correct logic. Below is a snip of code that I have made work to add an image to the top of the letter but this is NOT in the header section as I need it to be...Thanks for any help! MODIFY wrdSelection Goto(wdGoToLine, wdGoToFirst). MODIFY wrdSelection ParagraphFormat::Alignment = wdAlignParagraphCenter. MODIFY wrdDoc Shapes::AddPicture(  
Is there a way in visual cobol to do the following? public Boolean CheckIsInt (string passedString, out Int32 returnedInt) { return Int32.TryParse(passedString, out returnedInt); }#TranslatefomCtovisualcobol#VisualCOBOL
I've got this error when I was trying to build the library, it's at the goback keyword -verb- program-id. ExecuteTransaction as "CoreBanking.Transactions.ExecuteTransaction". data division. working-storage section. copy 'Records\\TransactionRecord'. 77 operation-code pic X(10). 77 result-code pic X(50). 77 debit-account-balance pic S9(10)V9(03) comp-3. 88 internal-accounti-id  
Hey, I startet learning cobol and get some problems withhin. To get in touch with the new language i wanted to run a sourcecode from the internet just to get a plan how cobol works. Now to the problem i got the code from a simple tictactoe game copied into the acubench but it doesnt work there are so many errors. did anyone of you could send me a working sourcecode from tictactoe for acubench.
Problem Under Unix, the traditional location of the license.vlt is the same directory as the product is installed, but where is the file found on Windows? Resolution The license.vlt is the file that holds all the license information for a particular RM product. Without the license.vlt file, the RM product will not run. The simplest way to find the file is to use the suptool1 utility that is installed in the SupportTools directory under the relevant product directory. Assuming that the RM Cobol development system has been installed into the default location, the command line to use is: C:\\Program Files (x86)\\Liant\\RMCOBOLv12\\SupportTool\\suptool1 productview The first line of the display will show the location of the license.vlt. For example the following could be displayed: Report for vault file 'C:\\ProgramData\\Liant\\RMCOBOLv12\\license.vlt' Starting with the release of Windows Vista, The default location changed from the product installation directory to: C:\\ProgramData\\Lia
Problem How can I define multiple record types in Relativity? Resolution The standard way to map a FD to multiple tables is to map a particular record type to a table. If the FD does not contain multiple 01 levels, or does not contain the right record type because redefines are used instead of different 01 levels, then new record types need to be defined in the catalog. This is done by creating user defined record types. See the "Defining Record Types" topic (and the topics to which it refers) in the Relativity Designer help file. An outline of the steps that are required is: 1. Add condition (88) items subordinate to the field that defines the record type. 2. Create a new record type for each of the seven different record formats. (From "Defining Record Types" topic, click on the link "Identify the data items within each record type structure.") 3. Define the filter for the record type. (From "Defining Record Types" topic, click on the link "Define a record type filter.") Note:
Problem As Relativity can be run in a client/server environment and does transmit user id and passwords between the client and server, what encryption does it use? Resolution When setting up the Relativity catalog that defines the mapping between the Cobol file and database tables, user id’s, passwords and groups need to also be defined to limit access to the data. With Relativity, it possible to configure it to run in a client server environment with client and server being on different machines. As data is transmitted between the server and client, a basic level of encryption is used. When the catalog is created, a proprietary encryption method is used to store the file to table mappings, the user groups, the user id’s and the passwords. This is based on the SHA-0 hash function methodology. The connection protocol used between the server and client, when they are different machines is tcp of the tcp/ip protocol. The user id and passwords that are transmitted are encrypted u
Hi, First of all, I am running out of time due to the continuous failures for no reason!!! This time I have this (please see code here). Please Help me out in this, I think the programs seems to be good form syntax perspective but, I don't know what's going on now! Best Regrads
I have forgotten to upload the Programm.
Hi, What is this type of project "Procedural Multi-Output Project" is all about? When should I use it and how to? Regards
Hi, Could anybody please help me in automating this task using the OpenESQL Assistant for ADO.NET mode, since I have to rewrite the same code every time with slight changes such a cursor name and the query of course exec sql declare all_accounts_cursor dataset cursor for select * from account end-exec. exec sql open all_accounts_cursor end-exec. exec ado get cursor all_accounts_cursor into :accounts-dataset  
Is there a way in Visual Cobol for .NET to specify a directory path somewhere in the project properties? As an example, we have a copybook in a program as follows: K:EMPESLCT.WS The K: drive on our server houses all of our source code and copybooks and each 'project' has its own sub-folder on the K: drive. In our old command line version of MF we would run a batch file for each individual project that would change to the appropriate directory: ex: K: cd\\source\\proj1\\ Now we would launch the old workbench from K:\\source\\proj1\\ and any reference in our programs to K: would be fine. If I import this old code into Visual Cobol for .NET how do I tell the environment that any reference to K: should really be K:\\source\\proj1 ? When I am trying to compile any of my programs I am getting 'Unknown Copybook' errors because it is looking in the root of K: instead of K:\\source\\proj1 Hopefully this hasn't been too convoluted! Thanks
Hi, I'm trying to call a procedural COBOL program that is using a COBOL record, in C# the record is represented as String so how can I manipulate the record and be able to fill it and extract it as well. The procedural program is managed -not native-. Regards
I could not download vs cobol pe from mf site went to cnet I did register, however, trying to down load from mf site.In the email I got there was no activation code. How can I activate. Also, Visual studio says it cant locate license. What should I do? Opasman
Occasionally the compiler doesn't like this piece of code. I then recompile it and the error goes away. method-id SetEmailPriority public procedure division using by value mailPriority as type MailPriority = type MailPriority::Normal. set self::EmailPriority to mailPriority. end method. #VisualCOBOL
We have a variable defined as Pic X(5) Comp-X. This is able to handle 13 digits, which it does. However, whenever we move this value to a alphanumeric field, which is defined as Pic X(13), the high order digit is dropped and the field contains 12 digits and a space. If we would move the comp-x field to a numeric field, that is defined as Pic 9(13), and then move this to the alphanumeric field it moves all 13 digits correctly. There seems to be a bug in the way that Micofocus moves the comp-x field to alphanumeric. Is there a compile setting that must be used to get the correct behavior?
I am having an issue installing the RM/COBOL compiler. When I try to install, I receive this error message: ERROR 1923.Service Liant RMUC Service v12 (RMUCS) could not be installed. Veryify that you have sufficient priviledges to install system services. I don't know why I am getting this message, I have administrator priviliges on my PC. I am trying to install on a Windows 8.1 machine. Any help would be GREATLY appreciated!!!
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.