Ubuntu Operating System GnuCOBOL & Bash Job Scripts |
The SimoTime Home Page |
The primary objective of this document is to describe and demonstrate how to deploy an existing COBOL Batch applications to a Linux environment. The System will use Ubuntu with GnuCOBOL.
1. | Acquire or build a System with a Linux Operating System. |
2. | Install and configure GnuCOBOL on the Linux System. |
WIP
We have made a significant effort to ensure the documents and software technologies are correct and accurate. We reserve the right to make changes without notice at any time. The function delivered in this version is based upon the enhancement requests from a specific group of users. The intent is to provide changes as the need arises and in a timeframe that is dependent upon the availability of resources.
Copyright © 1987-2018
SimoTime Technologies and Services
All Rights Reserved
WIP1
WIP2
WIP1
1. | cat - Concatenate and print (display) the content of files. |
1.1. |
Syntax cat [Options] [File] |
1.2. |
Example Display a file (this actually works by concatenating the file with STDOUT) $ cat myfile.txt |
2. | cd - Change Directory - change the current working directory to a specific Folder. |
2.1. |
Syntax cd [Options] [Directory] |
3. | grep - a command-line utility for searching text files for lines matching a regular expression. |
3.1. |
Example Search for a given string in a file (case insensitive search) $ grep -i "the" test_file.txt |
4. | ifconfig - Interface configurator - display your ip address, network interfaces, transferred and received data information, configure a network interface. |
4.1. |
Syntax ifconfig [interface] ifconfig interface [aftype] options | address ... |
4.2. |
Example The "ifconfig" command with no arguments will display all the active interfaces details. $ ifconfig |
5. | ls - Create a list of the files within a directory. |
5.1. |
Example The "ls" command will create a list of file names within the current directory (or Folder) $ ls |
6. | pwd - Print Working Directory (shell builtin). |
6.1. |
Syntax pwd [-LP] Options -P : The pathname printed will not contain symbolic links. -L : The pathname printed may contain symbolic links. |
WIP2
The tar command on Linux is often used to create .tar.gz or .tgz archive files (may be referred to as "tarballs"). The GNU tar command included with Linux distributions has integrated compression. It can create a .tar archive and then compress it with gzip or bzip2 compression in a single command. This is why the resulting file is a .tar.gz file or .tar.bz2 file.
tar -czvf HOLD/ZIPS/a1lnx.v170522.simolibr.tar.gz SIMOLIBR
tar -tvf /home/larry/SIMOSY76/HOLD/ZIPS/a1lnx.v170522.simolibr.tar.gz
The vi Editor is typically used on UNIX and Linux Systems. It is a full screen text editor and has two modes of operation.
1. | Command Mode |
1.1. | Every character typed is a command that does something to the text file being edited. A character typed in the command mode may even cause the vi editor to enter the insert mode. |
2. | Insert Mode |
2.1. |
As text is typed it is inserted into the file. Pressing the |
WIP2
| ||||||||||
Moving the Cursor |
WIP2
WIP2
| ||||||
Insert Mode |
WIP2
| ||||||||
Command Mode |
WIP1
WIP2
WIP1
WIP2
WIP3
WIP4
WIP5
This is an example of generating a group of paragraphs or topics in an outline format.
1. | First topic of discussion for level 1 |
2. | Second topic of discussion for level 1 |
2.1. | Topic of discussion for level 2 |
2.2. | Topic of discussion for level 2 |
3. | Third topic of discussion for level 1 |
3.1. | Topic of discussion for level 2 |
3.1.1. | Topic of discussion for level 3 |
3.1.2. | Topic of discussion for level 3 |
3.2. | Topic of discussion for level 2, continuation of items |
3.3. | Topic of discussion for level 2, continuation of items, last sub-entry |
4. | Fourth topic of discussion for level 1 |
4.1. | Topic of discussion for level 2 |
4.1.1. | Topic of discussion for level 3 |
4.1.2. | Topic of discussion for level 3 |
4.1.2.1. | Topic of discussion for level 4 |
4.1.2.2. | Topic of discussion for level 4 |
An example of a fixed-font line with yellow highlighting
The following is a string of text with yellow high lighting.
The following (with a MAROON color) is an rrggbb of #800000.
The purpose of this document is to assist as a tutorial for new programmers or as a quick reference for experienced programmers. In the world of programming there are many ways to solve a problem. This document and the links to other documents are intended to provide a choice of alternatives.
Permission to use, copy, modify and distribute this software, documentation or training material for any purpose requires a fee to be paid to SimoTime Technologies. Once the fee is received by SimoTime the latest version of the software, documentation or training material will be delivered and a license will be granted for use within an enterprise, provided the SimoTime copyright notice appear on all copies of the software. The SimoTime name or Logo may not be used in any advertising or publicity pertaining to the use of the software without the written permission of SimoTime Technologies.
SimoTime Technologies makes no warranty or representations about the suitability of the software, documentation or learning material for any purpose. It is provided "AS IS" without any expressed or implied warranty, including the implied warranties of merchantability, fitness for a particular purpose and non-infringement. SimoTime Technologies shall not be liable for any direct, indirect, special or consequential damages resulting from the loss of use, data or projects, whether in an action of contract or tort, arising out of or in connection with the use or performance of this software, documentation or training material.
This section includes links to documents with additional information that are beyond the scope and purpose of this document. The first group of documents may be available from a local system or via an Internet connection, the second group of documents will require an Internet connection.
Note: A SIMOTIME License is required for the items to be made available on a local system or server.
The following links may be to the current server or to the Internet.
Note: The latest versions of the SimoTime Documents and Program Suites are available on the Internet and may be accessed using the icon. If a user has a SimoTime Enterprise License the Documents and Program Suites may be available on a local server and accessed using the icon.
Explore An Enterprise System Model that describes and demonstrates how Applications that were running on a Mainframe System and non-relational data that was located on the Mainframe System were copied and deployed in a Microsoft Windows environment with Micro Focus Enterprise Server.
Explore the COBOL Connection for more examples of COBOL programming techniques and sample code.
Explore an Extended List of Software Technologies that are available for review and evaluation. The software technologies (or Z-Packs) provide individual programming examples, documentation and test data files in a single package. The Z-Packs are usually in zip format to reduce the amount of time to download.
Explore The ASCII and EBCDIC Translation Tables. These tables are provided for individuals that need to better understand the bit structures and differences of the encoding formats.
Explore The File Status Return Codes to interpret the results of accessing VSAM data sets and/or QSAM files.
The following links will require an Internet connection.
A good place to start is The SimoTime Home Page for access to white papers, program examples and product information. This link requires an Internet Connection
Explore The Micro Focus Web Site for more information about products and services available from Micro Focus. This link requires an Internet Connection.
Explore the COBOL Technologies available from SourceForge. SourceForge is an Open Source community resource dedicated to helping open source projects be as successful as possible. GnuCOBOL (formerly OpenCOBOL) is a COBOL compiler with run time support. The compiler (cobc) translates COBOL source to executable using intermediate C, designated C compiler and linker. This link will require an Internet Connection.
Explore the Glossary of Terms for a list of terms and definitions used in this suite of documents and white papers.
This document was created and is copyrighted and maintained by SimoTime Technologies.
If you have any questions, suggestions, comments or feedback please call or send an e-mail to: helpdesk@simotime.com
We appreciate hearing from you.
SIMOTIME Technologies was founded in 1987 and is a privately owned company. We specialize in the creation and deployment of business applications using new or existing technologies and services. We have a team of individuals that understand the broad range of technologies being used in today's environments. Our customers include small businesses using Internet technologies to corporations using very large mainframe systems.
Quite often, to reach larger markets or provide a higher level of service to existing customers it requires the newer Internet technologies to work in a complementary manner with existing corporate mainframe systems. We specialize in preparing applications and the associated data that are currently residing on a single platform to be distributed across a variety of platforms.
Preparing the application programs will require the transfer of source members that will be compiled and deployed on the target platform. The data will need to be transferred between the systems and may need to be converted and validated at various stages within the process. SIMOTIME has the technology, services and experience to assist in the application and data management tasks involved with doing business in a multi-system environment.
Whether you want to use the Internet to expand into new market segments or as a delivery vehicle for existing business functions or need assistance with converting non-relational data structures simply give us a call at 415 883-6565 or check the web site at http://www.simotime.com
Return-to-Top |
Ubuntu Linux with COBOL Programs |
Copyright © 1987-2018 SimoTime Technologies and Services All Rights Reserved |
When technology complements business |
http://www.simotime.com |