There are no such things as COBOL files and COBOL data types.
COBOL is, far and away, the most versatile high level language in the computer industry. From the beginning, COBOL was designed to be flexible in handling all manner of file structures and data structures.
Data types and file...
This was passed on to me, and I pass on the advice for the newer programmers.....
"Code as if whoever maintains your code is a violent psychopath who knows where you live."--Nancy Lebovitz, the button lady
Stephen J Spiro
Terry Heinze posted this in comp.lang.cobol, and I thought it was so great, I want to share it!
*-----------------
You could save yourself some overhead by using:
MULTIPLY YYMMDD BY 100.0001 GIVING MMDDYY
and
MULTIPLY MMDDYY BY 10000.01 GIVING YYMMDD.
Those can be modified to include...
PLEASE
When you give us an example of your code, COPY and PASTE.
If you retype it, and you mis-spell a text item, or you leave out a PICTURE, or you leave out punctuation, or do something else that is not EXACTLY as you have it in your program, we CANNOT tell what might be contributing to your...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.