Browse all forums dedicated to the Rocket® COBOL product family.
Recently active
I am creating a Web application in Visual Cobol 2017. Is it possible to use Bootstrap for the .aspx pages?Thank youShirley
HiHave anybody made a program (routine) that handles JSON in Cobol. It could by nice to have a copy doing the same thing that c$xml does for XMLBest RegardsSteen
We are using 10.2.1 and we are capable to print a pdf with c$pdf and everything his fine but i am searching a way to add signature to my pdf print his there someway to do that if yes may be a little sample will be appreciate
I have a multiple 01 file format to convert to oracle table Not getting an error, however, all the data on the table is null except for the key When processing in the debugger the values of data are displayed in the record fields *(( XFD FILE=PRGENLP3 )) FD OUTFILE30 LABEL RECORDS ARE STANDARD. *(( XFD WHEN PRGEN3-TLOCAL = "M" )) 01 PRGEN3-LOCAL-RECORD. 05 PRGEN3-KEY-LOCAL. 10 PRGEN3-TLOCAL PIC X(01). 10 PRGEN3-LOCAL-NO PIC X(02). 10 PRGEN3-SORM-LOCAL PIC X(01). 10 PRGEN3-CYCLE-LOCAL PIC X(01). 05 PRGEN3-FLAT-DED-LOCAL PIC S9(05)V9(02). 05 PRGEN3-EXPT-DEDS-LOCAL PIC S9(04)V9(02). 05 PRGEN3-LEVEL-LOCAL. 10 PRGEN3-LOCAL-AMT-1 PIC S9(06)V9(02). 10 PRGEN3-LOCAL-TAX-1 PIC SV9(06). 10 PRGEN3-LOCAL-DED-1
I installed Visual Studio 2017 Professional v15.9.7 on Windows 10 v1803, and then Visual COBOL for Visual Studio 2017 v4.0 followed by Patch Update #6. Today notifications within Visual Studio is telling me that v15.9.8 is available. Do I just download and apply it, or is there anything special or extra that I must do because of the presence of Visual COBOL?
Join us from 26th to 28th March 2019. Find more information here: https://www.microfocus.com/en-us/events/microfocus-universe/overview
Register now for ACU #DevDay Las Vegas: http://www.cvent.com/d/x6qmll
My license has expired for VC PE with message:"The following error occurred during the authorization processMG0012: Wrong product."I'm using Visual Studio 2017 Community Edition. How do I renew my VC license?ThanksPaul
We have recently upgraded our SQL Server 2008 R2 to SQL Server 2014. To support that, we have also upgraded the AcuGT runtime and Acu4GL from v8.1.1 to v10.2 accordingly. However, the program returns "File Status code 9D, 8152 - String or binary data would be truncated." error after upgraded to v10.2. After investigation, we found there is a column of a table which data length (Char(10)) is shorter than the definition defined in FD (Char(15)). This program did not return any error in Acu4GL v8.1.1 when FD and data length of column are not match if we would not update more than 10 characters in this column. But in v10.2, it will return error once we update data to the table. To solve this problem, we need to extend the column data length match with FD. But the problem is we don't know how many columns are not match with FD because we have more than a hundred tables in our system and we do not aware this is a problem in v8.1.1 before. Thus my question is, does Acu4GL has any configuratio
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
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.