Quantcast
Channel: RM COBOL - Forum - Recent Threads
Viewing all 207 articles
Browse latest View live

Error Installing RM/COBOL Compiler

$
0
0

I am having an issue installing the RM/COBOL compiler.  

When I try to install, I receive this error message:

ERROR 1923.Service Liant RMUC Service v12 (RMUCS) could not be installed. Veryify that you have sufficient priviledges to install system services.

I don't know why I am getting this message, I have administrator priviliges on my PC.

I am trying to install on a Windows 8.1 machine.

Any help would be GREATLY appreciated!!!


32 bit Relativity client won't work with 64 bit utility

$
0
0

I have installed unixODBC and the Relativity client on Linux and can query the database using the relclienttest utility.

However, when I attempt to query the database using isql, I get the following error:

# isql -v mydsn
[01000][unixODBC][Driver Manager]Can't open lib '/usr/local/liant/lib/relclient.so' : file not found
[ISQL]ERROR: Could not SQLConnect

Needless to say, the reclient library is in the specified directory and is readable.

From extensive Googling of the problem, it seems that the issue is that the Relativity client is 32 bit and isql is 64 bit:

# file /usr/bin/isql
/usr/bin/isql: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.18, stripped

# file /usr/local/liant/lib/relclient.so
/usr/local/liant/lib/relclient.so: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), dynamically linked, not stripped

I am aware that there is no 64 bit client for Relativity.

How have others got around this problem?

RM Cobol Version 10 Compatibilit with Win Server 2008?

$
0
0

Hi, we are currently using RM Cobol version 10 on win 2003 server and would like to upgrade the win server 2003 to 2008 or 2008R2. Just wanted to know that the Cobol version 10 will be supported on win 2008 server or not? or do i need to upgrade to RM Version 12?  

NullPointerException in JDBC

$
0
0

I am using JDBC to communicate with Relativity and it seems to work well most of the time but intermittently, seemingly at random, I get the following exception:

java.lang.NullPointerException
      at relativity.jdbc.RPCInterface.SQLFreeStmtSP(Unknown Source)
      at relativity.jdbc.RelativityResultSet.close(Unknown Source)
      at relativity.jdbc.RelativityResultSet.finalize(Unknown Source)
      at java.lang.ref.Finalizer.invokeFinalizeMethod(Native Method)
      at java.lang.ref.Finalizer.runFinalizer(Finalizer.java:101)
      at java.lang.ref.Finalizer.access$100(Finalizer.java:32)
      at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:190)

There seems to be no pattern to when this exception will occur and it seems to occur completely independently of any task that is being performed. I have tried to catch the exception anywhere in the application where I am using a ResultSet but have not yet been able to catch it.

Has anyone had similar problems before?

LONGVARCHAR columns causing JDBC ResultSet issues

$
0
0

I don't know if anyone has come across this before but, when using JDBC, if I specify setMaxRows on the PreparedStatement, no rows are returned. As soon as I remove this statement, I get all the results.

This only seems to occur on tables which contain a column of type LONGVARCHAR and only when the LONGVARCHAR column is returned in the ResultSet. On tables without LONGVARCHAR columns I can use setMaxSize without any issues.

Another problem that I am encountering with the same tables is that, if I remove the setMaxRows statement and begin processing the ResultSet, when I get to the LONGVARCHAR column, I am unable to read the value. Instead, I get the following error:

Exception in thread "main" java.sql.SQLException: [Relativity JDBC Driver][SimbaLNA][Liant][Relativity RM Server]Invalid column number.
 at relativity.jdbc.PackBuffer.getSQLException(Unknown Source)
 at relativity.jdbc.RPCInterface.handleError(Unknown Source)
 at relativity.jdbc.RPCInterface.SQLGetMoreLongDataSP(Unknown Source)
 at relativity.jdbc.RPCInterface.SQLGetLongDataSP(Unknown Source)
 at relativity.jdbc.DataSet.getLongData(Unknown Source)
 at relativity.jdbc.DataSet.getValue(Unknown Source)
 at relativity.jdbc.RelativityResultSet.getString(Unknown Source)
 at pjbs.Test.main(Test.java:33)

