Browse all forums dedicated to the Rocket® COBOL product family.
Recently active
Problem: When attempting to access a multi-dimensional table outside of its subscript range, a “subscript out of range” error is not always generated at runtime. Given an array M_TABLE: 01 M_TABLE OCCURS 8. 02 D-TABLE OCCURS 8. 03 TABLE_DATA PIC X(5). And the Procedure Division statement: MOVE “DATA” TO TABLE_DATA (x, y). If the values of x and y were 1 and 9 respectively, a ‘subscript out of range’ error is not generated at runtime even though the value in y is greater than the second dimension of the table. The compiler directives that affect subscripting are SSRANGE and BOUND. " ">http://documentation.microfocus.com/help/topic/com.microfocus.eclipse.infocenter.visualcobol.vs2013/HRCDRHCDIR6Q.html?resultof="ssrange" " ">http://documentation.microfocus.com/help/topic/com.microfocus.e
Hi, what is wrong? I've been using visual cobol on windows 10 for ages and using the debugger. Suddenly breakpoints are ignored. This is really frustrating as I can't release a fix to a client without fully testing. It just will not stop on any breakpoints, even on the first line of programs. I'm running Exe, gnt, idy files. On the top menus '>Start' has [DEBUG] selected. My main exe is 'Ad_Booker.exe' and it's 'DEBUG' tab has 'start external program '.... \\DEBUG\\Ad_Booker.exe'. The ad_booker.cbl program just runs another program called 'DMENU03A' as below and that program has a break on the first line - everything is compiled to gnt/idy as it always has been and the gnt/idy for the first program definitely exists in the DEBUG folder and i have tried emptying DEBUG and rebuilding the whole solution. I have tried breakpoints on other bits of cobol code - nothing works, the programs just run without stoppi
In native COBOL since at least Net Express 3.0 through VC 2.3.2, the first two calls to CBL_DIR_SCAN_READ after a call to CBL_DIR_SCAN_START will return file names "." and ".." respectively. In VC 2.3.2 managed COBOL these two "file names" don't seem to get returned. Am I seeing the correct (and permanent) managed COBOL behavior? Don't get me wrong, this isn't a complaint or issue. I just want confirmation because if true then I can remove the IF test for these from my code.
Problem: New VISION indexed files created with ACUCOBOL-GT runtimes 10.0.0 and 10.0.1 cannot be opened nor read by runtimes of a previous version.When an OPEN is executed, the file status returned is 39,01. Resolution: File status 39 means that there is a conflict between the indexed file and the COBOL description of the file itself, used to execute the OPEN statement.The secondary error code 01 means that the cause of the mismatch is unkwnown to the runtime, since the status is returned by the host file system. The first action to take is to check the version of this VISION file, using the vutil tool provided within the installation of the ACU runtime.For example, use the following command-line: vutil32 -info -x NameOfTheFile If vutil returns "Incorrect file type", it may be useful to try with the vutil tool of the same version of the runtime that generated the file, for example 10.0.0 or 10.0.1. Again, execute: vutil32 -info -x NameOfTheFileIf no error is returned
Hello, there is a Customer demand for migration from Oracle to PostgreSQL with COBOL; Does a cobol microfocus precompiler exist with PostgreSQL ? regards.
Hi, Does any faced similar kind of issue when compiling using Visual Cobol Development Hub on Solaris platform? Undefined symbol ORACLE first referenced in file start_bevestiging_ppl.old: fatal: symbol referencing errors*** Error code 1 Any ideas? Thank You, Ramesh
Hi All, has anyone an idea to Display the current time in an active Window (Dialog System 3.0). The method <accept time> is not good enough. Thanks, Georg
Hello, I am trying to compile existing Server Express cobol code in Visual Cobol Development hub on Solaris platform. Having issues during compilation. 1. Syntax error. GIVING not allowed. This is the piece of code which is giving error. PROCEDURE DIVISION USING KCT-ID-IN, IGN-IND-IN, WS-CODE-AFK, WS-REDEN-AFK, SQLCA, ORACA GIVING WS-RET-CODE. Any help will be appreciated. Thank you, Ramesh
I need to sort a column of datagridview object using code after to fill it. Does anyone have any examples? Thank you
Dear friends, I wonder if it is to generate an XML file using NetExpress 3.1 Best regards Rogerio Barbosa
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.
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.