Use FTP with MVS 3.8 TK MAINFRAME in windows

Submitted by Dickens A S on Thu, 09/10/2020 - 05:11

It is easy to use FTP with the MVS 3.8 Turnkey in windows

first enable command mode in windows

open command prompt and goto "unattended" folder

C:\MyFiles\mvs\unattended

And issue the below commands

C:\MyFiles\mvs>cd unattended

C:\MyFiles\mvs\unattended>

C:\MyFiles\mvs\unattended>set_console_mode.bat
Hercules console mode activated for unattended operations (mvs.bat)
Press any key to continue...

C:\MyFiles\mvs\unattended>cd ..

Then start mvs from the same command prompt

Smart Lexer

Submitted by Dickens A S on Sat, 08/29/2020 - 10:31

This is a small application/library initiative to use Lexical analysis to transform source codes to one format to another format

Example Use Case (SQL)

I have chosen SQL to transform from SQL server function to PLSL function

CHARINDEX('t', 'Customer') INSTR('Customer', 't')

In case if the function name only needs to be replaced, then it is easy

But, here the parameter 1 becomes 2 and 2 becomes 1

Run COBOL / gnuCOBOL using Cygwin in Windows

Submitted by Dickens A S on Sun, 08/23/2020 - 11:00
Run COBOL in windows

Why COBOL in 2020?

The reason is, many migration still happening from mainframe COBOL to Java or .NET

If the developer knows how test the COBOL in his local machine, then it benefits the migration to speed up

This article demonstrates the Cygwin dependencies to compile gnuCOBOL from source code

Install Cygwin with below list of dependencies

Install Cygwin without Admin Rights

Submitted by Dickens A S on Sun, 08/23/2020 - 10:23

 

Cygwin is an amazing POSIX based development environment which offers unix like environment with shared library options

But, when you try to install, it will ask for administrative privileges

This article helps command line based argument to install Cygwin without admin right

Type this below command to install Cygwin without admin rights