Identify the invalid dataname from the following:
(A) savings-account
(B) annual-allocation-for-overhead
(C) samount250
(D) 12demand

Answers were Sorted based on User's Feedback



Identify the invalid dataname from the following: (A) savings-account (B) annual-allocation-fo..

Answer / elite group

d

Is This Answer Correct ?    16 Yes 0 No

Identify the invalid dataname from the following: (A) savings-account (B) annual-allocation-fo..

Answer / ajmal

Correct Answer is (d)

Dataname CANNOT start with a numeric value. Must start with
alphabet only.

Also dataname can contain a maximum of 30 characters.
Therefore (b) is correct.

Is This Answer Correct ?    4 Yes 0 No

Identify the invalid dataname from the following: (A) savings-account (B) annual-allocation-fo..

Answer / bhupendraprajapati

Answer is (D)

Is This Answer Correct ?    0 Yes 0 No

Identify the invalid dataname from the following: (A) savings-account (B) annual-allocation-fo..

Answer / prasanna

The answer is B because of the field restriction in COBOL..
only 8 chars are allowed..



Cporrect me if i am wrong

Is This Answer Correct ?    0 Yes 17 No

Post New Answer

More COBOL Interview Questions

what is the meaning of pic 9(09)v99-

4 Answers   HSBC,


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

0 Answers  


What does MAXCC 3 means? It is used in one my codes.

2 Answers   Wipro,


where do u use low-value and high value in cobol

3 Answers   CGI,


What is report-item?

1 Answers   IBM,






WE HAVE 2 FILES IN COBOL. ONE IS FIXED LENGTH RECORDS ANOTHER ONE IS VARIABLE LENGTH. IF I DECLEAR LRECL OF FIXED ONE AS 80 AND 2ND RECORD AS 132. WHAT WE NEED TO DECLEAR LRECL FOR THOSE 2 FILES IN JCL?

4 Answers   iGate,


Have you used comp and comp-3 in your project? And how?

0 Answers   IBM,


i want all ERRORS codes in COBOL ,JCL,VSAM ,DB2,CICS

4 Answers   Infosys,


Identify the invalid dataname from the following: (A) savings-account (B) annual-allocation-for-overhead (C) samount250 (D) 12demand

4 Answers   TCS,


How can you display the SPOOL information ?

2 Answers  


Can we MOVE X(9) to 9(9) OR 9(9) to X(9)? If yes what are the ways for doing this?

12 Answers   T systems, Tech Mahindra,


01 a pic 9(9v99) 01 b pic 9(9.99) wht will be the stored vales in both cases

6 Answers   Patni,


Categories