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 include time & date in the report generation in cobol
programing?

Answer Posted / varun v

Use the below command

MOVE FUNCTION CURRENT-DATE(1:16)
TO WS-DATE-WORK-AREA

Here WS-DATE-WORK-AREA should have the
format "CCYYMMDDhhmmssms"

CCYY - YEARS
MM - MONTHS
DD - DAYS
hh - HOURS
mm - MINUTES
ss - SECONDS
ms - MILLISECONDS

Is This Answer Correct ?    11 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do define dynamic array in cobol.

1091


Which mode is used to operate the sequential file?

1157


Explain how to differentiate call by context by comparing it to other calls?

1139


What is the difference between a binary search and a sequential search what are the pertinent cobol?

1101


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

1203


What is redefines clause in COBOL?

1257


In which area will you utilize 88 level items in cobol?

1114


What is inspect in cobol ?

1255


what is the use of outrecord?

2161


What do you understand by psb and acb?

1071


Mention the guidelines to write a structured cobol program?

1039


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

1962


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.

4124


what is difference between cobol and cobol/400

22763


What are the rules of the move verb?

1210