It gives the same error whether I read it as a string or use getAsciiStream or getBinaryStream. If I try to use a getUnicodeStream it tells me that Unicode is not supported and if I use getCharacterStream it tells me that the method is not supported. I can't see any other methods in the ResultSet documentation that would give me this column value.

I can view the column metadata without any problems. I just can't read the value.

Any ideas how I can get the contents of the column? And how I can limit the number of rows returned?

RM Cobol 85 dat.file conversion

$
0
0

Hi,

I am having a RM/Cobol-85 dat-file (indexed file?) which data I need to have extracted in a readable way for analysis (e.g. MS Excel). But I am not a programmer and not familiar with RM/Cobol. I am just an end user of this application. Unfortunately our programmes are not maintenanced any more.

We use RM/Cobol-application on a Windows 7 platform with MS-Office 2007.

  1. Is there a way or program for an end user to extract or copy all the data of the dat-file in an readable way to MS Excel or a text file?
    I heard about Record Editor but I don't know how to use it, e.g. what kind of file structure it is or what is a copybook.
  2. Or Is there a way to copy all the lines as text at once of the RM/Cobol-85 window? Now I am able to copy only one line of the opened RM/Cobol dat-file window. But there are hundreds of lines there to copy. I tried to find something in the "Properties for Runtime" dialog box that sets copy specifications. But cannot find anything there. But this would also be of help.

Thank you in advance.

Regards,

weinberger

Removing Carriage Return at end of Line Sequential File

$
0
0

I am creating a Line Sequential File, for the State of Illinois, and they are saying my file contains "an extra line".  My program opens the file as output, writes the records, and then closes the file.

When I look at the file, it looks to me as if the program is adding an extra carriage return at the end of the file.  How do I get rid of that, OR not write it at all?

Anyone have any suggestions?

BIS Inactivity timeout and Windows 8.1

$
0
0

Windows 8.1 Pro

IIS7.5

Xcentricity Bis Server 12.09

Inactivity timeout=18000

We are experiencing inactivity timeouts of less than 10 minutes on the above described system, has anyone had this issue or know why this might be happening?

Thanks,

Rich


RM vs Visual Cobol RM Relative Files

$
0
0

I'm in the slow process of migrating from RM w/Linux to Visual Cobol RM ... with DevHub to allow use of the Linux while coding in Windows/Eclipse.

I've just encountered a problem with Relative Files. In "Standard" RM the relative file ... if you "read next" is in Sequence.

1,2,3,4,5,6,7,8,9 erc.

Via Visual Cobol RM ... the Relative Key is a bit of a mess.

1,6,7,8,9,10,11,12,19,23,24,25 ...

I really discovered this problem when my transitioned code tried to access Record #2, which doesn't exist according to VC.

Any ideas on what I will need to do to get the program to work as written? I don't, unfortunately, have the time to do a file migration on all the systems and files.

I've attached the simple program, and the file that proves my point. RM when set of results Visual Cobol RM different set.

Any help would be appreciated.

Cobol-Wow Press Button.

$
0
0

I have a program in cobol wow that is called to create a file. The main program only does the following: perform process-1 thru exit-process-1. The process involves reading a file to finish creating other new features. While running the process "read next" I want to allow the user to press a button to cancel.
On the form I have a button that says "press here to cancel". During the process I need to know if the user presses the button to cancel. The question is, what code should I include in the process for detecting that was pressed the button "cancel" and proceed to go to the exit-process-1.

Ad Hoc Reporting

$
0
0

I work for an Agriculture software company as a Crystal Reports Developer.  I’ve been asked to research a way that we can deliver Ad Hoc reporting capabilities to our customers.   I came from a Microsoft SQL environment and now utilizing the Micro focus tools.

Considering our database structure is massive and too many fields/tables for the customers to deal with directly (support nightmare).  I was thinking I could deliver pre-defined stored procedures that included the most common fields and linkage to other supporting tables already done.  Then the end-user could write a report using these SP’s.  Come to find out Relativity would not be able to support this.

The software tools that I’m familiar with is the Relativity Designer and Crystal reports.   The programmers use the RM – COBOL software.  

My Question:  Is there any tools or a way to solve this with the Micro-Focus supported software?

converting JSON to XML

$
0
0

