What are the differences bitween cobol and cobol-2?
Answer / nimsatprasad
There are at least five differences: COBOL II supports
structured programming by using in line PERFORMs and
explicit scope terminators, it introduces new features
(EVALUATE, SET .. TO TRUE, CALL .. BY CONTEXT, etc), it
permits programs to be loaded and addressed above the 16
megabyte line, it does not support many old features (READY
TRACE, REPORT-WRITER, ISAM, etc.), and it offers enhanced
CICS support.
| Is This Answer Correct ? | 5 Yes | 1 No |
C1 C2 C3 are three conditions whose TRUTH values are as folloes. C1-TRUE C2-FALSE C3-TRUE A,B,C are defined as given below A:C1 AND(NOT C2) OR C3 B.(NOT C1) OR (NOT C2 AND NOT C3) C.(C1 OR C2)AND C3 D.C1 AND C2 OR C3 given the above information which of the following statements are valid? a.only A,B and C are TRUE b.only A,C and D are TRUE c.A,B,C and D are TRUE d.only C and D are TRUE
Define in-line perform?
What is Static,Dynamic linking ?
Can we MOVE X(9) to 9(9) OR 9(9) to X(9)? If yes what are the ways for doing this?
12 Answers T systems, Tech Mahindra,
How can I find the maximum value of a field in a file while reading the file dynamically? without using sort function. Suppose i have a file with fields Timestamp, description, teamname, teamnumber.. i have read the file till end and find the maximun value of timestamp which is not in sorted order.. can we use function max(timestamp)?
01 a pic 9(3) value is 123 01 b pic 9(6) move a to b wht will be the value ? and 01 a pic x(6) value is abc 01 b pic x(3) move a to b wht will be the value ?
Are you comfortable in cobol or jcl?
Read filea And file b write the same records in both files? Records in a but not in b record in b but not in a
what is the default print format? in cobol
What is the purpose of Identification Division?
can we write paragraph in area B .....
Is this allowed? 01 WS-TABLE. 03 FILLER-X PIC X(5) VALUE 'AAAAA'. 03 WS-EX REDEFINES FILLER-X OCCURS 5 TIMES PIC X(1). can redefines clause be used with occurs clause?