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 change picture class of copy book variable inside
program?

Answer Posted / sathishkumar

Hi,

Use Replacing option along with COPY.

Copy book(SAMPLE) defined as :

01 COPY REC
05 Emp-no 9(5).
05 name x(5).

If you want to change the Emp-No to 9(6).

Copy SAMPLE Replacing EMp-no by EMP-no1.
Define EMp-no1 as 9(6.

Is This Answer Correct ?    16 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between perform … with test after and perform … with test before?

1437


I have program P1 which calls file F1 which has 100 records and following structure 001 .................. 002 .................. 003 .................. 098 .................... 099 ................... 100 .................... Now I want to read these files and write these records in file F2 in following manner. 001 ...... 051 ..... 002 ...... 052 ..... 003 ...... 053 ..... .......... ....... .......... ....... .......... ....... 048 ........ 098 ...... 049 .......... 099 ....... 050 .... 100 ......

12363


What are declaratives and what are their uses in cobol?

1197


Whats the difference between search & search ALL?

6513


What is amode(24)?

1225


How to get the last record in vsam file in cluster? And how can you get the ksds file records into cobol program?

1157


What is Pic 9v99 Indicates in COBOL?

1253


) what is the difference between AID and HANDLE AID?

2149


In COBOL, what is the different between index and subscript?

1243


How to know whether the module is dynamical or statistical?

1133


What are the different rules of SORT operation?

1134


Write a program that uses move corresponding.

1137


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

1163


What is the difference between comp and comp-3?

1181


what is the difference between COBOL2 AND COBOL390?

3046