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

I have program P1 which calls file F1 which has 100 records and following structure 001 .................. 002 .................. 003 .................. 098 .................... 099 ................... 100 .................... Now I want to read these files and write these records in file F2 in following manner. 001 ...... 051 ..... 002 ...... 052 ..... 003 ...... 053 ..... .......... ....... .......... ....... .......... ....... 048 ........ 098 ...... 049 .......... 099 ....... 050 .... 100 ......

12182


What are the different data types in cobol?

1318


Explain what you understand by passing by value.

1097


how do you reference the rrds file formats from cobol programs

1492


How do u write test cases?

2011


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

2393


How to find out the closest prime number of an input number? I believe it has something to do with SEARCH and COBOL Linear Array.

4119


Have you used the sort in your project?for this type of questions any working on real time project give the eg. with real time scenario.

2394


How to get the last record in vsam file in cluster? And how can you get the ksds file records into cobol program?

1089


Explain the configuration section of a cobol program with examples of syntax.

1122


How can you get the ksds file records into your cobol program?

1025


Write some characteristics of cobol as means of business language.

1078


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

1284


What is link edit in cobol?

1148


Which is not true about evaluate statement

2391