| Other COBOL Interview Questions |
|| Asked @
I have a following requirement to write the cobol program.
I have to load the 129 variables from input sequential file
which are in excel sheet to the cobol inernal table. and
after loading into table i have to compare this data with
the business file. here compare means controlling the data
whether the format(numeric,alpha) is same in the business
file and in the table??? i have the same data in input and
could anyone please give me any idea of the logic?//
i have all the 129 different variables(129rows,1 column)is
|describe 805 error
|What is the output generated by the following code?
05 SUBFLD1 PIC XX VALUE "AB".
05 FILTER PIC X(6) VALUE SPACES.
01 GRP-2 REDEFINED GRP-1.
05 SUB-FLD2 PIC XX.
05 SUB-FLD3 PIC XX.
05 FILTER PIC X(4).
IF SUB-FLD1 NOT = SPACES
MOVE "ABBCCD" TO GRP-1
IF SUB-FLD3 = SPACES
|01 a pic 9(6) value is 123456
01 b pic 9(3)
move a to b
wht will be the value ?
|give the examples for strings and unstrings in cobol
|copy 100 records without using ibm utilities
|wirte a pgm in using files in which we hav 10 ,20,30 40...100
records in inputfile and i want them to be send to outputfile
in reverse order.
PLZ HELP ME OUT .........THIS IS A RECENT QUESTION IN IGATE..
Can anyone tell me how we can MOVE value of a X(19)
variable to a S9(17) COMP-3 variable?
Answer with an Example will be of great help.
|What is an explicit scope terminator?
|how many bytes does a s9(12)COMP-4 field occupy??
ans with reason please
|What is the default value of DISP parameter?
|have in 100 records in a flat file i want to move records
like 1,3,5,7,9,11,.. to Output file1 and
2,4,6,8,10,12,14 .. records moved to Output file2..Pls
Provide real time answer..
|For more COBOL Interview Questions Click Here |