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 / gummadi srinivas

USING REFERENCE MODIFICATION WE GET DATE

1) current date
move function current-date (1:8) to ws-today
here ws-today is w.s.s variable


2) current time
move function current-date (9:6) to ws-time
here ws-time is the w.s.s variable

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is amode(24), amode(31), rmode(24) and rmode(any)?

1092


Differentiate between structured cobol programming and object-oriented cobol programming.

1074


What are the pertinent COBOL

2509


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

1131


) how do u code after getting data?

2073


What is the difference between Global and External Variables?

1293


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

1126


What are literals?

1073


how do you reference the fixed unblock file formats from cobol programs

1173


Can we change the password using ALTER? anyone tried and changed?

1951


What is the difference between perform … with test after and perform … with test before?

1371


What are 77 levels used for?

1052


In COBOL, what is the different between index and subscript?

1184


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

3171


What is amode(31)

1108