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 mainprogram and subgram...if i compile mainprogram without stop run..what will u get in compilation time?
IDENTIFICATION DIVISION. PROGRAM-ID. MOVEPGM. DATA DIVISION. WORKING-STORAGE SECTION. 01 WS-I PIC 9(2). PROCEDURE DIVISION. A1000-MAIN-PARA. PERFORM PARA-X WITH TEST BEFORE UNTIL WS-I= 5 STOP RUN. PARA-X. DISPLAY "BEST2". I m getting error s722,while executing the program, seems getting in loop, can anybody tell me why
hi, can you ppl tell me, how to check whether the rewrite we gave for the ksds file is successful or not in the program.? i gave rewrite, the rewrite code is executing and maxcc=0 but updation doenot happen in the file?
01 a pic s9(5) value '-12345' how it will be stored
What is the difference between perform … with test after and perform … with test before?
what is s000 u4087 error? please give the all error codes in cobol,jcl.
I have program P1 which calls file F1 which has 100 records and following structure 001 .................. 002 .................. 003 .................. 098 .................... 099 ................... 100 .................... Now I want to read these files and write these records in file F2 in following manner. 001 ...... 051 ..... 002 ...... 052 ..... 003 ...... 053 ..... .......... ....... .......... ....... .......... ....... 048 ........ 098 ...... 049 .......... 099 ....... 050 .... 100 ......
i need the code for this program in cobol. 2 + 1 = 3 4+3=7 6+5=11 8+7=15 10+9=19
What is the difference between COMP & COMP-3 ?
IF there 5 to 6 files in a JCL and there is some space abends, how can we identify which file has space abend and what can be done to get off that abend or rectify that abend.
How to code fscode 10 in cobol program? Where yoy code in your pgm?give ans for the question.
What is Redefines clause?