Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

how can we get current dat and time thru cobol pgm

Answer Posted / vinodquestion

HI friend,

Move function CURRENT-DATE to dt.

Here dt is a working storage variable.

If you want exactly date and time do this

Instead of CURRENT-DATE in above statement write this.

CURRENT-DATE(1:16)

That is using referential modification.

Is This Answer Correct ?    10 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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.

1395


How to fetch 1000 error records from VSAM file(Eg: 1000000 records present) while getting SOC7 abend ?

2416


What is redefines clause in COBOL?

1262


Which division and paragraphs are mandatory for a COBOL program?

1215


What happens when we move a comp-3 field to an edited (say z (9). Zz-)?

1349


i need a small 3d program using inline and outline.

2181


how to move the records from file to array table. give with code example

2647


I have a File that has duplicate records. I need only those records that occur more than thrice.?

9783


State the various causes of s0c1, s0c5 and s0c7.

1035


how to access the file from prodution from changeman tool and to submit a file to production

7483


How do you reference the fixed block file formats from cobol programs

1181


i want a program using by if, evaluate , string, unstring, perform, occurs?

4655


What is a scope terminator give example?

1070


How do define dynamic array in cobol. how do you define single dimensional array and multidimensional array in your cobol?

1201


How are the next sentence and continue different from each other?

1244