You are here:

Cobol

Recent Answers

2009-11-16 Cobol - Is-Numeric validation problem with MF COBOL server express 5.1:

The definition of S9 C-3 means it will have 'C' or 'D' as sign nibble. The definition of 9 C-3 means it will have 'F' as sign nibble. The I suggest you redefine the data to have both signed and unsigned

2009-11-16 Cobol - cobol:

VAX COBOL was COBOL-85 based. Current z/OS COBOL is COBOL-85 with 1994 extensions and 2002 Standard extensions. So the base code structure is the same but the extensions in z/OS are way beyond Vax COBOL

2009-11-13 Cobol - To remove spaces from a field of 9(07)V9(02):

A field with a V does not have a decimal point in the data. This will be very difficult to figure out what the real value is. For just numbers, the NUMVAL function will extract the digits and ignore

2009-11-12 Cobol - Date Compare:

Several ways to handle. If you just want to determine = condition, just have both in identical format. [DDMMYYYY | YYYYMMDD | MMDDYYYY]. If you need to determine what is greater or less, then you must

2009-11-11 Cobol - z/OS Convert EST to GMT:

No callable routine that I know of. However, you can create one. THe FUNCTION(Current-DATE) returns the difference as a signed integer between local time (EST) and GMT. You can then do that conversion

Categories

Browse Alphabetically

©2009 About.com, a part of The New York Times Company. All rights reserved.