| Other COBOL Interview Questions |
|| Asked @
|1.What is the limit of linkage section?
|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
|How to concatenation one or more string?
|I have two questions here.
1. How to read a flat file in reverse order?
2. How to read a VSAM KSDS file in reverse order?
In both the cases we donot know the total number of records.
|study the following code
05 B PIC 99
05 C PIC X(4)
05 B PIC 99V99
05 C PIC A(4)
pick out the valid statement from the following
a.A1 and A2 can not have sub-ordinates
b.A1 and A2 can have the same sub-ordinates but must have
same PIC clause
c.there is nothing wrong
d.A1 and A2 can have same sub-ordinates provided they are
not at 01 level
|In the JCL, how do you define the files referred to in a
|hi, can you ppl tell me, how to check whether the rewrite
we gave for the ksds file is successful or not in the
program.? i gave rewrite, the rewrite code is executing and
maxcc=0 but updation doenot happen in the file?
|I have a field with data type X(10). I want to perform
arithmetic operation on this field? I tried doing it by
moving the value into a numeric field. but it didn't work
out. I am getting a S0C7 abend. Pls let me know if there is
any way of getting this done?
|What is SDSF?
|hw to create 3 dimensional array & hw to access it?
01 WS-I PIC 9(2).
PERFORM PARA-X WITH TEST BEFORE UNTIL WS-I= 5
I m getting error s722,while executing the program, seems
getting in loop, can anybody tell me why
|What is mean by maxcc
|For more COBOL Interview Questions Click Here |