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 MOVE REDEFINES CLAUSE FROM INPUT TO OUTPUT ?

Answer Posted / adarsha

01 ws-misc-vars.
05 system-date pic x(06) value spaces.
05 system-date-rede redefines system-date
10 system-dt-yy pic x(02) value spaces.
10 system-dt-mm pic x(02) value spaces.
10 system-dt-dd pic x(02) value spaces.

01 ws-rep-dt-frmt pic x(06) value space.
.
.
.

procedure division.

move system-date to ws-rep-dt-frmt.

*** when you want any particular variable to be recevied or
stored in a particular format you can redefine them in the
way you want.. here system-date-rede has the same value as
system-date !

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is static and dynamic call in cobol?

1025


How to print 10 to 1 if the input have only 10 digit number?

1232


What are the different open modes available in cobol?

1167


What is rmode(24)

1112


What are the cobol coding sheets?

1201


What is the LINKAGE SECTION used in COBOL?

1487


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

1079


What are the pertinent COBOL commands?

3121


What is link edit in cobol?

1165


What is amode(24)?

1204


What are the rules of the move verb?

1216


What is the usage of comp fields in cobol?

1150


how we sort two input files based on a common column and giving one o/p file please send me the coding logic?

2091


A table has two indexes defined. Which one will be used by the SEARCH?

1246


what is search and searchall?what is the diffrence between them?give an best example?

6701