Quantcast
Channel: RM/COBOL
Viewing all 949 articles
Browse latest View live

Wiki Page: ArrayIndexOutOfBounds Exception using RM library call C$SetEnv

$
0
0
Created On:  20 November 2012

Problem:

The Visual COBOL v2.1 documentation states that the return parameter for the C$SetEnv RM library call within is optional.

Syntax:

CALL "C$SetEnv" USING name, value [, return]

Parameters:

name  PIC X(n)
value  PIC X(n)
return PIC 9(n) BINARY, where n can be a digit from 1 to 9

However if the "return" parameter is not used an ArrayIndexOutOfBounds Exception occurs.

Resolution:

The return parameter must be used.
Incident #2602271
Old KB# 36621

Wiki Page: RM/COBOL library routines & CALL-CONVENTION

$
0
0
Created On:  15 November 2012

Problem:

To run the RM/COBOL library routines provided in Visual COBOL, you set the DIALECT(RM) Compiler directive, which sets the required calling convention. To run the Visual COBOL library routines, you use the standard COBOL calling convention.

If you have RM/COBOL compatible library routines and Visual COBOL library routines in the same program this can be a problem because of the different calling conventions.

Resolution:

If you have RM/COBOL compatible library routines and Visual COBOL library routines in the same program, do one of the following:

• Set the DIALECT(RM) Compiler directive to enable the RM/COBOL library routines, then explicitly use the standard COBOL calling convention for the Visual COBOL library routines. For example :

      $SET DIALECT(RM)       IDENTIFICATION DIVISION.              PROGRAM-ID.  CTEST2.       ENVIRONMENT DIVISION.       CONFIGURATION SECTION.       SPECIAL-NAMES.       CALL-CONVENTION 0 IS Microsoft-c            DATA DIVISION.             WORKING-STORAGE SECTION.       LINKAGE SECTION.             01 ARG-1           PIC X(4).           01 ARG-2           PIC X(8).              01 ARG-3           PIC X(8).              01 ARG-4           PIC X(8).       PROCEDURE DIVISION USING ARG-1 ARG-2 ARG-3 ARG-4.             MAIN-LOGIC.                 CALL Microsoft-c "SYSTEM" USING ARG-1.       CALL "C$getEnv" using ARG-1 ARG-2 ARG3.

• Explicitly use the 1024 calling convention for calls to the RM/COBOL compatible library routines if DIALECT(RM) is not set.

       IDENTIFICATION DIVISION.              PROGRAM-ID.  CTEST2.       ENVIRONMENT DIVISION.       CONFIGURATION SECTION.       SPECIAL-NAMES.       CALL-CONVENTION 1024 IS RM.       DATA DIVISION.             WORKING-STORAGE SECTION.       LINKAGE SECTION.             01 ARG-1           PIC X(4).           01 ARG-2           PIC X(8).              01 ARG-3           PIC X(8).              01 ARG-4           PIC X(8).       PROCEDURE DIVISION USING ARG-1 ARG-2 ARG-3 ARG-4.             MAIN-LOGIC.                 CALL "SYSTEM" USING ARG-1.       CALL RM "C$getEnv" using ARG-1 ARG-2 ARG3.

NB : RM(GIVING) was deprecated in v2.1, is replaced by DIALECT(RM)

Incident #2601487
Old KB# 36608

Wiki Page: Install the standalone Rumba license key/s on a License manager server

$
0
0
Created On:  14 January 2013

Problem:

Instructions on how to install the standalone Rumba license key/s on a network license manager server.

Resolution:

1.       Login to Micro Focus SupportLine web site to view your order details.

2.       Right click on the option "More information" and save the license file to your desired location.

3.       Copy the license file to the machine where your product is installed

4.       Open the license file in notepad

5.       From the start menu run the Micro Focus ‘License Management System’…

6.       Select Options > Manual Authorization…

7.       Copy and then paste the contents of the license file into the ‘License string(s)’ box…


8.       Click on the ‘Install Licenses’ button.

