41. Which mode is used to operate the sequential file? |
An O-I mode (Output/Input mode) is used for starting and initiation of processing files. Processing of files is determined by successful execution of an OPEN statement. |
42. How many bytes S(8) comp field occupy and its maximum value? |
S(8) can store 4 bytes and the highest value is 99999999. |
43. How arrays can be defined in COBOL? |
Arrays can be defined as -05 Array1 PIC X(9) occurs 10 times. |
44. What are literals? |
A literal is a data item which consists value by itself. It cannot be referred by a name. They are constant data items. There are two types of literals: String / Alphanumeric Literals and Numeric Literals. |
45. What is a report item? |
A report item is a field to be printed which has Edit Symbols. |
46. Can we redefine the field of X(200) to less than 200? |
Yes, we can redefine the values from bigger number to smaller number. |
47. What is length is Cobol? |
Length is like a special register to have the length of a group or an elementary item. |
48. What does the INITIALIZE verb do? |
Alphabetic, Alphanumeric fields & alphanumeric edited items are set to SPACES.Numeric, Numeric edited items set to ZERO.FILLER , OCCURS DEPENDING ON items left untouched. |
49. What is 77 level used for? |
Elementary level item.It cannot be subdivisions of other items (cannot be qualified), nor can they be subdivided themselves. |
50. What is 88 level used for? |
For condition names. |
Copyright 2020 by ibmmainframer. All Rights Reserved.