Unix/Linux Go Back    


SCO Santa Cruz Operation (SCO) was a software company based in Santa Cruz, California which was best known for selling three UNIX variants for Intel x86.

Old COBOL app move to new server

SCO


Closed    
 
Thread Tools Search this Thread Display Modes
    #1  
Old Unix and Linux 04-28-2016
Mobble Mobble is offline
Registered User
 
Join Date: Apr 2016
Last Activity: 3 May 2016, 12:36 PM EDT
Posts: 4
Thanks: 3
Thanked 0 Times in 0 Posts
Old COBOL app move to new server

We have an old ProLiant ML370 server (10-15 years old) running SCO (version yet to be confirmed), with a single bespoke Cobol app. The server is failing and I need to get the app up and running on new hardware or cloud.

I've supported ProLiant servers running Windows for many years but have almost no knowledge of SCO/Linux/Unix, let alone Cobol.

I'd be grateful for an idea of where to start here. I need to know what I need to be aiming for, e.g. will I likely be able to run the old Cobol app on a modern flavour of Unix or will I need to stick to the original SCO version? How much work is likely to be involved in getting the app working?

The app is an old green screen terminal style, accessed via telnet and terminals.
Sponsored Links
    #2  
Old Unix and Linux 04-28-2016
jgt's Unix or Linux Image
jgt jgt is offline Forum Advisor  
Registered User
 
Join Date: Apr 2007
Last Activity: 26 March 2017, 7:20 PM EDT
Location: 44.21.48N 80.50.15W
Posts: 1,930
Thanks: 2
Thanked 250 Times in 236 Posts
Do you have the cobol source code?
Sponsored Links
    #3  
Old Unix and Linux 04-28-2016
Scrutinizer's Unix or Linux Image
Scrutinizer Scrutinizer is offline Forum Staff  
Moderator
 
Join Date: Nov 2008
Last Activity: 27 March 2017, 6:09 PM EDT
Location: Amsterdam
Posts: 11,333
Thanks: 479
Thanked 3,247 Times in 2,864 Posts
An idea might be to use for example VMWare and perform a P2V and put it in a VM.

Someone in this link apparently did that in a situation that may be similar to yours..
https://communities.vmware.com/docs/DOC-18673

Or perhaps migrate to a different Cobol that runs on Linux?
The Following User Says Thank You to Scrutinizer For This Useful Post:
Mobble (04-28-2016)
    #4  
Old Unix and Linux 04-28-2016
Mobble Mobble is offline
Registered User
 
Join Date: Apr 2016
Last Activity: 3 May 2016, 12:36 PM EDT
Posts: 4
Thanks: 3
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by jgt View Post
Do you have the cobol source code?
We are trying to track down the developer. Its very likely the source code will be on the server though, which I should get access to tomorrow. How can I identify the source code?

---------- Post updated at 10:48 PM ---------- Previous update was at 10:38 PM ----------

Quote:
Originally Posted by Scrutinizer View Post
An idea might be to use for example VMWare and perform a P2V and put it in a VM.

Or perhaps migrate to a different Cobol that runs on Linux?
Thanks, I'll read through that thread now. Migration to Linux sounds good to me, I just don't know the feasibility and would need some advice. I wonder if anyone can suggest the best forum for questions relating to Cobol?
Sponsored Links
    #5  
Old Unix and Linux 04-28-2016
jgt's Unix or Linux Image
jgt jgt is offline Forum Advisor  
Registered User
 
Join Date: Apr 2007
Last Activity: 26 March 2017, 7:20 PM EDT
Location: 44.21.48N 80.50.15W
Posts: 1,930
Thanks: 2
Thanked 250 Times in 236 Posts
I have moved both RM cobol and Microfocus cobol to GNUcobol on Linux. Alternatively you could run a regular install of openserver 6.0 on recent hardware.

---------- Post updated at 09:49 PM ---------- Previous update was at 09:11 PM ----------

You can determine the version of SCO by
Code:
 #uname -X

and show any patches etc by
Code:
 #custom

MicroFocus cobol is usually installed in /opt/lib/cobol, and there should be a /usr/bin/cobrun. The source code usually has a .cbl extension, and the executables either .int or .gnt. If you have the full compiler installation, you should also have a /usr/bin/cobol, and a /usr/bin/anim. MF cobol is copy protected so you need the original license code in order to move it to a new disk. For RM cobol, there should be a /usr/rmcobol directory, and a /usr/bin/runcob or runcob85.
Sponsored Links
    #6  
Old Unix and Linux 04-29-2016
Mobble Mobble is offline
Registered User
 
Join Date: Apr 2016
Last Activity: 3 May 2016, 12:36 PM EDT
Posts: 4
Thanks: 3
Thanked 0 Times in 0 Posts
OK, so here are the server details...


Code:
# uname -X

System = SCO_SV
Node = ******
Release = 3.2v5.0.6
KernelID = 2000-07-27
Machine =>PenIII
BusType = ISA
Serial = ******
Users = 15-user
OEM# = 0
Origin# = 1
NumCPU = 1

and...


Code:
# custom

Compaq Extended Feature Supplement (ver 5.48a)
SCO OpenServer Enterprise System (ver 5.0.6j)
SCO SendMail (ver 8.11.0)
SCO Skunkware 2000 (ver 2000.1)
RS506A: Release Supplement for SCO OpenServer Release 5.0.6 (ver rs5
RS506A: Software Manager Supplement (ver rs506a)

And the Cobol installation...


Code:
/usr/rmcobol
/usr/bin/runcobol

There is a separate folder in the developer’s name full of .cob files which I presume is the source?

And there is a folder that looks as thought it contains the app and data.

So if you had to purchase a server for this and migrate the app, what OS and Cobol route would you go? My initial thought would be to keep things as similar as possible and stick with OpenServer and RMCobol, unless there is any advantage to move away from it?
Sponsored Links
    #7  
Old Unix and Linux 04-29-2016
jgt's Unix or Linux Image
jgt jgt is offline Forum Advisor  
Registered User
 
Join Date: Apr 2007
Last Activity: 26 March 2017, 7:20 PM EDT
Location: 44.21.48N 80.50.15W
Posts: 1,930
Thanks: 2
Thanked 250 Times in 236 Posts
Unfortunately, the .cob files are compiled files that can be used with a runtime system.
To determine if you have the source code can you select one of the .cob files and, supposing that you have an ARX100.cob, do, signed on as root

Code:
find / -name "ARX100*" -print

If you find any files that match, then presumably these are the source code.
If you do not have the source code, then your options are limited to a VMware install, or a normal install of 506 on suitable hardware.
Suitable hardware being an I3-I7 system with an SSD disk, as long as the motherboard was manufactured in 2012 or earlier.

---------- Post updated at 08:58 PM ---------- Previous update was at 08:27 PM ----------

If you want to use later hardware, then you have to upgrade to Openserver 6.0.0.
If you find that you do have the source code, then you could migrate the application to Linux, my preference is Opensuse, as it seems to have the same look and feel as SCO. Converting to GNUcobol requires about 1 hour of conversion effort per Cobol program.
Sponsored Links
Closed

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Linux More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Configure app server to view server files shrshah64 Red Hat 1 05-24-2012 01:57 PM
difference weblogic server/webserver/app server tostay2003 UNIX for Dummies Questions & Answers 1 10-14-2009 01:44 PM
Calling script from RM cobol and returning value to cobol pavanmp Shell Programming and Scripting 1 04-29-2009 02:58 PM
cobol crn programme run on express cobol as .gnt bibi Programming 2 08-04-2008 09:54 PM



All times are GMT -4. The time now is 12:24 AM.