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

What do you understand by psb and acb?

1094


How you can read the file from bottom?

1132


What is amode(24), amode(31), rmode(24) and rmode(any) (applicable to only mvsesa enterprise server) ?

1169


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.

2421


What is the difference between Structured COBOL Programming and Object Oriented COBOL programming?

1098


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

1084


What is the difference between external and global variables in COBOL?

1434


) what is the difference between AID and HANDLE AID?

2136


What is amode(24)?

1219


i was faced one question- i have value -00001234.56 Suppress the zeroes and the output should be -1234.56 But Not - 1234.56 spaces should not be available after suppressing the zeroes. logic in jcl and cobol?

1309


System Testing for Mainframe Developers What is System Testing? integration testing ? what's the procedure ..

2050


Write the code implementing the perform … varying.

1039


What are INPUT PROCEDURE and OUTPUT PROCEDURE?

1277


INREC AND OUTREC? HOW TO SPLIT 5K RECORDS TO DIFFERENT FILES IN A FILE IN COBOL? RESTART IN COBOL-DB2? ISOLATION LEVELS?

852


explain sorting techniques in cobol program?

1177