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 ?

Answers were Sorted based on User's Feedback



can we use the two 01 level in file discription ?..

Answer / 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

can we use the two 01 level in file discription ?..

Answer / sivakumar sekharannair

Two 01 level can be used for the same file, if the file is
a variable length file. Each 01 level identifies the
different layouts.

Is This Answer Correct ?    2 Yes 0 No

can we use the two 01 level in file discription ?..

Answer / kavya

yes.

Is This Answer Correct ?    2 Yes 1 No

can we use the two 01 level in file discription ?..

Answer / suresh

hI VAmsi we cant redifine in 01 level in file section.

Is This Answer Correct ?    2 Yes 1 No

can we use the two 01 level in file discription ?..

Answer / janaki

Yes we can.. This means that teh second layout redefines
the first layout.

Is This Answer Correct ?    1 Yes 1 No

can we use the two 01 level in file discription ?..

Answer / ramaswaminaidu g

Both vamsi and sivakumar are correct.we can use while
redefining o1 level and while using variable length records.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More COBOL Interview Questions

What are the different types of condition in cobol and write their forms.

0 Answers  


What are literals?

0 Answers  


i have a variable block which is used in my cobol program as input file having records of 4080 after compilation while runing the program im getiing file attribut mismatch and it is saying tht the record length of the file is 4084 can any one knw the answer how to reslove it ?

2 Answers  


Which of the following files can be OPENed in all the 4 modes? The four modes are INPUT, I-O, OUTPUT and EXTEND. (a) INDEXED (b) RELATIVE (c) SEQUENTIAL (d) All of the above

7 Answers   TCS,


What is an in-line perform ?

4 Answers   Accenture,


How does IDMS insure data integrity?

1 Answers  


how to pass 100 to s9(4) how r they inserted ?

3 Answers   TCS,


what are the error codes in cobol, db2, cics, vsam , and jcl

2 Answers   TetraSoft,


What do you understand by passing by reference and passing by content?

1 Answers  


Without using move verb how to move one variable to another.

5 Answers  


How are the next sentence and continue different from each other?

0 Answers  


How do u sort the table for Search ALL? Is it only using ASCENDING KEY IS statement in occurs clause? If the data is input in non ascending order, will the ASC KEY IS automatically sort the data? or will it throw compile time error?

1 Answers   CTS,


Categories