In a COBOL program, 2 tables TABLE1 and TABLE2 are defined
that are indexed by INDEX1 and INDEX2 respectively. Can we
use INDEX1 with TABLE2 and INDEX2 with TABLE1?
Answer / moideen
Because the index is defined to the corresponding table,
INDEX1 cannot work with TABLE2 and vice versa.
Is This Answer Correct ? | 14 Yes | 1 No |
COBOL Snippet: Tell where the control will when the below code execute IF (A=B) CONTINUE ELSE NEXT SENTENCE PERFORM <IMP-STMT> END-IF.
consider the following two statements MOVE 10 TO N PERFORM PARA-X N TIMES STOP RUN PARA-X MOVE 5 TO N how many times PARA-X willbe exicuted? a.10 b.5 c.infinate d.execution error
In CICS/VSAM every file that is accessed should be defined in FCT. we have CICS READ, WRITE, BROWSE commands for VSAM files. How does it work with DB2 tables. It know it has to do with the plan. Please expain with examples.
What happens when we move a comp-3 field to an edited (say z (9). Zz-)?
what is subscript in cobol?give realtime example?
Why there is no questions in this column?
i made it to stage 3 of an interview process wednessday they will quiz my knowledge again face to face for an analyst role recruiter said it will be based on Business requirements system is cobol and good ideas what they might ask etc
what is label record is standard or omitted in file description of data division?
How to remove the spaces at end of each record in the output file Via COBOL program? note: The file has a VB length
When the working storage variables get allocated? a.At Compile time b.At starting of the run time c.At end of the run time. d.None of these
How do you submit JCL via a Cobol program?
What is the file organization clause ?