Monday, 28 April 2014

Date Time in Python in your Local Time Zone

If you are looking for Time in your time zone then use below code

Friday, 27 December 2013

COBOL to C# Automated Conversion Solutions - Language Portability Solutions Inc

Language Portability Solutions is dedicated to helping companies reduce cost and improve productivity while upgrading COBOL applications to the latest Object Oriented technology. Their suite of migration tools can automatically translate Enterprise and Enterprise-compatible COBOL applications to well organized, readable and maintainable C# for a fraction of the cost and risk of rewriting. Their tools filter in excess of 99.9% of your COBOL to well-structured C# without manual intervention. At the same time, the consistency inherent in an automated migration means you have a substantially lower risk of errors or service level issues in the migrated code. 

  • Automated Program Migration: At the heart of our services is the automated migration engine. Using our experience in compiler development, language translation, virtual runtime environments and multi-platform support we have created an automated tool that migrates 99.9% of your COBOL source code to C# without need for manual intervention or correction. 
  • Server Support Utilities: One of the most striking differences between mainframe applications and applications running on a Windows server is the range of technologies available to manage the user’s interaction with the application.  In order to minimize the impact of the transition from mainframe to server migrations while, at the same time, modernizing the user interaction to the maximum extent possible, we have developed a series of Server Support Utilities.  These utilities include a VSAM emulator using an underlying SQL Server database and a Web Transaction Server utility that manages the interactions between users and application programs.  
  • Automated Database Migration: We have developed a set of tools that can automatically migrate your DB2 schemas to SQL Server DDL. In addition, we can automatically generate programs that will unload the data from DB2 tables and populate the corresponding SQL Server tables. If you use VSAM we can also generate programs that migrate VSAM data.  
  • C# Developer Orientation: We provide a set of runtime objects and methods that are used to insure that migrated COBOL programs are efficient and functionally identical when running in C#. We can provide your C# developers orientation and training to insure they get the most out of these facilities when enhancing and maintaining your migrated C# application.
    Note : Though above content is provided by Language Portability solution Inc but that does not mean it is sponsored or we have charged for this.

    for more information please contact  email website

    Twitter  LinkedIn

Tuesday, 19 November 2013

What is cobver in Micro focus

It is Short text file containing the version infromation "Cobol Version". The File is present in all the Micro Focus products present on UNIX and Linux Platform.If their are more than one Micro focus Product installed on the Linux/Unix Platform then multiple cobver file will be there each corresponding to one product.

In case there are more than cobver file, we need to use the find command, To run this command user need to have root access

find  /  -name  cobver  -print -exec cat {} 2> /dev/null \;>/tmp/mfinventory &

once you find the cobver files ,use cat command to display the contents of cobver file.

something like below will be display on shell

cobol v5.0.00-e

Another simple command to display the Micro focus product installed is cob -v. Downside of this command is that, it might not give you all information required so best option is discussed above.

If this post helped you in any way please leave your valuable feedback in comment section below, Your appreciation keep us motivated.

Monday, 18 November 2013

How to zip the folder on Linux server

Zip / Tar is basic command required to zip the folders on the Linux server.

Below is the very basic command to zip the folder and its contents (files in the folder) on the Linux.

zip - r /home/ /home/folder1/ /home/folder/

Where the zip is actual command 

zip -r for recursive 

/home/ is the name of the file that you will get after zipping the desired files and folder

/home/folder1 is the  name of the first folder

/home/folder2 is the name of second folder

Note i am running in this command on shell at /home directory so you will get this zipped files in /home directory. 

Benefit of this command over tar is that this file can be moved to windows environment can be open via basic zip utility.

If this post helped you in any way please leave your valuable feedback in comment section below, This keep us motivated.

Sunday, 22 September 2013

Installing DB2 Express on Windows Step by Step

IBM DB2 Data Express-C is the free DB2 database server provided by IBM. It is no charge product from IBM, it can be used by developers, Small enterprises and small business firms.

Installing DB2 express is quite easy

1) You have to download the binaries of DB2 Express C from here.If you don't have.It may ask you for the registered IBM ID for a download.

2)  Once you have downloaded the binaries , check whether you have the administrative rights on the system where you are going to install the DB.

3) Run the exe as administrator.
4) Above page will come, Just click on next.
Click the radio button say " I agree" and click on Next.

5) Choose the Installation type based on the your needs, this post is following Typical installation, Click on Next.

6) Choose the Third option, which say install the DB2C and save response file at path shown.Click next to proceed.

7) Check the installation path, if not required please don't not alter this.
8) Choose Autostart option if you don't have SSH server installed on windows. Click next to proceed.

9) Choose the "Local user or Domain user account", Enter the password. Make a note of this password as this will be required at the time ODBC connection and other database operation.Click Next to proceed.
10) Click next 
11) Check the Current setting , make sure you double check it and if possible Save it some where.Click on finish to proceed.
 12) DB2 will start installing by "Copying New Files" , "Installing New Services" and "Configuring DB2 instances"

 13) Setup will finish , showing below Page

14) Copy the Highlighted text for later use and Click on Finish. You are Done with installation and start experimenting.

If you have any suggestion, feedback and comments please use comments section below.