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

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

2014


Discuss about changing dataset name in proc.

1173


How to change size of Initial number of records to *NOMAX for ALL PF files from perticular library, how can I do that

3172


1.give the details about WHEN OTHER. 2. how many form are available in evaluate.

2060


What is the difference between binary search and sequential search?

1044


What is Pic 9v99 Indicates in COBOL?

1178


What is report-item in COBOL?

1094


For rewrite, why is it mandatory that file needs to be opened?

1063


Can you please let me know the centre name of INS certification in Kolkata.

2181


What is static and dynamic call in cobol?

1002


Which is not true about evaluate statement

2394


what are decleratives in cobol?

2209


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

1161


if we have " ibm mainframe ",in that how to remove first and last leading space eg:"ibm mainframe" like that the answer we need

1291


In COBOL programming, what is PERFORM? What is VARYING?

1087