What is an index for tables?
Answers were Sorted based on User's Feedback
Answer / shubha
index denotes the displacement value and it is system
defined.if you are using index variable with occurs
clause,it need not have be defined in the data division.but
it should be mentioned as i.e syntax is:
levelno(02 to 49) identifier occurs n times indexed by
indxname
| Is This Answer Correct ? | 3 Yes | 0 No |
Answer / guest
index is sama as primary key....
ex:if u open your book, if u can find the index inf rist
tow pages. table index is also same as this....
| Is This Answer Correct ? | 1 Yes | 0 No |
How can we find that module can be called – whether DYNAMICALLY or STATICALLY?
Hi , I am posting some questons which are asked at interview. These may help u for ur interview... what is static and dynamic call?
How is sign stored in a comp-3 field?
What is link edit in cobol?
if a>b continue display x. dispaly y. end-if display 1 display 2. display 3. what should be my output ?
How many bytes S(8) comp field occupy and its maximum value?
if a dataset is already created with fixed length but after that i want to change fixed length to variable length then how is it possible
What will happen if you code GO BACK instead of STOP RUN in a stand-alone COBOL program i.e. a program which is not calling any other program ?
How to replace the GOTO statement in COBOL without changing the structure of program. e.g. consider following code... I.D. E.D. D.D. P.D. compute C = A + B. GOTO para 100-display. compute D = C - D. GOTO 200-display. some other logic...... ........ GOTO 300-para. ...... ...... GOTO 400-para. Now I want to replacce all GOTO statements without changing the structure and otput of program.
Explain how will you differentiate between an internal and an external sort, the pros and cons, internal sort syntax etc
Which of the following paragraphs is compulsory in every COBOL program? (a) SPECIAL-NAMES (b) PROGRAM-ID (c) FILE-CONTROL (d) OBJECT-COMPUTER
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