Please contact Micro Focus SupportLine if you have any additional questions.



Old KB# 36709

Wiki Page: Obtain RM/COBOL licensed use count information

$
0
0
Created On:  12 December 2012

Problem:

It may be necessary to gather use count information for your RM/COBOL Runtime or Compiler. However, this information is not reported by the Runtime or Compiler products.

Resolution:

The RM/COBOL Use Count Utility(rmucutil) is used to check how many use count licenses are in use on the network.  The RM/COBOL Use Count Utility(rmucutil) can be found in the RM/COBOL installation directory.

Below is the usage information for the RM/COBOL Use Count Utility(rmucutil):

rmucutil [COMPILER|RUNTIME] DETAILS

*The Registration Number for your product can be found by running either of the following commands: "runcobol" or "rmcobol"

In addition, the environment variable RM_UC_LOG_PATH can be set to a directory, so RM/COBOL will create a RMUSECNT.LOG file, which will contain similar diagnostic messages.

For example, for Windows systems, setting RM_UC_LOG_PATH=C:\TMP will cause RM/COBOL to create and write C:\TMP\RMUSECNT.LOG.

Old KB# 36677

Wiki Page: All licenses are in use

$
0
0
Created On:  05 December 2012

Problem:

After installing the licenses for Web to Host 6.3 and it showing up installed in the license management system there is still an error that appears when trying to run the Web to host session stating that all licenses are in use. Yet they're all available in the License Management System.

Resolution:

In this case the problem was that when installing the licenses the default location of the server machine name is always 127.0.0.1. However it does allow you to change this to your real local machine (server) name which you shouldn't. You should just add it after the 127.0.0.1.

This you can do in the license management system under options > advanced configuration.

If you install the licenses and you get a message (attached Remote Server.PNG) saying: You appear to be using a remote server. Authorization will only add licenses to THIS computer. Do you wish to continue?

It means the 127.0.0.1 has been tempered with and should be put back in.
Old KB# 36664

Wiki Page: 10061 socket error

$
0
0
Created On:  05 December 2012

Problem:

There appears to be a change since Rumba 8.1 where when you type in "localhost" to connect to your mainframe it shows a windows socket error 10061 and the connection fails. But when you type in 127.0.0.1 it works fine.

Resolution:

When you type "ping -a localhost", what address is returned by the IP stack?  Is it ::1?

Rumba 8.2 is IPv6 aware now.  So what is happening is that Rumba is asking the stack to resolve "localhost", and it's returning "::1", the IPv6 loopback address.  Rumba attempts to connect to that address, but the Server application is only bound to the IPv4 address, so there is no response to the connect attempt.  If you look in your hosts file (Windows\System32\Drivers\etc\hosts), there is a commented entry for both localhost types there:

 

#             127.0.0.1              localhost

#             ::1                           localhost

 

If you uncomment the 127.0.0.1 entry, it works.

Old KB# 36663

Wiki Page: LSFORCEHOST

$
0
0
Created On:  03 December 12

Problem:

When you are using Safenet Licensing and see in red letters at the bottom of the licensing tab in License Management System: Note: Using LSFORCEHOST for server list. (see attached LSFORCEHOST.png). This can cause an issue with Rumba on a Citrix box when you install the License Management System in a different location then the LSFORCEHOST environment variable is pointing to. This will cause your Mainframe or AS400 Display for example to return an error that like: AS-400-display is not supported in the installed application.
The reason is that the LSFORCEHOST environment variable takes precedence over the actual license management system location.

Resolution:

To solve this you can either install the License management systme in the same location as this variable is pointing to or remove it through 'my computer' > properties > Advanced System Settings > Environment Variables. For an example you can look at this URL: http://www.itechtalk.com/thread3595.html .

Attachments

Old KB# 36650

Wiki Page: Update Interval for PC Print Queues in Rumba AS/400 printer

$
0
0
Created On:  30 November 2012

Problem:

Is it possible to configure Rumba AS/400 PC print queues interval time?

Resolution:

