Click me

Friday 20 May 2011

COBOL tips



Cool and very useful mainframes tips and tricks!!!

 Check out some useful COBOL tips  


1. Use INITIALIZE verb to initialize variables. This will avoid invalid data move abends like S0C7.
Initialize verb intializes numeric variable to Zeroes, Alphanumeric and Alphabetic variables to spaces.


2. The PARM value passed from JCL to COBOL program can be fetched in the LINKAGE section variables but you have to define a variable of length 4 before which will contain the length of PARM string passed from JCL.



Check out more mainframe tips at http://mainframetipstricks.blogspot.com/

Check out our 100% free intraday share market tips at http://freesharemarkettips4u.blogspot.com/

No comments:

Post a Comment