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...

can we use the two 01 level in file discription ?

Answer Posted / vamsi

In a general scenario, we cannot use two 01 level numbers in
the same structure.
We can use this when we want to redefines entire structure only.
Eg:
01 ws-input.
10 name pic x(40).
10 desig pic x(40).
01 ws-input-re redefines ws-input
10 name pic x(30).
10 department pic x(10).
10 designation pic x(20).
10 salary pic s9(13)v99.
10 filler pic x(13).

this way we can use.

Is This Answer Correct ?    7 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What the difference is between continue and next sentence?

1103


What are all the divisions of a COBOL program?

1147


What happens when we move a comp-3 field to an edited (say z (9). Zz-)?

1317


Write a program to explain size error.

1137


Which is not true about evaluate statement

2394


how do you reference the variable block file formats from cobol programs

1183


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

1216


here is my requirement A1 is alphanumeric with value 'A1B2C3D4' as defined below 05 A1 PIC X(8) VALUE IS 'A1B2C3D4' but i need to have A2,A3 as ABCD & 1234 repectively...... A2 = ABCD A3 = 1234 Can you please explain me what are the different ways to do it?

7733


what is difference bt COND, REGION & TIME parameters at JOB & EXEC. give an exp.

9018


How can you get the ksds file records into your cobol program?

1026


) how do u code after getting data?

2074


What is the difference between external and global variables in COBOL?

1359


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

1371


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

3172


What are various search techniques in cobol? Explain.

1026