Browse all forums dedicated to the Rocket® COBOL product family.
Recently active
Hey, Sry for my bad English I want to know, if i have a PDF and want to be print it with the WIN$PRINTER routine? But i found no way to set the file path into the routine. Which is the command for this or have someone a god example for this? Thx Mittim.
I've got Visual COBOL 3.0 for Visual Studio 2017. In theory, would it be possible to program in Visual COBOL something like that shown in the attached YouTube (which was programmed in C ). Yes, I want to do it in COBOL, just because. Any advice or examples would be greatly appreciated.
To whom it may concern, I have just installed the ACUCOBOL runtime version 7.2 for linux on my machine and it does the following when I run a program: I type the following command: runcbl test1.acu ...and it gives me the following: Missing required termcap function 'cm' in entry for 'linux' I installed the a_termcap file in the /etc directory and set the A_TERM and TERM variables to linux in my /etc/profile file, but to no avail. I need to know how to fix this issue because I tried different things and it doesn't work. I also tried suppressing terminal initialization by typing in runcbl -b test1.acu and it gave me a memory access violation error as well. Jack S.#AcuCobol
Not sure if this is the right forum for this question but the COBOL forum does not seem to be active. If I want to write OO COBOL programs (not .NET programs) is there an OO Standard to which MF compilers adhere? I have an old copy of MF Object COBOL (32 bit) and also Visual COBOL PE, which, I presume, supports OO programming. To what extent do MF compliers such as the two mentioned adhere to any standard and/or provide extensions to the standard? Thanks Paul
Eu estou tentando desserializar um XML, mas estou com problema. Consegui alguma coisa mas estou "enxugando gelo: eternamente". I'm trying to deserialize an XML, but I'm having trouble. I got something but I'm "wiping ice: forever." set wc to new System.Net.WebClient set wRetCTE to wc::DownloadData(webAddr) set reg-sai to type System.Text.Encoding::UTF8::GetString(wRetCTE) try declare DSCTe = new type DataSet invoke DSCTe::ReadXml(w-nome-sai) *> aqui quebra o xml em uma DataSet set wCount to DSCTe::Tables::Count set wCountRows to DSCTe::Tables[0]::Rows::Count set wCountCols to DSCTe::Tables[0]::Columns::Count Aqui esta a parte complicada, como movimentar para variáveis o conteúdo dos campos. Na imagem destaquei toma3 alí existe mais um "nível" como ter acesso a isso. Here is the tricky part, like moving the contents of the fields to variables. In the image I highlighted toma3 there is another "level" as having access to it
Eu estou tentando deserializar o Json, abaixo I'm trying to deserialize Json, below { "ctes": [ { "cnpjTransportadora": "76080738013318", "cnpjUnidade": "52202744000192", "numero": 74512, "cst": 0, "notas": [ { "valorNota": 3600, "cnpjEmissorNota": "52202744000192", "observacao": "Cobranca: Bancaria / Pedido: 1141173 / Vend: 184 / OC: 22313 - LOCAL DE ENTREGA: RUA SAO BENTO SN , BAIRRO BAU CUIABA MT CEP 78.008-120 FUNDOS DO HOSPITAL FEMINA. RECEBIMENTO DE SEG A SEX DAS 07:00 AS 11:30 E DAS 13:00 AS 17:00. / CONTRIBUINTE INSCRITO NO ESTADO DE MATO GROSSO PARA FINS EXCLUSIVOS DE RECOLHIMENTO DO ICMS, NOS TERMOS DAS ALINEAS C DOS INCISOS I E II DA CLAUSULA SEGUNDA DO CONVENIO ICMS 93/2015 - INSCRICAO ESTADUAL MATO GROSSO No 13.652.076-6 CADASTRO DESDE 07/10/2016;Valor aproximado Tributos Fed: R$ 606.24 - Est: R$ 648.00 - Mun: R$ 0.00 Fonte: IBPT;ICMS/Interestadu
I need to generate an Excel sheet with AutoFilter activated automatically.Any ideas ?Thank you
Hi MF analyser team, I am facing the below problem. This is the problem mentioned below, can you let me know how to resolve this. " Can not create new Workspace C:\\Users\\dxt117\\workspace\\analyser Unable to connect to CreateWorkspaceEx: create connection Open ADODB.Connection: The specified provider was not found, it may not be installed correctly.in ADODB.ConnectionClass.OpenString ConnectionString, String UserID, String Password, Int32 Options) in MicroFocus.MW.API.Repository.rntConnection.Init (Object.xDB) "."
Hi, I have created the below resource definition and am trying to loaded it into the dfhdrdat file. But after restarting the server i am not able to see the entry in the PCT:- DEFINE TRANSACTION(ABCD) GROUP(MCOASM)DESCRIPTION(TEST SBCD) PROGRAM(ABCDPGM) TWASIZE(0) STATUS(ENABLED) DYNAMIC(NO) PRIORITY(0) SPURGE(NO) TRANCLASS(DFHTCL00) DTIMOUT(0) INDOUBT(BACKOUT) DUMP(NO) TRACE(YES) RESSEC(NO) CMDSEC(NO) TRANSEC(01) RUNAWAY(SYSTEM) the output logs:- ***--- MTO resource definition load utility --****** Input file processed : test.txt MSS target RDO file : """C:\\Program Files (x86)\\Micro Focus\\Enterprise Developer\\etc\\cas""\\dfhdrdat"******PCT : ABCDGroup: MCOASMCASRB0004I Record added Please let me know what i am doing wrong.
Hi MF analyser team, I am facing the below problem . This is the problem mentioned below, can you let me know how to resolve this. " Can not create new Workspace C:\\Users\\dxt117\\workspace\\analyser Unable to connect to CreateWorkspaceEx: create connection Open ADODB.Connection: The specified provider was not found, it may not be installed correctly.in ADODB.ConnectionClass.OpenString ConnectionString, String UserID, String Password, Int32 Options) in MicroFocus.MW.API.Repository.rntConnection.Init (Object.xDB) "."
What is the lifespan of the XML Extensions cache? I presume that it is for the life of the rununit but I don't see that in the Users Guide. Experienced an issue where we changed the number of occurs in a record that is being exported/imported to XML and multiple users began experiencing errors due to XML data in the OCCURS portion of the record not conforming to the record image. thought we would be ok to change the program as it is dynamically called (i.e. CALL'ed and CANCEL'ed at each invocation) but we still had the error for users that previously executed either the import or export functions. I presume this is due to data in cache no longer matching record image in recompiled program. We run with the default of cache enabled (according to Users Guide). For efficiency's sake, we don't want to disable caching, but need to figure out where we need to insert a FLUSH of the cache to ensure that if the called program is recompiled, the p
Hi Our Objective is to consume the WCF Service Created in .NET 4.5. We are trying to Consume the Same WCF Service in Visual COBOL. As per my initial understanding, To achieve this in Visual COBOL, We have couple of questions: 1. Can we consume the WCF Service(.NET 4.5) in NATIVE project created in Visual COBOL? If Yes ? Then how to do that? Some Example of thread will help us. 2. Can we consume the WCF service(.NET 4.5) in Managed project created in Visual COBOL?. If Yes ? Then How? Some Example or thread will help us. Thanks Charan
Hi Using VC 2.3 for VS Community 2015, we need to send a digitally-signed SOAP XML to an Irish Goverment website and process the response we get back, which should be more XML in another SOAP envelope. The application is a Windows Forms app. We use System.Xml, System.Security.Cryptography.X509Certificates, System.Security.Cryptography.Xml, etc to create the SOAP message. What I have tried so far is the below: method-id SEND-SOAP. 01 Client type HttpClient. 01 Request type HttpRequestMessage. 01 Response type HttpResponseMessage. *01 Uri String. 01 Uri type Uri. procedure division. set Uri to new Uri("https://???.ie/..."). *>> actual URI replaced here set Client to new HttpClient(). set Request to new HttpRequestMessage(type HttpMethod::Post, Uri). set Request::Content to new StringContent(theMsg, type Encoding::UTF8, "application/soap xml"). *>> theMsg is the SOAP envelope string * set Response to Client::SendAsync(Request) as t
I need to list record details on an .aspx page. DataGridView is not available for .aspx. I need a table with 4 columns and an infinite number of rows. Which item in the Toolbox is the best (and easiest) for me to use. Many thanks
CES Daemon and mf_CCITCP2 ire generating an exception when I Attemp to call a service, from gladfish. To solve I have to restart each hour whith this script net stop mfcesdnet stop mf_CCITCP2net start mfcesdnet start mf_CCITCP2
I have an XML with windows-1252 encoding. The first row of XML file is: <?xml version="1.0" encoding="windows-1252"?> When the instruction call "C$XML" using CXML-PARSE-FILE, filename is invoked, it return error "Invalid XML file..." There is a "Cobol" way to change the encoding from windows-1252 to UTF-8? Thanks#XML#cxml
Hi, Currently I am using NetExpress 5.1 under Windows 7 and able to compile and debug cobol programs successfully in the project work. Now I got a new laptop with Windows 10 and i installed NetExpress 5.1 (automatically it installs 32 bit) and Wrappack 10 in Windows 10 machine.I am able to compile the cobol programs successfully. But when i start to debug it by using my test run in windows 10, the main program is not popping out (displayed) in the Net Express screen for debugging but the programs runs successfully in the background and output is looking fine. I am not sure why the main cobol program is not invoked through the debugger ?But the same test run is running as expected in Windows 7 machine and i am able to debug the main program successfully. Could any one help me regarding my question or give some light where can i find the error or info, why the program is not invoked in the debugger? Note: 1) I am aware that Netexpress 5.1 is not compatible with Windows 10, but reading th
Visual Studio 2013, Visual COBOL 2.2 Please confirm as to whether this is expected or default VS behavior or not. Assume a Native solution with two projects and a Managed solution with two projects It appears that Visual Studio behaves differently on Native multi-project solutions vs. Managed multi-project solutions in respect to the following: When you click DEBUG at the top menu of VS and then choose either Start Debugging or Start Without Debugging ... on a Native solution, it will build only the first project (program) (the one designated as the start-up-project) of say, a two-project (two-program) solution, before it starts it, whereas on a Managed solution, it will build both projects (programs or classes) of say, a two-project solution, before it starts it. On both the Native solution and the Managed solution, the Configuration Manager has Build checked for both projects of each solution. Thanks, Austin
I am generating a word file replacing the fields using the @ variable @ from acucobol extend 9.2.5 and sending it to print, I currently use the compando to print MODIFY word-doc @PrintOut () but now I need to print the document in a printer for both faces but I have not given how to do it or what command to use. I would appreciate the help.
Is it possible to install Visual COBOL for Eclipse on Ubuntu? If so, how do I do that? Thanks in advance.
I use NetExpress 3.0.14 Runtime on a Windows 2003 Server. I can write Index-Files only till 1 GB. After Data are going to loose. Their ir NO Error. #NetExpress3.0.14#Indexfilebiggerthan1GB
I get a COBOL Net Express 3.0 Version and need to know how to compile and link. Anyone have a PDF or another Paper ? #cobolnetexpress#Windows#netexpress#documentation#NetExpressDocumentation#COBOL
In the last few years i've been working developing web applications(CGI) with NetExpress. We use the Solo Web Server which allows to debug the application on the same machine we used to develop them. Recently I've been trying to migrate one of these applications to Visual Cobol for academic purposes. As Solo Web Server is not available on Visual Cobol i'm using the Apache2. When i try to run any native cobol program in the same machine i've used to develop them he's throws the follow error: Execution error : file ''error code: 244, pc=0, call=1, seg=0244 Licensing initialization error I checked the services Micro Focus CES daemon and Micro Focus Directory Server are running on the machine. I checkedall the cobol envirioment on apache httpd.conf and they are the same cblpromp.exe. When the program is called from console line he runs as expected. I'm using Micro Focus Visual COBOL 4.0 PE for Visual Studio 2017 Patch Update 01 on Windows 10. Tks,Adrian
Here is below is the config file I changed to use the ODBC driver. When I run the program return the message. File status code 9D,18 [DBNETLIB]SSL Security error. I want to confirm with your team, acu4gl version 811 support TSL1.2 or not support? # Acu4GL File Interface!copy ..\\etc\\cblconfi_mssql A_MSSQL_ODBC_DRIVER_NAME ODBC Driver 13 for SQL ServerA-MSSQL-DEFAULT-CONNECTION hkidwposdb01\\posdev02A-MSSQL-DATABASE csdata11_66A-MSSQL-LOCK-DB aculocks#A-MSSQL-LOGIN csuser#A-MSSQL-PASSWD csuserA-MSSQL-NT-AUTHENICATION TRUE
Problem: When debugging an application using a core dump from cblcore, the Visual Cobol GUI class library is seen as part of the call stack. How can this be debugged? Resolution: The GUI class IDY files are needed in order to debug, so the class needs to be compiled to produce them. Copy the "guicl" folder located in the directory below, into another directory. C:\\Program Files (x86)\\Micro Focus\\Visual COBOL\\cpylib\\guicl\\ Open the contained project apiguim.cblproj with VCVS and compile it. If windows.cpy is missing, search for it in C:\\Program Files (x86)\\Micro Focus\\Visual COBOL\\cpylib and copy it into the project directory. If the compilation gives error "LINK : fatal error LNK1181: cannot open input file 'imm32.lib'", make sure the IDE can find the following files: comctl32.lib comdlg32.lib shell32.lib For a Windows 10 machine, they are located in the following directory: C:\\Program Files (x86)\\Windows Kits\\10\\Lib\\10.0.16299.0\\um\\x86 The s
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.