PC Printer Queues is a feature of Rumba AS/400 printer that lists each network and local printer set up in Windows, along with information about the current jobs on each printer.  By default Rumba sends a status update query to these printers every 3 seconds in order to display the most current job status of each printer. This can cause unwanted traffic on the network. The refresh interval is end-user configurable and can be changed by following the following steps.

·       Launch a Rumba Printer session. Right click on the PC Queues and select “Configure PC Printer Queues…” from the pop-up menu.

·       It presents a dialog with a single entry for the update interval as shown in the image.

·       Change the update interval as desired. For instance, if you enter the number 60  then Rumba will send a status update query every 60 seconds to the printers displayed in the Printer Queues section.



Please contact Micro Focus SupportLine should you have any additional questions regarding this matter.

Old KB# 36649

Wiki Page: Remotely deploy and install the standalone Rumba license key on multiple user’s workstations

$
0
0
Created On:  21 January 2013

Problem:

Instructions on how to install the standalone Rumba license key/s on multiple end users computers.

Resolution:

This process depends on your network architecture and mechanisms that you use to push updates out to your end users. Here is an example of how you could do it:

1.       Login to Micro Focus SupportLine web site to view your order details.

2.       Right click on the word “here" as highlighted below and select Save Target As… to save the license file to your desired location.

3.       Copy the license file to every users' machine (or a single network location from where your end users can access the license file)

 

4.       Using the automation tool of your choice, launch the following command on the workstation:

 

CesAdminToolCmd -install

Where is the path and file name where you saved the .txt license file in Step 2.

The CesAdminToolCmd command is located in the directory  \Program Files (x86)\Common Files\SafeNet Sentinel\Sentinel RMS License Manager\WinNT.

The CesAdminToolCmd needs to be run on each workstation where you wish to deploy a standalone RUMBA license. 

 
Please contact Micro Focus SupportLine if you have any additional questions.

Old KB# 36756

Wiki Page: OBJECTX Thread Safety

$
0
0

OBJECTX® Thread Safety Summary This technical bulletin answers multi-threading questions about RUMBA OBJECTX, Pro controls.


Thread Pooling

Q: What is thread pooling?

A: In an internet application, you may have thousands of users, each requiring access to their own host session. Creating hundreds of threads, let alone thousands, is not practical; Windows NT can't handle that many threads. Thread pooling creates a relatively small number of threads (tens of threads), typically based on the number of processors. Controls are distributed among the threads, with multiple controls being assigned to each thread.

 

Building Applications

Q: Is there any advantage to registering display controls with Microsoft Transaction Server ?

A: No, display controls have no way of backing out data that has already been sent to the host. Q: Does this mean that the display controls cannot participate in a transaction?

A: No, IIS 4.0 provides transacted ASPs. In the ASP’s OnTransactionAbort function, code may be written to drive the host application to reverse the changes. The OnTransactionAbort function is called when the transaction has failed and database changes are backed out.

Q: How do the terms "multi-instance" and "multi-threaded" apply to the browser environment?

A: To be perfectly safe, each instance of the browser should only have one instance of a

RUMBA Host Pro control.

Q: How does persistence object come into play here?

A: Persistence object works by keeping the display control running even when the browser tells it to shut down. This means that there may be many display controls running even though only one is visible on the current page. Persistence creates a multi-instance situation, meaning the RUMBA Host Pro controls are not completely safe.

Q: But it seems to be working OK to use multiple instances of RUMBA Host Pro display controls in a browser?

A: For client-side web applications with only one control per page and no persistence, these controls are perfectly safe. With persistence, your risk goes up, but you can probably get away with it, these controls mostly work.

Q: Can I use RUMBA Host Pro display controls for server-side applications?

A: No. On a server-side web application you will definitely encounter multi-tasking/multi-instance issues with the RUMBA Host Pro display controls.

Old KB# 36326

Forum Post: RE: RM/COBOL for 64 bits

Forum Post: RE: Running multiple linux 32bit cobol question

$
0
0

Hi,

