Using below simple REXX code one can covert Gregorian date to Julian format. Below code convert date with format CCYYMMDD to YYDDD format.
Wednesday, December 5, 2012
Convert Gregorian date to Julian date in REXX
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.
Friday, November 11, 2011
Design ISPF panel for REXX tool
Designing a REXX tool with panel is not a tough task. You just need to learn to design ISPF panel and display panel from REXX code and you might also need to know how to use skeleton JCL and submit a job from REXX program. So to design your REXX tool with panel you need to know following things.
Wednesday, November 9, 2011
Remove duplicate records without changing record order using SORT JCL
Whenever SORT utility is used for removing duplicates record order gets changed. Many times that is not the desired result. To remove duplicate records without changing record order use below trick. I have shown below example with file having record length 80. That needs to be changed according to file record length you want.
Subscribe to:
Posts (Atom)