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 a scope terminator give example?

1050


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

2014


What is the default value(s) for an initialize and what keyword allows for an override of the default?

1155


i want a program using by if, evaluate , string, unstring, perform, occurs?

4636


What the difference is between continue and next sentence?

1104


how do you reference the printer file formats from cobol programs

1141


How do define dynamic array in cobol. how do you define single dimensional array and multidimensional array in your cobol?

1186


what is s000 u4087 error? please give the all error codes in cobol,jcl.

17796


How do you differentiate between cobol and cobol-ii?

1129


Describe the cobol database components?

1125


please..could u give an example about USAGE IS POINTER ..and explain why and when we use it ?

2404


How to fetch 1000 error records from VSAM file(Eg: 1000000 records present) while getting SOC7 abend ?

2394


Explain about different table spaces.

1047


write a cobol logic. i have file that has 10 records .1 record go to first output file and second record goes to 2 output and etc

1174


what is the difference between COBOL2 AND COBOL390?

2987