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.