Ubuntu Operating System
GnuCOBOL & Bash Job Scripts
  Table of Contents  v-14.03.28 - lnxone01.htm 
  Introduction
  Using PuTTY
  Using PuTTY, WIP2
  Overview of the Bash Command Line for Linux
  Commands, WIP2
  Archive Command, tar
  Create an Archive File
  List the Content of an Archive File
  Text Editor, Vi
  Using Vi, WIP2
  Technical Details
  Details, WIP2
  WIP1
  WIP2
  WIP3
  WIP4
  WIP5
  This is an Example of an Outline Format
  Defining a Font, (Color, Weight, Background and more)
  Summary
  Software Agreement and Disclaimer
  Downloads and Links
  Current Server or Internet Access
  Internet Access Required
  Glossary of Terms
  Comments or Feedback
  Company Overview
The SimoTime Home Page 

Table of Contents Previous Section Next Section Introduction

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

Table of Contents Previous Section Next Section Using PuTTY

WIP1

Table of Contents Previous Section Next Section Using PuTTY, WIP2

WIP2

Table of Contents Previous Section Next Section Overview of the Bash Command Line for Linux

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.

Table of Contents Previous Section Next Section Commands, WIP2

WIP2

Table of Contents Previous Section Next Section Archive Command, tar

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.

Table of Contents Previous Section Next Section Create an Archive File

tar -czvf HOLD/ZIPS/a1lnx.v170522.simolibr.tar.gz SIMOLIBR

Table of Contents Previous Section Next Section List the Content of an Archive File

tar -tvf /home/larry/SIMOSY76/HOLD/ZIPS/a1lnx.v170522.simolibr.tar.gz

Table of Contents Previous Section Next Section Text Editor, Vi

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 (Escape) key turns off the Insert mode.

WIP2

CMD Keys Description
j Move cursor down one line
k Move cursor up one line
h Move cursor left one character
l Move cursor right one character
  Moving the Cursor

WIP2

Table of Contents Previous Section Next Section Using Vi, WIP2

WIP2

CMD Keys Description
<ESC> end of insert (this is the "esc" key)
i NORMAL
  Insert Mode

WIP2

Commands Description
q quit
q! quit, discard changes
wq write and quit
  Command Mode

Table of Contents Previous Section Next Section Technical Details

WIP1

Table of Contents Previous Section Next Section Details, WIP2

WIP2

Table of Contents Previous Section Next Section WIP1

WIP1

Table of Contents Previous Section Next Section WIP2

WIP2

Table of Contents Previous Section Next Section WIP3

WIP3

Table of Contents Previous Section Next Section WIP4

WIP4

Table of Contents Previous Section Next Section WIP5

WIP5

Table of Contents Previous Section Next Section This is an Example of an Outline Format

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

Table of Contents Previous Section Next Section Defining a Font, (Color, Weight, Background and more)

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.

Table of Contents Previous Section Next Section Summary

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.

Table of Contents Previous Section Next Section Software Agreement and Disclaimer

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.

Table of Contents Previous Section Next Section Downloads and Links

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.

Table of Contents Previous Section Next Section Current Server or Internet Access

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 Link to Internet 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 Link to Server icon.

Link to Internet   Link to Server   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.

Link to Internet   Link to Server   Explore the COBOL Connection for more examples of COBOL programming techniques and sample code.

Link to Internet   Link to Server   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.

Link to Internet   Link to Server   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.

Link to Internet   Link to Server   Explore The File Status Return Codes to interpret the results of accessing VSAM data sets and/or QSAM files.

Table of Contents Previous Section Next Section Internet Access Required

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.

Table of Contents Previous Section Next Section Glossary of Terms

Link to Internet   Link to Server   Explore the Glossary of Terms for a list of terms and definitions used in this suite of documents and white papers.

Table of Contents Previous Section Next Section Comments or Feedback

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.

Table of Contents Previous Section Next Section Company Overview

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