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 are decleratives in cobol?

2303


Write a program to enter and display the names of students in a class using the occurs clause.

1257


can you please let me know if there is any walkins for COBOL/PLI/DB2/IMS/JCL in pune other than IBM and ITC infotech

2489


What is amode(31)

1214


What are the different rules for performing sort operation?

1277


what is search and searchall?what is the diffrence between them?give an best example?

6919


What is Pic 9v99 Indicates in COBOL?

1337


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

1273


Explain what you understand by passing by value.

1198


Explain about different table spaces.

1153


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

1262


Differentiate cobol and cobol-ii. (Most of our programs are written in cobolii, so, it is good to know, how, this is different from cobol)?

1174


What is the difference between comp and comp-3?

1224


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

1203


How to read the 2nd last record of a VSAM file? (The file size is huge and we don't know the key)

3317