I’m currently working on a project for my manager where we need to interact with a JSON system.  I’m looking for a way to convert JSON into XML in order to process responses using a RM/Cobol application using XML-Extensions. 

After speaking with Steve Jolivet with Microfocus, a google search returned “Converting JSON to XML using XSLT 1.0” (link “http://www.tek-tips.com/viewthread.cfm?qid=1709035") written by Tom Morrison.  I copied Tom's two XSLT examples (json2xml_step1.xsl and json2xml_step2.xsl) into Stylus Studio X14 Professional.  I wanted to run the stylesheets over my existing JSON response in order to see the results. However, Stylus Studio complains about several things within json2xml_step1.xsl and I’m not strong enough in XSLT to determine what it's complaining about in some cases. 

Can anyone provide some insight, please?

Error 70 in XML Extensions

$
0
0

We are receiving an error from XML Extensions for RM/COBOL that is not in the list of possible errors:

Status: +0070
Error: 70[0] - in function: AddText


Regards

replaced my test printer software. HP LaserJet P2035 to NPI6ED50E (HP LaserJet Pro MFP M225dw).

$
0
0

Hello. I replaced my test printer software. HP LaserJet P2035 to NPI6ED50E (HP LaserJet Pro MFP M225dw). This printer does not recognize the user orientation and page size. Printed from right to left leaving plenty of space left when the report is smaller horizontally than the size of the paper. Can you give me some suggestions to solve this problem .

TAB DELIMITED FILe

$
0
0

I have a need to generate a Tab Delimited file for export to an off the shelf program.

where can I find information on how to insert tab characters between data elements in a line seuential file.


RM/COBOL with I-Shell Software

$
0
0

We are converting over to a new server and want to duplicate what we have with the existing one.  We use RM/COBOL with the I-shell, cmix, and Easyspooler Spooler software from Roc Software Inc.

All the software has been installed and were trying to access the Cobol programs thru the I-shell system but it will not connect or gives us no errors.  Also tried to bypass the menu systems and manually try to access the files and ex the binary cobol program, I get an error "94" on the firsts indexed data file.  if I try to sort an indexed sequential file, I get a 0402-050 syntax error.

What am I missing????

Share Linux to Windows IIS view COBOL

$
0
0

Hi,

I have a linux server setup with XBIS RM/COBOL and XML Extensions. I also have a Windows server setup with the same. I have a website on the linux using apache and works fine with the cobol and XBIS, it is old though. On the Windows Server the new website exists. So I made a virtual directory with the BISmkdir.exe to create a place on the new IIS website that accesses the old linux directories needed. This works since I can browse the folder scheme. But when I click on an srf file I get 30[34] errors in my trace file. Then I figured let me try the Samples that come with the Xcentricity BIS. They work when BISmkdir.exe uses the local folder so C:\inetpub\wwwroot\XBIS12. I copied the folders over to the linux machine and some of the Samples are returning errors. I'm guessing it is accessing data issues. I've also attached an image of the trace received when trying to view Sample2. Has anybody tried this before? Should I try InfoExpress? We want to keep all of our ISAM data files on the linux machine.


Thanks,

Matt

Xcentrisity BIS on Windows 10?

$
0
0

We understand that support for Windows 10 will not be available until the next RM/COBOL release.

In the meantime, we have customers that may not heed our advice to wait before upgrading to Windows 10, and inevitably new machines with Windows 10 will be purchased.

So, in our testing of the Windows 10 upgrade, we were happy to notice that BIS continued to work after the upgrade.  Then as an additional test, we uninstalled BIS and attempted to reinstall.  The attached screenshot shows the result.

Is there a possibility of a workaround so that we can deal with Windows 10 before the next RM/COBOL release?

Tom Morrison
Hill Country Software and Support

Instant SQL 64BIT LINUX

$
0
0

Using mysql driver

/lib64/libmyodbc5w.so

             SQL DESCRIBE ERROR  sql-Error-Description

           PERFORM WITH TEST AFTER UNTIL sql-EndOfData

              SQL DESCRIBE ERROR

                 sql-Error-Description

If an error, returns rubbish into sql-Error-Description and never returns SQL-RETURN condition sql-EndOfData.

dserver version 12.08

$
0
0

Relativity Dserver for linux version 12.08

Viewing all 207 articles
Browse latest View live


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