Identify the invalid dataname from the following:
(A) savings-account
(B) annual-allocation-for-overhead
(C) samount250
(D) 12demand
Answer Posted / 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 View All Answers
What are declaratives and what are their uses in cobol?
I have File 1 occurs 5 times with Employee-ID,Employee-Name,Employee-Dept (EEE and MECH). I have File 2 occurs 10 times with Employee-ID,Employee-Name,Employee-Dept (EEE,CIVIL,CHEMICAL and MECH). In FIle 1 and FIle 2 , for matching Employee-DEPT (Only MECH) , we need to move entire records from file1 to file 2. We should not use 2D array. Your help is needed here.
What are various search techniques in cobol? Explain.
) How do u handle errors in BMS macro
what are decleratives in cobol?
Which division and paragraphs are mandatory for a COBOL program?
Explain what you understand by passing by value.
What is the compute verb? How is it used?
How to read the 2nd last record of a VSAM file? (The file size is huge and we don't know the key)
What is the difference between comp and comp-3?
How do we get current date from system with century in COBOL?
What is the problem of ordered sequential files access?
What is the difference between goback, stop run and exit program in cobol?
I have a program with an Array of 5000 occurences which is being passed from 5 sub levels to the front end screen. Thess 5 programs using each 5*2 = 10 different arrays with size as 5000. This is causing the transaction to utilize more storage consupmtion. I am looking to reduce the storage consumption. As part of that initially i thought Dynamic array may solve my problem. After viewing the comments given i see its same as normal array. IS there any other way we can resolve this issue?
Write a program that uses move corresponding.