How do you fetch current date in normal cobol pgm and in
cobol-db2 pgm?

Answer Posted / adithya

procedure division.

accept a from date.

accept b from date

accept c from day-of-week

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the compute verb? How is it used?

649


Explain about different table spaces.

641


) what is the difference between AID and HANDLE AID?

1626


Difference between cobol and cobol-ii?

697


There are 5 fields and 1000 records in a file. Unload it into an array. Write the syntax for declaration and how will you unload it.

919






What is the difference between comp and comp-3 usage?

669


What is the difference between structured cobol programming and object alternativelyiented cobol?

746


How do we get current date from system with century in COBOL?

792


Define cobol?

854


How to change size of Initial number of records to *NOMAX for ALL PF files from perticular library, how can I do that

2716


How do you differentiate between cobol and cobol-ii?

646


Write a program to explain size error.

667


how do you reference the ksds vsam file formats from cobol programs

646


What is the difference between next sentence and continue in cobol programing language?

695


What is the difference between Call and a Link?

690