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

If you are current on the owner of a set, what is the difference between obtain next and obtain first?

0 Answers  


How To move a value to an array using move verb?

3 Answers   IBM,


) How do u handle errors in BMS macro?

0 Answers   IBM,


how to access vsam files in cobol and how to differentiate that this is ESDS file

1 Answers   EDS,


Can the OCCURS clause be at the 01 level?

8 Answers   Oracle,






WORKING-STORAGE SECTION. 01 VAR1 COMP-2 VALUE 0. PROCEDURE DIVISION. MOVE 10.2115 TO VAR1. DISPLAY 'VAR1 =' VAR1. GOBACK. 10.2115 is stored as .10211499999999996E 02 in OS VS Cobol 10.2115 is stored as .10211500000000000E 02 in ecobol. Any reason why?

3 Answers   TCS,


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

5 Answers  


A cobol program to read a file , match it with other if. If match occurs then write it to an output file. If no match then no need to write it.Error log created by program to track any error.

1 Answers  


how will u find out 3rd week's 2nd day using occurs ?

3 Answers   L&T,


What R 2 of the common forms of the EVALUATE STATEMENT ?

1 Answers   Cap Gemini,


In an array processing what is the thing that can be done by using subscripts but not by using index

4 Answers   JPMorgan Chase,


How do pass the values to the parameters in cobol

2 Answers  


Categories