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 a subscript ?
Write a program to enter and display the names of students in a class using the occurs clause.
What are the different data types available in COBOL?
What is an explicit scope terminator?
What are the situations u have used in ur project for Subcript and Index ? 1.if u use Subscript why not Index,why u choose Subscript only? 2.if u use Index why not Subscript,what abt Displacement?
What are the differences between OS VS COBOL and VS COBOL II?
What is SET TO TRUE all about, anyway?
How to delete a front spaces in a data-name/variable in cobol Example:- 01 data-name-1 PIC x(20) value " cobol language". 01 data-name-2 PIC x(20). MOVE data-name-1 to data-name-2. would like the value of data-name-2 is "cobol language".
How to change size of Initial number of records to *NOMAX for ALL PF files from perticular library, how can I do that
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?
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.
period is missing in the cobol program which error we getting