In any programing language the data falls into two categories called constants and variables. Constants are those which cannot be modified during the program execution. Variables are data that can be modified during the program execution. In the hello word program the phrase "Hello world" is a constant. As in constants there is nothing much to learn let us directly jump into variables.
Mainframe tips and tricks
Sunday, December 1, 2013
COBOL Tutorial Class 2 : Constants and Variable
In any programing language the data falls into two categories called constants and variables. Constants are those which cannot be modified during the program execution. Variables are data that can be modified during the program execution. In the hello word program the phrase "Hello world" is a constant. As in constants there is nothing much to learn let us directly jump into variables.
Saturday, November 16, 2013
COBOL Tutorial Class 1: Introduction
Well, one more COBOL tutorial ! Already there are ample COBOL tutorial / free PDFs in the internet. Why one more ? Well I guess I want to create a tutorial for the users who don’t have the time to go through an entire book or a PDF. This tutorial is going to be short and quick. Let me split this across multiple posts. Here is the first post.
Wednesday, December 5, 2012
Convert Gregorian date to Julian date in REXX
Using below simple REXX code one can covert Gregorian date to Julian format. Below code convert date with format CCYYMMDD to YYDDD format.
Saturday, July 14, 2012
Execute a REXX code in batch
Here is how you can execute a REXX module in batch. This is the way to execute a REXX program using a JCL. You need to use program IKJEFT01 to invoke a REXX module from a job.
Wednesday, June 13, 2012
Convert VB to FB
Converting variable block to fixed block file is often necessary in Mainframe. If the VB file has LRECL = n, the corresponding FB file record length will be n-4 as the first 4 bytes of VB file is used for Record Descriptor Word (RDW) containing the integer length of the record in bytes.
Saturday, March 17, 2012
Practise rexx at home in windows pc
Many of us want to do REXX programing at home. If you want to do REXX programing in your PC, you need a REXX interpreter. Regina REXX is one such interpreter you can download and use for free.
Tuesday, November 15, 2011
Example of skeleton JCL
A skeleton JCL or JCL skel is a JCL template that another program can use with certain parameter and create dynamic JCL on the fly. Today I will show how skeletal JCL works with a simple example. Here is one example of skeleton JCL.
Subscribe to:
Posts (Atom)