Quantcast
Channel: Net Express / Server Express - Forum - Recent Threads
Viewing all 375 articles
Browse latest View live

MF system routine is missing

$
0
0

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.


Correct use of CBL_STRING_CONVERT routine

$
0
0

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

RE: Correct use of CBL_STRING_CONVERT routine

$
0
0

Hi,

CBL_STRING_CONVERT is used to convert between Unicode characters and ASCII/EBCDIC and isn't an all purpose code page conversion function.

There are methods to do this in .NET using Visual COBOL but if you are using a Net Express native application I am not sure if there is an automated way of doing this conversion. You might have to code this yourself by looking up the equivalent characters in a table.

Is this something you need to do one time for a migration or is this an on-going process that you need to support going forward?

How are you getting the UTF-8 characters into the program and are they all single byte UTF-8 characters?

PostgreSQL

$
0
0

Hello, We need to test the behavior of our cobol (LINUX Redhat server express) application with PostgreSQL database ;

Does Microfocus provide support for this DB ? And what type of connexion MF advice or provide  ODBC,other ?  

Does MF provide or advice for a pre-compiler ?

regards

NetExpress 3.1 / XML

$
0
0

Dear friends,

I wonder if it is to generate an XML file using NetExpress 3.1

Best regards

Rogerio Barbosa

RE: NetExpress 3.1 / XML

$
0
0

Hi Rogerio,

Net Express 3.1 does not provide for any internal method of generating XML files.

We first added the XML-IO preprocessor allowing you to directly read and write XML files starting with NX 4,0 and we first added support for the XML GENERATE statement starting with NX 5.0.

I would highly recommend that you upgrade to either the latest version of NX which is 5.1 or to its successor product Visual COBOL. Visual COBOL, in addition to the two methods I just mentioned also supports XML extensions which is the method introduced in RM COBOL.

Thanks.

RE: Display current time

$
0
0

please, try this...

77  W-N-HORA-HMS            PIC 99B99B99B99.

.

.

ACCEPT W-N-HORA-HMS FROM TIME                

INSPECT W-N-HORA-HMS CONVERTING ' ' TO ':'  

RE: Display current time

$
0
0

Georg,

Can you please be more specific about what it is that you are trying to achieve?

If you would like to display an active clock on the screen then you might want to look at using a status bar and refreshing the time on a timer click.

There is an example in NX 5,1 that shows how to use a status bar in the location

C:\Program Files (x86)\Micro Focus\Net Express 5.1\Examples\Dialog System\COMMONCONTROLS\STATUSBAR

This might be in a different location in your product version.


RE: Display current time

Display current time

$
0
0

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

Net Express is the old Micro Focus?

$
0
0

I last used micro focus in 2000, So Net Express is the old Micro Focus correct? I know that the company got bought out, not sure.....
I been away from COBOL for about 5 years and like to get back into it.
I am unemployed at the moment. I figure this would be a great way to refresh myself with COBOL
Used to work with CRM systems for a mainframe but used to do the bulk of the work using MicroFocus on a PC.

Suggestions on how I should proceed? 

Thanks
Rudy

RE: NetExpress 3.1 / XML

fileshare

$
0
0

Hi all,

I use NE 5.1 and want to use fileshare. What is the best Approach?

Replace PERFROM PARA with actual code

$
0
0

I'm using Net Express 5.1. I want to know is it possible to replace PERFORM PARA with the actual paragraph code. In the .lst file we get all the copy statements expanded , the same I want it for PERFORM STATEMENT. 

If yes please tell me what are the compiler options I need to set.

Comp-3 Compilation issue while porting Micro Focus cobol(Unix) to Visual Cobol(Windows)

$
0
0

Does all Data Types equivalent to Enterprise Cobol is supported by Visual Cobol??

We are migrating applications from Microfocus Cobol (Unix) to Visual Cobol(Windows) . We see compilation issue for Packed decimal fields.

Do we have any overriding compiler options or libraries which we need to add  to overcome


RE: Comp-3 Compilation issue while porting Micro Focus cobol(Unix) to Visual Cobol(Windows)

$
0
0

Micro Focus provides compatibility to Enterprise COBOL if you use the directive DIALECT"ENTCOBOL". Since you say you are having the problem moving from MF COBOL under Unix to Visual COBOL under Windows there shouldn't  be any compatibility issue as you are not moving from the mainframe.

Are you using the same set of directives in Visual COBOL as you were previously?

To which product are you referring when you say Micro Focus COBOL (Unix), Server Express?

What is the actual or error that you are encountering?

Thanks

RE: using .NET SDK in NetExpress 5.1

$
0
0

Can you please clarify what you are trying to do?

Although Net Express has an add-on .NET module that allows you to create managed code applications in Visual Studio 2008, it is quite outdated when compared to the Visual COBOL product which supports Visual Studio 2015 and the latest .NET Framework versions.

Are you using the .NET add-on in Net Express or are you trying to call this from a native unmanaged COBOL application in Net Express?

using .NET SDK in NetExpress 5.1

$
0
0

Hi,

we want to provide our bills with the GiroCode-QR-Code. For generating the QR-Code we might use the function "Girocode.dll" in the .Net SDK.

Please see below for an example how to use this:

FormatName[] imageFormats = new FormatName[] { FormatName.BMP,

        FormatName.PNG, };

 

    foreach (FormatName fn in imageFormats)

    {

 

        string bic = "SOLADES1PFD";

        string name = "GiroSolution AG";

        string iban = "DE23690516200012345600";

        Decimal amountBD = 15.00m;

        String purpose = "Zahlen mit Code";

 

        GiroCode.GiroCode giroCode = new GiroCode.GiroCode

        {

            BIC = bic,

            Name = name,

            IBAN = iban,

            Amount = amountBD,

            Purpose = purpose               

        };

 

        GiroCodeEncoder encoder = new GiroCodeEncoder();

 

        byte[] ba = encoder.encode(giroCode, null, null, fn, 250, 250, null, null);

 

        string fileType = fn.ToString();

        string filePath = "C:/temp/girocode." + fileType;

        File.WriteAllBytes(filePath, ba);

 

    }

Can any one convert this to Net Express Cobol code.

Thanks,

Silke

_mFerr3

$
0
0

Hi,

in server of our bank client have this error:

Micro Focus Net Express V5.100.0157                         
RUN TIME ENVIRONMENT Copyright (C) 1984-2008 Micro Focus (IP) Limited.         
URN AXCGG/AA0/00000                                                             


Load error : file '_mFerr3'
error code: 173, pc=0, call=1, seg=0
173     Called program file not found in drive/directory

All other programs(compiled in GNT format), MFSORT and even the same program (IBFMJOI) with other parameters\input file work regularly.

what can it be?

RE: _mFerr3

$
0
0

This error means that the version of the run-time, cblrtss.dll that is being loaded is not the correct version. This normally is caused by deploying an application on a Server 5.1 product version that is not at the same level as the Net Express version with which it was compiled.

Your mfsupportinfo log does not show that an actual Server product has been installed on that machine but that the PATH might include an older version.

Make sure that the Server 5.1 version is the same as the NX version.

Thanks.

Viewing all 375 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>