Cucumber text copy paste editor automation

Submitted by Dickens A S on Thu, 10/08/2020 - 18:58

Kick start notepad or text editor automation in cucumber

GitHub https://github.com/dickensas/kotlin-gradle-templates/tree/master/cucumber-cpp

You need to keep a notepad or any other text editor with some text and keep you cursor any one line

The automation will press the below sequence of keys to do a entire line copy paste 

  1. HOME
  2. SHIFT + END
  3. CTRL + C
  4. END
  5. ENTER
  6. CTRL + V

 

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