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 to Convert 2010/02/11 to m/dd/yyy.. with string and
without string if any other method... code

Answer Posted / naresh bandaru

01 date-input
05 DATE-YYYY PIC 9(04).
05 FILLER PIC X(1).
DATE-MM PIC 9(02).
FILLER PIC X(1).
DATE-DD PIC 9(02).
01 date-output
05 DATE-YYY PIC 9(03).

05 DATE-M PIC 9(01).
05 DATE-DD1 PIC 9(02).
accept date-input.
move date-yyyy to date-yyy.
move date-mm to date-m.
move date-dd to date-dd1.
display date-output

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the types of perform?

1025


Explain how to convert 2010/02/11 to m/dd/yyy.. With string and without string if any other method... Code?

1158


Explain the syntax of sort?

983


Define sort?

1194


Explain the input procedure?

951


Define perform? And its types?

997


Explain the input procedure and output procedure?

922


Explain how to update data area in cobol 400 program?

1028


What is the syntax of sort?

912


How to update data area in cobol 400 program?

1053


How to detect record is locked in cobol/400? What is the solution for that?

973


What is the syntax of redefine?

958


Explain the difference between comp & comp-3?

988


Explain the difference between search and searchall?

878


Explain what all the conditiones required for using open opcode on a file?

972