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

What is the Linkage section? What is the Use and Why the parm length use alway "PARM-LENGTH PIC S9(4) or PIC S9 (4) COMP." any reason?.Please let me know any one... Cheers,Prasad

8 Answers   Syntel,


can u give result for the fallowing example... 05 a pic 9(2) 05 b redifines a pic x(2). move 'xy' to b. display a,b.

10 Answers   IBM,


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

0 Answers  


C1 C2 C3 are three conditions whose TRUTH values are as folloes. C1-TRUE C2-FALSE C3-TRUE A,B,C are defined as given below A:C1 AND(NOT C2) OR C3 B.(NOT C1) OR (NOT C2 AND NOT C3) C.(C1 OR C2)AND C3 D.C1 AND C2 OR C3 given the above information which of the following statements are valid? a.only A,B and C are TRUE b.only A,C and D are TRUE c.A,B,C and D are TRUE d.only C and D are TRUE

1 Answers   TCS,


created cluster using IDCAMS ..that is empty ..when i write a program for read using Input ..wil it open the cluster or gives any error?

2 Answers   HCL,


Read filea And file b write the same records in both files? Records in a but not in b record in b but not in a

3 Answers   TCS,


What type of Call you would use if you don;t want the control back to the calling program?

8 Answers   TCS,


A paragraph PARA-X is to be executed when none of the data names A, B and C have value of 1. Which of the following will achieve this ? (a) IF A NOT = 1 OR B NOT = 1 OR C NOT = 1 PERFORM PARA-X (B) IF NOT A= 1 AND B= 1 AND C = 1 PERFORM PARA-X (C) IF A NOT =1 IF NOT B = 1 OR C= 1 PERFORM PARA-X (C) IF A NOT = 1 AND B NOT = 1 AND C NOT = 1 PERFORM PARA-X

3 Answers   TCS,


What is redefines clause in COBOL?

0 Answers   B-Ways TecnoSoft,


What is rmode(24)

0 Answers  


can i give 9(10) in comp 3 instead of s9(10) ? if i can give wht would be ths ans

2 Answers   DELL,


What guidelines should be followed to write a structured Cobol program?

1 Answers  


Categories