Browse all forums dedicated to the Rocket® COBOL product family.
Recently active
ERROR: (11) Cannot find C runtime library [cobollink] Link complete with errors [cobollink] [cobollink] Linking EDSUBYT.dll... [cobollink] Micro Focus COBOL - CBLLINK utility [cobollink] Version 6.0.0.69 (C) Copyright 1984-2020 Micro Focus or one of its affiliates. When we are trying to compile we are getting above error we don't why.
I use a excel.def for reading an ?.xlsx. The program is reading the whole document and after that it is renamed to an other directory. This is done with CALL "RENAME" file-type "S", and the STATUS PIC 9(09) COMP-4. In STATUS is a zero but the document is not to the other directory. Is there a way, when opening the document, to know if an other user has opend the same document?
Hi - I am trying to call API using mirth as connector. COBOL Statement [fAILING with HTTP-RESPONSE = 500] CONTENTTYPE=application/json POST-ADDRESSD is 250 char CALL "HttpPost" USING POST-ADDRESSD CONTENTTYPE REQUEST-PAYLOAD RESPONSE-PAYLOAD GIVING RESPONSE-STATUS. Curl form linux command line is working fine syntax: curl -X 'POST' 'url' -H 'accept: application/json' -H 'Authorization: Bearer token' -H 'Content-Type: application/json' -d '{payload}' Question 1. I am not able to find documentation on RMNet. Can you please route me to correct direction ? 2. How to pass token to httppost ? 3. Is there way to generate curl syntax from RMNet [my understanding is RMNet is wrapper for curl] #curl#RMCOBOL#RMNet
Is there docu for how to set/ work with the tabstops? I use Insert spaces and not Keep Tabs. Source format ANSI Format. Tab size is 4 or 8 but makes no difference. Tabs on 7, 8, 12, 22, 32, 45,47,50,54, 73 and 81. I see them in the ruler. In Overwrite mode OVR on an existing cobol line, starting on column 1 the tab goes to 7, 13, 25, 49 and after last character. 13 minus 7 is 6, 25 minus 13 is 12, 49 minus 25 is 24.What is the logic? New line under a existing and starting on column 1, the first tab goes to 7 then to 8 and that is oke, but then to 9, to 13,23,33,46,48,51 and 55. That is just allways 1 position to far. The problems are started a few years back, when a complet new editor was introduced.
Migrating from Server Express 5.1 on RHEL to Visual Cobol 6.0 on RHEL. While COBOL programs got smoothly imported into Visual COBO need help as to how to handle the SOAP interfaces (CAR files)
Hi, I am working for Net Express to Visual Cobol migration and I am getting this '174 Imported file not found: (CobWifeDll.dll)' error for one of the component . Earlier I was getting load error '173 Called program file not found in drive/directory' for 'CobWifeDll' while calling this dll So I have declared a procedure-pointer and set up the entry point to this dll, Now I am getting this '174 Imported file not found: (CobWifeDll.dll)' error. link to this dll is present in the path variable. Run time Model is shared in Cobol link tab. This particular dll contains the functionalities for the communication between application program and and the screens. Can you please help me to resolve this issue? Thanks in advance.
I'm Trying install Relativity 12.07 64 Client, when i select the server name I receive this error. Is anything I missing?. Is there any troubleshooting manual to fix the error. First scenario, install Data Server and Data Client in the same Windows 10 machine. Second scenario Data Server windows server 2016 and Data Client Windows 10. In Both cases I receive the same error. Thanks in advance. #RelativityODBC#Relativity
Hi there Usually I build my Project using "Project -> Build Project" in VC Eclipse IDE. I do have different SQL Pre-processor settings which are at file and folder level. Recently I wanted to try the ant build and when I checked the .cobolBuild file it doesn't seem to match my Project build settings. Particularly, the sql pre-processor settings are not updated in .cobolbuild file. Is this a manual activity? It is very difficult to update the .cobolbuild file with more than 3000+ source files. #VisualCOBOLEclipse#VisualCOBOL#CobolEclipse#cobolbuild
Hi there I have Visual Cobol for Eclipse 6.0 installed in my PC. I wanted to build my project from command line instead of using Eclipse IDE. I am trying to write a script which can automate the build in my local PC. I have the mfant.jar in the following location "C:\\Program Files (x86)\\Micro Focus\\Visual COBOL\\bin" and I do have bin64 folder "C:\\Program Files (x86)\\Micro Focus\\Visual COBOL\\bin64" in which i don't have the jar file. So i marked the bin folder in Classpath and tried executing the below command C:\\project1\\> ant mfant.jar -f .cobolBuild -DforceCompile=falseFocus\\Visual was unexpected at this time. Please advice on how we can build the project from command line. My PC info 64-bit operating system - Windows 10 - Build 1909 #VisualCOBOLEclipse#VisualCOBOL
I am using Rmcobol v12 for Linux and we just purchased the xml extensions so I can work with XML files. I am trying to create an xml file with the attributes inside the main tags, so I am assuming I need to use a external stylesheet on my XML EXPORT statement. When I do it only prints the first line, and my attributes are blank. If I don't use the stylesheet then it creates the whole xml file with my data, but the attributes are not in the proper format. My stylesheet was generated on a website that converts an XML file to XSLT. If anyone has any ideas, I would very much appreciate it. I am new to using xml extensions. xml file generated: (only get the first line) <?xml version="1.0" encoding="UTF-8"?><asap:AccountServicesTransmission xmlns:asap="urn:us:gov:treas:fms:Payment:AccountAuthorization:2.1" CycleDate="" FileNumber="" TestIndicator="" TransmissionTimestamp=""/
Using Putty as the ssh terminal emulator for Redhat and when operators hold down the Shift key along with Backspace it brings in unprintable characters and corrupts the data file. I have tried keyboard mapping in Putty but can't seem to make Shift+Backspace just act like Backspace. Adis has the setting for Backspace but not Shift+Backspace. Anyone have any experience dealing with this or a suggestion on how to avoid the unprintable characters being returned into either numeric or alphanumeric fields. Thank you.
Hi All,is there a solution to get the current line number like C compilers do with __LINE__ ?Thanks.
We have the following request and we are looking for a solution: The screen consists of 3 parts: the header the body the footer Header and footer are always visible and are shown on the fixed location on top or bottom of the screen. The body contains different controls and can vary in size. So we need the possibility to scroll the body in case it exceeds the space left by header and footer. We already proposed a grid as our preferred solution but the user insists on controls. So our question is: Has anybody managed a scrollable part of a screen ?
Hi, I upgraded a project from a v2 project to version v6. I have change the ToolsVersionattribute in the .cblproj to 15.0 ***ToolsVersion="4.0" to ToolsVersion="15.0" After this change, I always have an error when i running the build. * Compiling C:\\AGE-VSTS\\vsts-agent2\\_work\\484\\s\\Lot\\Util\\CBL2SQL\\CBL2SQL.CBL ##[error]Lot\\Util\\CBL2SQL\\CBL2SQL.CBL(123,49): Error COBCH0860: Object references must be specified at 01 level C:\\AGE-VSTS\\vsts-agent2\\_work\\484\\s\\Lot\\Util\\CBL2SQL\\CBL2SQL.CBL(123,49): error COBCH0860: Object references must be specified at 01 level [C:\\AGE-VSTS\\vsts-agent2\\_work\\484\\s\\Lot\\Util\\CBL2SQL\\CBL2SQL.cblproj] ##[error]Lot\\Util\\CBL2SQL\\CBL2SQL.CBL(124,49): Error COBCH0860: Object references must be specified at 01 level Any idea? Regards Eric
When i use a cobol program as a pre-processor it works;ccbl32 -pg 'wrun32 nppp.acu' test40.cblWhen i use a binary (.exe) program as a pre-processor; ccbl32 -v -pg debug test40.cbl It reports; Start debugdebug.exe file not foundEven though the .exe is in the current folder Directory of V:\\vb\\debug\\bin\\Debug 09/06/2021 09:05 AM <DIR> .09/06/2021 09:05 AM <DIR> ..09/06/2021 07:49 AM 1,100 connect.sqd09/06/2021 09:05 AM 10,240 debug.exe08/06/2021 01:18 PM 189 debug.exe.config09/06/2021 09:05 AM 40,448 debug.pdb09/06/2021 09:05 AM 655 debug.xml09/06/2021 08:52 AM 81,502 out09/06/2021 08:47 AM 81,502 test40.cbl 7 File(s) 215,636 bytes 2 Dir(s) 1,912,336,302,080 bytes free
I am getting an 9DDC error when using DB Connectors to connect to by Database. I've figured that a 9DDC means it can't find the database, but what in my settings would be incorrect? I am using the same seetings when connecting to the Database via ADO and it connects correctly. Can a 9DDC mean something else as well?
Hi, im working to upgrade a old V2 projet to the new version of microfocus V6. When a change the ToolsVersionattibute in the cblproj, i have some error in compilation i change Project ToolsVersion="4.0" to Project ToolsVersion="15.0" (v15 is the toolsversion for VS2017) This is the détail of the error: Compiling C:\\AGE-VSTS\\vsts-agent2\\_work\\484\\s\\Lot\\Util\\CBL2SQL\\CBL2SQL.CBL ##[error]Lot\\Util\\CBL2SQL\\CBL2SQL.CBL(123,49): Error COBCH0860: Object references must be specified at 01 level C:\\AGE-VSTS\\vsts-agent2\\_work\\484\\s\\Lot\\Util\\CBL2SQL\\CBL2SQL.CBL(123,49): error COBCH0860: Object references must be specified at 01 level [C:\\AGE-VSTS\\vsts-agent2\\_work\\484\\s\\Lot\\Util\\CBL2SQL\\CBL2SQL.cblproj] ##[error]Lot\\Util\\CBL2SQL\\CBL2SQL.CBL(124,49): Error COBCH0860: Object references must be specified at 01 level C:\\AGE-VSTS\\vsts-agent2\\_work\\484\\s\\Lot\\Util\\CBL2SQL\\CBL2SQL.CBL(12
I have examined the .adb file and have a rough idea where it stores the offsets but it would be great if there was some doco on the layout.
Hi. I am trying to make an central cobol-programm to cakk only for db-actions. I just allways read the whole columns and switch it to cobol like in FD. So I can use my "sentence" again. It works. Reading, writing, deleting, updating. BUT: 1. If I call this "module" from a secound cobol-programm it says me: Cursor in use (SHARE). I tried dynamic cursor but this is still the same cursor-name and show me the same error. 2. I made 2 programs with div. cursornames on same table. I select a cursor with the same PRIMKEY for UPDATE. Normally first sentence must be locked. But I can open the sec. curs with same PRIMKEY and get NO SQLCODE. I need a information, that this sentence is been locked. Anyone an ideas?#ODBCESQL#Windows#cobolnetexpress
As described here www.microfocus.com/.../BKUSUSCOMPS074.html
When i have a discrepancy between my data base definition and my field definition i get an "Invalid descriptor index" error message in SQLERRMC.Is there anyway of identifying which field that pertains to? Thanks for any help
I am trying to query AcuXDBC from PowerShell. Here is the PowerShell script: $SqlCommand = "select * from kund;" $conn = new-object System.Data.Odbc.OdbcConnection$conn.connectionstring = "DSN=acuxdbc"$conn.open() $cmd = New-object System.Data.Odbc.OdbcCommand($sqlCommand,$conn) $dataset = New-Object System.Data.DataSet $results = (New-Object System.Data.Odbc.OdbcDataAdapter($cmd)).Fill($dataSet) Write-Output $results$conn.Close() But I get this error: Exception calling "Fill" with "1" argument(s): "ERROR [HY000] [TOD][ODBC][GENESIS](pos: 19 '... * from kund^;') - syntax error" The same query from odbcsql runs ok. Any ideas?#Windows10#CommandPrompt#AcuXDBC
Hi - We are using XML EXTENSION with RM/COBOL. This porcess is running fine for past 40-50 days. But today, suddenly started to notice below error: XML EXTENSION - 6 ERROR EXPORT/xx/xx/xml/EXxx-xxxxx.xslError: 38[10] - in function: TransformText[38] Called from line 14476 in CREATEXXMLREC(/xxx/xx/obj/CREATEXMLREC.cob\\), compiled 2021/MM/DD 10:55:51.[38] Export document name: /yyy/zzz/xmldoc/kkkk-20210525-\\12024500--a{01614f49-4f48-09a7-85c1-d7fb00eer8}.xml[38] Stylesheet name: /xxx/xxx/xxx/EXPORT-k.kkkxslcorrupted double-linked list COBOL STOP RUN at line ? in program XMLEXPORTFILE (/opt/rmcobol/xmlif.so).COBOL traceback at line 14476 in program CREATEXMLREC (/xxx/xxx/xxxx/CREATEXMLREC.cob) compiled 2021/mm/dd 10:55:51.COBOL traceback at line 1234 in program /USR/LNK/OBJ/EXTRACTLOG (/xxx/xxx/obj/EXTRACTF.cob) compiled 2021/mm/dd 10:32:50.corrupted double-linked list fatal interruptcorrupted double-linked list fatal interruptcorrupted double-linked list I am rerunning same file over
I am new to InstantSQL and I am running RMCobol on Linux 64bit. I am using InstantSQL to select columns from a table that is on IBM DB2 mainframe, which I am using an unixODBC driver manager. Any column that is defined as a CHAR, doesn't give me any values back on the SQL BIND COLUMN statement. The database has it defined as CHAR 9, NOT NULL and I have it defined as PIC X(9) in working storage to bind to. Any decimal columns that I have seem to work fine. The CUS_ID column is the one I am having issues with below. Any help would be appreciated. Working Storage. 01 DM-RATE-TABLE. 02 DM-DAILY-INT-AM-PER-HUN PIC 9(12)V9(9). 02 DM-INT-AM-PER-HUN PIC 9(12)V9(9). 02 DM-CUS-ID PIC X(09). Procedure Division. 100-CONSTRUCT-QUERY. SQL CONSTRUCT QUERY sql-QrySQL, "SELECT DAILY_INT_AM_PER_HUN, INT_AM_PER_HUN, CUS
Are the HttpPost & HttpGet functions available on Linux? I'm using version 10.2 of the extend runtime.
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.