Sponsored Content
Top Forums UNIX for Beginners Questions & Answers Migrating jobs from COBOL Mainframe system to UNIX system Post 303042515 by jim mcnamara on Friday 27th of December 2019 01:33:54 PM
Old 12-27-2019
MicroFocus COBOL is your very best ORACLE option. It specializes in supporting ORACLE db's. It also is highly compatible with mainframe COBOL.
This will be the relatively easy part, moving code onto UNIX.

UNIX is ASCII, IBM mainframe is EBCDIC. UNIX has a tool, dd, meant for this kind of conversion. EBCDIC->ASCII - it runs on UNIX. We ran conversions in about 2005 and things have not changed markedly since then. You will have problems with abstract datatypes (structs in UNIX speak), like packing.

Getting JCL, job control, job routing, output routing, and scheduling on task can be really painful. Get somebody who has done migrations before. Otherwise as a neophyte you will simply make lots of mistakes.

The user interface migration is another 'get outside help' topic. Assuming you have (or want) a desktop user interface kind of environment.

1. Learn to code shell - bash, ksh whatever the UNIX systems has, bash is pretty close to ubiquitous. The C shell should not be used. It has quirks.
2. Get contractors who have done this kind of thing before - assuming this program is central your company's operation and you like having a job.
3. Learning to code in either perl or C will be a lifesaver for quick data fixes.
4. Do not try to fix or upgrade or tune anything, ever, until you have it working completely correctly. Even if it runs 10 times longer. Do not listen to programmers on this topic. Just migrate and make it work correctly - as defined by what you get in parallel runs between the main frame and the ported code environment. Tune later, most of the performance issues will relate to SQL and ORACLE , not necessarily hardware.
These 3 Users Gave Thanks to jim mcnamara For This Post:
 

8 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

How to invoke cobol jobs on mainframes

Hi, Does any one of you know how to invoke the cobol jobs on mainframes? Thanks, Waseem (3 Replies)
Discussion started by: ahmedwaseem2000
3 Replies

2. UNIX for Dummies Questions & Answers

Converting a Windows system to a UNIX system

Hello I am looking for advise on how to convert a windows based computer system into a UNIX based operating system.. I would like to be able to learn UNIX better than I know it and work didn't allow me to work with UNIX much. Is there a book where I could learn how to accomplish that... (6 Replies)
Discussion started by: baksg1995
6 Replies

3. Shell Programming and Scripting

FTP files to target Mainframe system

Hi Experts... Greetings for the day..! I just want to FTP the files to mainframe system.. my code is not working..and also i need to put the files in a particular directory in a specific naming format... ftp -i -n ${HOST_NAME} << END_FTP user ${USER_NAME} ${PASSWORD} put ${FILE_NAME}... (3 Replies)
Discussion started by: spkandy
3 Replies

4. Programming

UNIX system call in COBOL

Hi, The UNIX system call inside the COBOL program is doing the specified command correctly. MOVE W080-UNZIP-FILE-COMMAND TO W080-OUTPUT-COMMAND CALL "SYSTEM" USING W080-OUTPUT-COMMAND RETURNING W080-SYS-CALL-STATUS BUT The problem is, the following keeps on showing on the log file... (2 Replies)
Discussion started by: joyAV
2 Replies

5. UNIX for Dummies Questions & Answers

Unix System Programmer Vs. Unix System Administrator

Hi friends, I hope you are all fine and doing well. First of all, let me say that I love Unix with passion. But I have one query in my mind that is bothering me. What should I do, Unix System Administration or Unix System Programmering. Could you please tell me the difference between the two. And... (3 Replies)
Discussion started by: gabam
3 Replies

6. Shell Programming and Scripting

Typeset -i in MVS (Mainframe system)

Hi, I have one job that runs daily and creates daily files. At the end I compare the today's file with previous day's file. And if today's file size is greater or equal to previous day's file, then it is ok, else I need to through error. I have following piece of code: typeset -i... (2 Replies)
Discussion started by: ppatra
2 Replies

7. Shell Programming and Scripting

UNIX file system to Linux file system migration

We would be migrating UNIX file system to Linux file system. We do have many directory and sub directories with files. after migrating unix to linux file system , i want to make sure all the files has been copied ? What would be the best approach to validate directory ,sub-directory and file... (1 Reply)
Discussion started by: balajikalai
1 Replies

8. AIX

Cloning a system via mksysb backup from one system and restore to new system

Hello All, I am trying to clone an entire AIX virtual machine to a new virtual machine including all partitions and OS.Can anyone help me on the procedure to follow? I am not really sure on how it can be done.Thanks in advance. Please use CODE tags for sample input, sample output, and for code... (4 Replies)
Discussion started by: gull05
4 Replies
socklog(8)						      System Manager's Manual							socklog(8)

NAME
socklog - small and secure syslogd replacement for use with runit SYNOPSIS
socklog [-rRU] [unix] [path] socklog [-rR] inet [ip] [port] socklog [-rR] ucspi [args] DESCRIPTION
socklog is run under runit's runsv(8), writing syslog messages it receives from unix domain socket path or an inet udp socket ip:port through a pipe provided by runsv(8) to a svlogd(8) process. socklog can be run as an ucspi application to listen to an unix domain stream socket and for more flexible distributed logging. If the environment variables $UID and/or $GID are present, socklog drops permissions to those ids after creating and binding the socket (not in ucspi mode). socklog converts syslog facility and priority information to names (facility.priority:) as found in /usr/include/syslog.h at compile time if present. On solaris socklog also accepts sun_stream as first argument. Please see the web page for details. UNIX SOCKET
socklog [ unix ] [ path ] Starting socklog with the 1st argument unix, socklog will listen to the unix domain socket path. If path is omitted, the default /dev/log is used. The 1st argument may be omitted, default is unix. INET SOCKET
socklog inet [ ip ] [ port ] Starting socklog with the 1st argument inet, socklog will listen to the inet udp socket ip:port. If ip starts with 0, socklog will bind to all local interfaces. If port is less or equal 1024, socklog must be run by root. port may be omitted, default is 514. ip may be omitted, default is 0. socklog prepends a.b.c.d: to each syslog message it receives, where a.b.c.d is the ip address of the connecting system. UCSPI MODE
socklog ucspi [ args ] Starting socklog with the 1st argument ucspi, socklog will run as an ucspi application. Normally socklog will only be started in ucspi mode by an ucspi server tool, such as tcpsvd(8), tcpserver(1) or unixserver. For each arg, socklog will prepend $arg: to each syslog message, if the environment variable $arg is present (maximum is 8). OPTIONS
-r raw. Write the raw syslog messages (no conversion of facility and priority) to the pipe, additionally to the log messages with sys- log facility and priority converted to names. -R raw only. Same as -r above, but write the raw syslog messages only. -U respect umask. Don't set umask to 0 before creating a unix domain socket, but respect the current setting of umask(2). This option only takes effect in unix mode. SEE ALSO
sv(8), runsvdir(8), runsv(8), svlogd(8), tryto(1), uncat(1), socklog-check(8), tcpsvd(8), nc(1) http://smarden.org/socklog/ http://smarden.org/runit/ AUTHOR
Gerrit Pape <pape@smarden.org> socklog(8)
All times are GMT -4. The time now is 09:14 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy