I need to compare 3 variables(dates) and do some processing
based on the earliest date. There could be more then 1 date
record in any of the 3 fields. What is the best way to code
this?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More COBOL Interview Questions

01 A pic 9(100) find record length of it

6 Answers   TCS,


I have a Main Program which is calling Sub-Program which is a DB2 pgm. What will happen if I am not closing the cursor used in the Sub-program? Please advise..

3 Answers   iGate,


How can you declare the file ?

1 Answers   Wipro,


what are decleratives in cobol?

0 Answers   GGG, Satyam,


Difference between array and sub-script ?

0 Answers   HCL,


What is the figurative constant in cobol?

1 Answers  


In the JCL, how do you define the files referred to in a subroutine ?

2 Answers  


Suppose i want to declare a binary comp fild of 7 byte .how to write?

6 Answers   IBM,


A LESS 1200 IF B GREATER 25 MOVE 47 TOC ELSE MOVE 57 TO C IF A GREATER 249 MOVE 67 TO C ELSE NEXT SENTENCE ELSE IF B LESS 67 MOVE 27 TO C What will be the value of C, when A is 137 and b is 25

3 Answers   TCS,


Which is the default, TEST BEFORE or TEST AFTER for a PERFORM statement?

0 Answers  


How can you display the SPOOL information ?

2 Answers  


what is sort? whis is internal & external sort ?when do u go for inter sort & external sort? tell about some sort utilites?

2 Answers   BirlaSoft,


Categories