-
What is the difference between a subscript and an index in a table definition?
A subscript is a working storage data definition item, typically a PIC (999) where a value must be moved to the subscript and then incremented or decremented by ADD TO and SUBTRACT FROM statements. An index is a register item that exists outside the program's working storage. You SET an index to a value and SET it UP BY value and DOWN BY value.
-
What is difference between RM COBOL & MF-COBOL & Pro COBOL & VS-COBOL or Do we have any other type of COBOL ?
Can you please explain how these differences?
-
INSPECT and EXAMINE
What is the difference between INSPECT & EXAMINE?
-
In-line PERFORM and out-line PERFORM
what is the in-line PERFORM and out-line PERFORM?
-
-
INSEPCT
Give example of Inspect TALLYING / BEFORE INTIAL / AFTER INITIAL. In which situation will use this in COBOL?
-
-
Comp-3
What is comp-3 and advantage with examples?
-
-
How to edit comp-3 variable in cobol?
I have date 20101010 which is stored as comp-3 . Now I want to change this date to 2010-10-10 format. How to achieve this?. I also believe that we can't split comp-3 variable.Am I rite?..Help folks!!
-
-
-
-
What is the linkage section?
The linkage section is part of a called program that 'links' or maps to data items in the calling program's working storage. It is the part of the called program where these share items are defined.
-
-
-
-
What is the difference between comp and comp-3 usage? Explain other COBOL usages?
Comp is a binary usage, while comp-3 indicates packed decimal. The other common usages are binary and display. Display is the default. 3/28/00 Dave Herrmann: 'I was reading your FAQ on Cobol, as an fyi Comp is defined as the fastest/preferred numeric data type for the machine it runs on. IBM Mainframes are typically binary and AS400's are packed.'
-
-
COBOL Interview Questions
Ans