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
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 |
I have a field with data type X(10). I want to perform arithmetic operation on this field? I tried doing it by moving the value into a numeric field. but it didn't work out. I am getting a S0C7 abend. Pls let me know if there is any way of getting this done?
is it possible to declare index in cobol program? if it is not why its tell me pls
Write the code to count the sum of n natural numbers.
What is SSRANGE, NOSSRANGE ?
How many sections are there in data division in COBOL?
What is the linkage section?
i want to learn mainframes. i completed MCA ,whats the future of mainframes
I have a sequential file. How do I access a record in this sequential file randomly in my program ?
What are options have been removed in COBOL 11?
can anyone explain me the concept of COMP-4 PLEASE??
What is file status 39 ?
How do u debug a S0C7 abend? (aswered till we get the field which caused that) After knowing the field which caused that how do u know the record which caused that if it is in production env? (dumb) Ok let us assume that we got to know that 100th record caused that and I wanted to skip only 100th record from the file and process from 101th. How to do that in JCL using SORT? (tried with STOPAFT but ended up dumb when he said smthing else is ther)