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

How are the next sentence and continue different from each other?

1287


What is the difference between next sentence and continue in cobol programing language?

1211


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

2068


How to use the same COBOL program in Batch and CICS on lines? explain with an example

2376


How to remove the spaces at the end of each record in the output file of variable length, via cobol program?

1160


Explain how you can characterize tables in cobol?

1055


What are the pertinent COBOL commands?

3165


Why occurs cannot be used in 01 level in COBOL?

1154


Why did you choose to work with ibm mainframe cobol programming?

1091


What is the default value(s) for an initialize? What keyword will allow for an override of the default?

1112


If you are current on the owner of a set, what is the difference between an obtain next and obtain first? Actually in which topic will we use dis???Plz explain it clearly

3151


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

2119


How do u write test cases?

2062


Write the code to count the sum of n natural numbers.

1200


)If there are 10 steps in GDG, if I want to refer the step2 after step5 . what should I do?

2003