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 |
what is the advantage of sync class
Will the variable POS in the following code have a value of 2 or not? 01 POS PIC S9(4) COMP VALUE 2. 01 FIRST-NAME PIC X(10) VALUE 'ABC'. 01 LAST-NAME PIC X(10) VALUE 'XYZ'. 01 NAME PIC X(20) VALUE SPACES. STRING FIRST-NAME DELIMITED BY SPACES ' ' DELIMITED BY SIZE LAST-NAME DELIMITED BY SPACES INTO NAME WITH POINTER POS
How include time & date in the report generation in cobol programing?
Why would you use find and get rather than to obtain?
I have a File that has duplicate records. I need only those records that occur more than thrice.?
Can printer files (having 133 characters) be of variable length?
Write a cobol program making use of the redefine clause.
in a indexed file what is procedure for read the records from 12 to 18. please give the code example
when COMP-3 is preferrable?
consider the following two IF statements: IF X AND NOT Y MOVE A TO B IF Z=1 OR 9 MOVE A TO B select one of the following data divusion entries which gives identical results for both the above IF statements a.01 Z PIC 9 88 X VALUE 1.9 88 Y VALUE 0.2 THRU 8 b.01 Z PIC 9 88 X VALUE 0.2 THRU 8 Y VALUE 1.9 c.01 Z PIC 9 88 X VALUE 1.9 88 NOT-Y VALUE 0.2 THRU 1.9 d.none of yhe above
how many bytes do SPPPP999 will store?
When and how can we use index & subscript ?