if you would like us to provide technical support for this matter please send me an email to rupert.hawkes@microfocus.com with details of your license and I'll raise a support incident for you.

Best regards

Rupert

Blog Post: RM/COBOL V12 WS4 now available

$
0
0

I’m very pleased to announce the immediate availability of RM/COBOL 12 WS4. (V12.08).

This is the fourth Web Sync for RM/COBOL 12 and delivers on our previous commitments for continued support for our RM/COBOL customers.

RM/COBOL 12 WS4 supports Windows 8 and Windows Server 2012.

You will find more information about this Web Sync at:

http://supportline.microfocus.com/Documentation/books/Relativity/v12/Supplementv1208.pdf

Best regards,

Dominique SACRE

Product Director

Micro Focus

Wiki Page: Opening files located in different sub directories without fully pathing

$
0
0

Problem:

It is easy to fully path to a file or files in the SELECT statement however this doesn't allow the root directory path to be changed at runtime without rewriting the application.

Resolution:

By using the RUNPATH environment variable and the RUN-FILES-ATTR EXPANDED-PATH-SEARCH configuration option allows for a more flexible solution.   For example, if you wanted to open the following files :

/home/trpos/2012/FILE.DAT

/home/trpos/2013/FILE.DAT

Instead of fully pathing to them in the SELECT statement like this :

SELECT DOSYA ASSIGN TO RANDOM "/home/trpos/2012/FILE.DAT"

SELECT DOSYB ASSIGN TO RANDOM "/home/trpos/2013/FILE.DAT"

You could assign them like this :

SELECT DOSYA ASSIGN TO RANDOM "2012/FILE.DAT"

SELECT DOSYB ASSIGN TO RANDOM "2013/FILE.DAT"

NB:  Note the lack of a leading /

Then set the RUNPATH environment variable to :

/home/trpos

This instructs the runtime to start it's file search path in the /home/trpos directory.  Create a configuration file (simple text file for example called "c.cfg") containing the following :

RUN-FILES-ATTR EXPANDED-PATH-SEARCH=YES

Then run using the command line :

runcobol <program> c=c.cfg

The configuration file will instruct the runtime to look in all the RUNPATH locations appending the path/filename in SELECT statement.

Blog Post: Free COBOL conference

$
0
0

Registration for the Micro Focus Developer Conference is now open.

Register today >>> www.microfocus.com/devcon2013 

This year, we're taking the conference to two locations:

  • San Francisco - April 3/4 2013
  • New York - April 9/10 2013
The conference is a great opportunity to meet with peers, industry experts and the Micro Focus COBOL product team. Conference highlights include:

  • Product roadmap update for RM/COBOL customers
  • Learn how to deploy existing apps to the cloud and leverage mobile computing
  • Hear best practice technical implementation from customers
  • Take part in debug tech sessions for Java and .Net deployments
  • Understand the value of modern IDEs in the development process
For more information and to register for this free event, please visit the conference webpage.
Seating space is limited so please book early to avoid disappointment.

Follow the conference
On Twitter: #DevCon2013 or tweet @microfocus
On LinkedIn: Follow Micro Focus or join the group discussion.

Forum Post: RE: rmdefinx

$
0
0

Nothing, is wrong and the other parameters?

What parameters are correct?

Forum Post: RM/COBOL 12.08 News

$
0
0

RM/COBOL 12.08 News

(Please visit the site to view this video)

Forum Post: RE: Can't get Relativity Data Manager Monitor to re-start

$
0
0

I figured it out.   Had to re-start the service from the Windows Services in the Administrative tools....

Wiki Page: Knowledge Base

$
0
0

Welcome to the RM/COBOL Knowledge Base. The Knowledge Base contains a large amount of information that may answer any technical questions you have. To take full advantage of the Knowledge Bases across the Community please use the site search found in the top right hand corner of your Internet page. This search offers a wide range of customisation to narrow down your search to find your article.  If you fail to find a solution here SupportLine will be able to assist you further.

Wiki: RM/COBOL Knowledge Base

Viewing all 949 articles
Browse latest View live