Browse all forums dedicated to the Rocket® COBOL product family.
Recently active
Problem: Although there were no compile and link errors, the build failed and displayed the following error message in the Output window: Error 5487 Failed to write the updated manifest to the resource of file "obj\\x86\\Release\\Program1.exe" Resolution: This issue is caused by some antivirus software that prevents the .exe or .dll files to be created on the machine, so the solution has to be addressed with the vendor. In the meantime, the workaround is to disable the antivirus software during program build or to configure your antivirus software to exclude your project folder and its subfolders from its scan.
Problem imtkmake -genwsdl generates code for the first endpoint, how can you make use of the second endpoint? In a WSDL file used to generate the COBOL Proxy, the service has different endpoints (See below).<wsdl:service name="DosCom_1_SOAP.serviceagent"> <wsdl:port name="ControlerAdrPstlAssiste_1_s12-edpt" binding="tns:ControlerAdrPstlAssiste_1_s12-edptBinding"> <soap1:address location="http://localhost:12345/esb/service/DosCom_1/ControlerAdrPstlAssiste_1_s12"/> </wsdl:port> <wsdl:port name="ControlerAdrPstlRNVP_1-edpt" binding="tns:ControlerAdrPstlRNVP_1
Problem Compiling the proxy with SIGN(EBCDIC) directive, causes a return code returned by the proxy of 2000 instead of 0. The problem is linked with xs:integer definition in the WSDL file that generate S9(18) COBOL data definition.If the SIGN(EBCDIC) is set, the content of the input S9(18) COBOL variables generate this SOAP Issue. Resolution Currently the generated client proxy must be SIGN(ASCII). SIGN(EBCDIC) is not supported for imtkmake webservices.
I want to use the save-as dialog of the web-browser control passing the right path and I'm doing it as described in the guideline: SetFILE-NAMEto the path of a file to be used with the Save As operation. The value of theFILE-NAMEproperty is cleared after the Save As operation is complete. So I tried: modify my-web-browser save-as=1 filename="g:\\temp\\my-foto.jpg". But the dialog always starts in the last accessed folder and there is no infuence on the file-name neither. Is there a solution to this problem ?
I have just recently downloaded visual studio 2015 and visual cobol. when I try to create a project it gives me the following error - the cobol checker currently installed does not match the cobol CodeDOM. please install the latest checker fixpack. I have googled for information on the CodeDOM and the checker fixpack and cannot find anything. Can you help me with the resolution to this problem? Thanks - John
Problem: Working on Windows 10, the default printer is changed when the application closes and the runtime is shut down. For example: the default printer is set to PRINTER1. The COBOL program sends a print to PRINTER2.After the run, PRINTER2 becomes the new default printer. This never happens on Windows 7, where the system settings remain unaltered. Resolution: This appears to be a "new feature" of Windows 10, rather than an issue within the ACUCOBOL-GT runtime. Some versions of Windows 10 have a switch called "Let Windows manage my default printer". When turned ON, the last used printer will become the new default printer in the system. Here is a link that explains this "feature" and how to turn it off: http://www.tenforums.com/tutorials/26138-printer-turn-off-let-windows-10-manage-default-printer.html Briefly speaking: Open Settings -> Devices -> Printers & Scanners (on the left side) On the right side there should be a section that says: "Let Window
I feel silly asking this but I think I remember seeing a current Micro focus document or manual (.pdf) referenced somewhere in Community or SupportLine via a link that described and gave examples of which COBOL elements in native programs and link libraries needed to be changed in converting to managed COBOL. Does this ring a bell with anyone? I've run numerous searches in both sites, but no success. I HAVE found "Object-Oriented Programming for COBOL Developers" (.pdf,2015) but this is not what I think I remember seeing as it is object-oriented in general and not specifically for managed COBOL. The pseudo-title stuck in my head is something like "Converting Native to Managed COBOL". Any suggestions will be greatly appreciated!
We are migrating Workbench 4.3 COBOL to Visual COBOL 2.3 using Native Project. The programs have been in production since 2001. We are using the Sybase precompiler COBSQL/COBPRE and have the database connection information in SQL.INI file. I successfully tested connection to Sybase with ISQL command including a table selection. However VC does not seem to identify the use of SQL.INI for connection. I am thinking this is a configuration issue. Any thoughts would be appreciated. The program uses the following syntax. Host variables do get set properly. EXEC SQL CONNECT :CA-SYB-LOGIN-ID IDENTIFIED BY :CA-SYB-PASSWORD USING :CA-SYB-SERVER-NM
Hello, We are in the context of Oracle to PostgreSQL migration testing, we are in the process to realise a POC with Cobol progs accessing PostgreSQL; We currently use Oracle's unix precompiler , does it exist an equivalent precompiler for PostgreSQL or do we have to use ODBC precompiler ? thanks for my beginner's question !
Hi, please I need to convert file from UTF8 to Windows 1251 code page? Can be used routine CBL_STRING_CONVERT here? And if it's so, how is proper call? I still got status-code value '3' - unsupported conversion#COBOL
We’re having some strange performance issues when querying alpha columns. Even if it is key field it is much slower than when comparing numeric data. The below table illustrates what we’re seeing. I realise you’ll be unfamiliar with the schema but was trying to show introducing an alpha query to the WHERE clause really slows things down. The OrderNo is the Primary Key for the table. Is there anything that can be done to address this? Either in the configuration or recommendation in the way we query Relativity? Query Execution Time (Seconds) select orderno from [CCSI_CCSIFW].[ccsifw]..opheader where orderno = 'A300001' 20 select orderno from [CCSI_CCSIFW].[ccsifw]..opheader where BillTo = 5393 and shipTo = 5394 and Salesm
Migrating Workbench 4.x to VC2.3. Created Native project with precompiler COBSQL for Sybase 12.5 imbedded SQL. Using EXEC SQL CONNECT statement for database connection however VC is not recognizing SQL.INI file to make connection. Sybase Open Client is working properly as I tested with command isql -v. Returns proper version info. Also using isql to select table data. I am assuming this is a VC 2.3 configuration issue however I have not found a solution. Thanks for any discussion.#COBOLSQLCOBSQL#Sybase#connection#COBOLVISUALCOBOLMIGRATION
I would like to ask for help with creating an XML document, please. Basically, I need to "wrap" an existing message with XML. Here is an example of what a complete message needs to look like. <AutoBOD> <AutoBOD xmlns="schemas.oxlo.com/.../SendFordFile"> <Routing> <SenderId>999X9999</SenderId> <DestinationId>FM</DestinationId> </Routing> <Body> <SendFordFile> <Detail><![CDATA[ 1HDR-91378-465-81A378-COMBAT -KA-00000000-6.00-FS -OXLHUB ENDFAS070101271378ACME AUTOMOTIVE 32154 BENTFORTH ROAD ALMA CO80020000091378^> 0001000036759 > 0002000002100 > 0003000006319 > 0004000001500 > 0005000000100 > 0006000000100 > 0007000000000 > 0008000106060 > 7967000000025 > 7968000000075 > 7969000000125 > 7970000000021 > 7975000002434 > 1EOF-FS11010602-03064-292143333-465- ]]></Detail> <FileName>O1125328.F465</FileName> </SendFordFile> </Body> <
Hello, please when I try to do this: call "CBL_DIR_SCAN_START" using by reference handle pattern by value search-attribute flags returning search-status end-call I got error 173 - Called program not found I got this message on environment where I have Net Express 3.1. On the other one, where I have Net Express 5.1 everything work fine.#COBOL
Hello, I upgrade my PC from Windows XP to Windows 7, also I upgrade my Net Express 5.0 to 5.1, with WrapPack #06 #07 #08,, I’ve used RETAIN to keep my License. When the upgrades completed the product is licensed to the correct person and correct company, but Serial Number and Works Order Number not shown, they're “BLANK”. In the License Management System Configuration the License status = Net Express Full license. Next day I surprised the license is corrupted, I check the License Management System Configuration I found the license is not setup correctly, when I close the License Management System Configuration and I go back to Net Express I found the license is OK, and in the License Management System Configuration status = Full license. I don’t know what causes this error and I’m afraid it may occur again, anyone can help.
Hi, i have this in c#: DataGrid grid = sender as DataGrid; DataGridRow selectedRow = grid.ItemContainerGenerator.ContainerFromItem(grid.SelectedItem) as DataGridRow; selectedRow.FontWeight = FontWeights.Bold; What is this in Visual Cobol Code? Best Regards Bernd
Using an arithmetic statement with a variable of type decimal generates an error message ‘error COBCH0034 : Operand DECVALUE3 should be numeric’. Using the MOVE statement does not generate an error. I can do arithmetic operations using the SET statement but it would be easier using arithmetic statements when converting existing Cobol programs.
In Visual Studio 2013 (Version 12.0.40629.00 Update 5) editor, with [Micro Focus COBOL] Tabs set to 4 & 4 and Insert spaces on .... ... you can highlight a block of code (that let's say starts in column 12) and hit the tab key to indent it, and it will move it to column 16 ... which is the expected / desired result. However, if you hold down on shift and hit the tab key to Unindent it, it moves it back to position 13, not back to the expected / desired position 12. It appears that this only happens if the "block" consists of more than one line. If it is just one line, it handles it correctly. Thanks.
Hello, please I am using commnad CALL "SYSTEM" USING W-CMD-LINE where in W-CMD-LINE is for example DIR commnad Is there any possibility to get return value from CALL "SYSTEM" ? To get DIR command output directly to COBOL? Now I have to do: 'DIR > out.txt' and then read this file in my program.#COBOL
Hello!! Visual cobol shows me this error when I click PLAY to see what I have programmed. I would appreciate some help.. I add an image capture under this text, thanks a lot!! #debugvisualcoboltarget
Hello, in Micro Focus COBOL I am creating a text file. File is defined like this: select bankd-file assign to f-bankd-file file status is wx-fstat organization sequential. fd bankd-file. **************** 01 bankd-rec pic x(01). After that I do standard open output bankd-file and write Is there any possibility to setup code page for file? It's created in utf8 (I think by default) but I importing this file to environment which needs this file in cp1251. Or is there some easy way to convert file encoding? I can't use any third party solution. It must all be done in COBOL (or some Windows system command line routine). Thanks for any help.#COBOL
Problem: Using ACUCOBOL-GT Runtime version 10.0.1 a thin black bar is seen on the right edge of some screens. Resolution: The issue has been identified as mishandling of the decimal portion of the screen size parameter and is in Development's queue for resolution. In the meantime the workaround is to use integer values for the screen size.
I use v10.0.0 AcuCobol call "C$XML" using CXML-ADD-ATTRIBUTE element-handleattribute-nameattribute-valueattribute-value-length.attribute-value is spacesattribute-value-length = 0 The attribute value will have the previous attribute value. Is this a bug in AcuCobol 10.0.0? When attribute-value-length is set to 1 attribute-name = " " will occur in the xml file.
When we have assigned the print file to PRINTER? and have had our LPX1 in the DEFINE-DEVICE with LPX1 and port info it prints to the printer if that is our default printer. However we get dialog errors that it has failed and been suppressed because BIS suppresses the dialog box.
we are trying to print directly from a BIS service program to a specific windows network printer.
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.