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 |
What is the difference between PIC 9.99 and PIC9v99?
Explain fixed length record in cobol? with suitable example
01 a pic x(4) value 'abcd' 01 b pic 9(3) can we move from a to b.if possible what would be stored in b.
What is file status 39 ?
What is SSRANGE, NOSSRANGE ?
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 are different data types in cobol?
What is file status 92?
i have two file one is ksds another one is esds i want store matching records in flat file how to you matching.
What is the significance of the PROGRAM-ID paragraph? If this name doesnt match with the name of the COBOL program, does it make a difference? Is the name specified in the PROGRAM-ID paragraph used as a name for the load module or any such thing?
how to convert vsam table into DB2 table?
Which of the following files can be OPENed in all the 4 modes? The four modes are INPUT, I-O, OUTPUT and EXTEND. (a) INDEXED (b) RELATIVE (c) SEQUENTIAL (d) All of the above