SJSrinivasan JViniamamainframer.hashnode.devยทJul 13, 2024 ยท 21 min readPrinting the Numbers 0 to 9's shapeThis blog post is an extension to the previous post and we'll be extending the COBOL program's capability to print the shape of numbers, in addition to the alphabets. Introduction The existing COBOL program to print the shape of 26 alphabets using th...00
SJSrinivasan JViniamamainframer.hashnode.devยทJul 12, 2024 ยท 21 min readPrinting the Alphabets A to Z's shapeHiya! ๐ This blog post will be fun ๐ as I really enjoyed writing this particular piece of code which you will be witnessing shortly. When I saw the black screens ๐ป for the first time when I was trained on Mainframe (that was in 2014 ๐ ), I was tot...00
SJSrinivasan JViniamamainframer.hashnode.devยทJul 11, 2024 ยท 3 min readPrinting a Reverse Triangle shapeIntroduction I've already written a post, "Printing a Pyramid shape", showing how to print a triangle with the apex at the top. In this post, we will be printing the shape of reverse-triangle ๐ป (apex at the bottom and base at the top), using COBOL....00
SJSrinivasan JViniamamainframer.hashnode.devยทJul 10, 2024 ยท 3 min readPrinting a Diamond shapeIntroduction Hey there! ๐ In this post, we will be discussing how to print a diamond shape using COBOL. We'll be using asterisk โณ symbol to form the shape. Approach Before coding the logic, I always sketch out the shape in an Excel sheet. The approa...00
SJSrinivasan JViniamamainframer.hashnode.devยทJul 8, 2024 ยท 2 min readPrinting a Pyramid shapeIntroduction This is the third post in the series 'Printing Shapes Using COBOL', and in this post, we will generate a pyramid (or triangle) shape ๐บ. As always, we'll use the asterisk (*) symbol to form the shape. Approach We'll start printing the tr...00