What is the reference modification.
Answers were Sorted based on User's Feedback
Answer / santosh khot
Reference modification is retrieving or Modifying substring
of a string. if Reference modification has a negative value
then Abend Code is soc4, So be care full while using
reference modification
Syntex is Move String(First position, Length) to Var-1.
| Is This Answer Correct ? | 13 Yes | 0 No |
Answer / ts nithiyanandan
Reference modification is nothing but moving the part of
value of dataname to other dataname.
01 a pic 9(10).
01 b pic 9(10).
move a(4:5) to b.
i.e., moving from 4th byte to 9th byte to dataname b.
from 4th to 9th is length of 5 bytes.
| Is This Answer Correct ? | 10 Yes | 5 No |
We know that size of redefine and redefining need not to be same..Then does the below case true 01 ws-date pic 9(6). 01 ws-redf-date REDEFINES ws-date 05 ws-year pic 9(4) 05 ws-mon pic 9(2) 05 ws-day pic 9(2)
What is the mode in which you will OPEN a file for writing?
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.
how do you reference the rrds file formats from cobol programs
Explain the difference between an internal and an external sort, the pros and cons, internal sort syntax etc.
What are the different rules to perform a Search?
For rewrite, why is it mandatory that file needs to be opened?
What is the maximum length of a field you can define using COMP-3?
4 Answers Complex System, Infosys,
What is the maximum length of a field you can define using COMP-3 in COBOL?
select TURE Statement(s) aboUt eject statemenet in cobol? a)The eject statememnt must be the only statement on the line b.It causes the program to edit abnormally c. eject statement can be written in either area A or area B d. specifies that the next source statement is to be printed at Top of the next page e.The EJECTstatement has no effect on the compilation of the source program itself
wht is structured cobol pgm and non structred cobol pgm ?
study the following 01 A PIC 99V0 VALUE 5 01 B PIC 9V9 VALUE 6 01 C PIC 99V9 VALUE 2.5 01 D PIC 99 VALUE 3 COMPUTE A ROUNDED B C = A+B*C/D ON SIZE ERROR PERFORM PRINT-ERROR the comments of A.B.C after execution of the above statement are a.A=10 B=0 C=10 b.A=10 B=9.9 C=9.9 c.A=10 B=0 C=9.9 d.A=10 B=6 C=10