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


study the following code
01 A1
05 B PIC 99
05 C PIC X(4)
01 A2
05 B PIC 99V99
05 C PIC A(4)
pick out the valid statement from the following
a.A1 and A2 can not have sub-ordinates
b.A1 and A2 can have the same sub-ordinates but must have
same PIC clause
c.there is nothing wrong
d.A1 and A2 can have same sub-ordinates provided they are
not at 01 level

Answers were Sorted based on User's Feedback



study the following code 01 A1 05 B PIC 99 05 C PIC X(4) 01 A2 05 B ..

Answer / ram.g

there is nothing wrong....

Is This Answer Correct ?    15 Yes 1 No

study the following code 01 A1 05 B PIC 99 05 C PIC X(4) 01 A2 05 B ..

Answer / dimpy19

c.there is nothing wrong
WORKING-STORAGE SECTION.
01 A1.
05 B PIC 99.
05 C PIC X(4).
01 A2.
05 B PIC 99V99.
05 C PIC A(4).
PROCEDURE DIVISION.
DISPLAY 'HELLO'.
STOP RUN.

Is This Answer Correct ?    0 Yes 0 No

study the following code 01 A1 05 B PIC 99 05 C PIC X(4) 01 A2 05 B ..

Answer / satya prakash

a. A1 and A2 can not have subordinates because the size of
the group item A1 is differ from A2.

Is This Answer Correct ?    0 Yes 1 No

study the following code 01 A1 05 B PIC 99 05 C PIC X(4) 01 A2 05 B ..

Answer / asmara

B is the right answer because if the level and sub-
ordinates must be same as well as the same PIC clause must
be there. where B PIC clause is differ.

If i am wrong let me inform to my mail..

Regards,
Asmara

Is This Answer Correct ?    0 Yes 5 No

Post New Answer

More COBOL Interview Questions

wht is structured cobol pgm and non structred cobol pgm ?

1 Answers   CTS, DELL,


I have a File that has duplicate records. I need only those records that occur more than thrice.?

3 Answers   IBM, Wipro,


1.What is the limit of linkage section?

4 Answers  


What is the difference between performing a SECTION and a PARAGRAPH?

5 Answers   Accenture, Patni,


What is the LINKAGE SECTION used in COBOL?

0 Answers   UGC Corporation,


if a file has 1000 recods how copy the records from 1 to 100 records using sort

4 Answers   IBM,


A table has two indexes defined. Which one will be used by the SEARCH?

0 Answers  


Hi All, how is sign is stored in S9(17) comp-3 variable. Answer with an Example will be of great help.

5 Answers   EDS,


Study the DATA DIVISION entries and the three PROCEDURE DIVISION entries given below: 01 END-OF-FILE-SWITCH PIC XXX. 88 NO-MORE-RECS VALUE "YES". 88 MORE-RECS VALUE "NO". (i) READ SAMPLE-FILE AT END MOVE "YES" TO NO-MORE-RECS. (ii) IF NO-MORE-RECS = "YES" GO TO LAST-PARA. (iii) IF NO-MORE-RECS GO TO LAST-PARA. Which are wrong? (a) (i) and (ii) (b) (ii) and (iii) (c) (i) and (iii) (d) all

5 Answers   TCS,


if a=b how the flow will complete??? perform test through test-exit. perform activa through activa-exit. test. if a=b then next sentence else move a to c. test-exit. exit. activa. -- -- activa-exit. exit.

1 Answers   IBM,


what do you mean by copybook? and what is the difference between the copybook which we are using in working storage and procedure division.

3 Answers   HCL, TCS,


what is the use of outrecord?

0 Answers  


Categories