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 / kishore

01 DATE-FIELD
05 DATE-YYYY PIC 9(04).
05 FILLER PIC X(1).
05 DATE-MM PIC 9(02).
05 FILLER PIC X(1).
05 DATE-DD PIC 9(02).
01 DATE-CONT
05 DATE-MM-CONT PIC 9(02).
05 DATE-DD-CONT PIC 9(02).
05 DATE-YYYY-CONT PIC 9(04).

ACCEPT DATE-FIELD

MOVE DATE-DD TO DATE-DD-CONT
MOVE DATE-MM TO DATE-MM-CONT
MOVE DATE-YYYY TO DATE-YYYY-CONT

DISPLAY DATE-CONT

Is This Answer Correct ?    6 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the difference between section, paragraph and sentences?

928


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

919


Explain the difference between comp & comp-3?

925


What are the types of perform?

972


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

873


Explain how to update data area in cobol 400 program?

983


What is perform?

1067


Define redefine?

1079


Explain the input procedure?

905


Explain the output procedure?

990


Explain the input procedure and output procedure?

874


I like to know if possible to use %TRIM or any statement with prefiv "%" like RPG ile programs. thanks

2448


seqence numbers in cobol

3073


What is sort? And its syntax?

1001


Explain the types of perform?

952