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 |
How to delete a front spaces in a data-name/variable in cobol Example:- 01 data-name-1 PIC x(20) value " cobol language". 01 data-name-2 PIC x(20). MOVE data-name-1 to data-name-2. would like the value of data-name-2 is "cobol language".
How to increase the logical record length of existing PS file?
If i initialize the 01 level variable in array, will it initialize all the array elements (occurs)?
. How do we cast a variable in COBOL
can we read in input the file with a variable length ? please , how ..could you help me ?
what is the use of comp2 ? where can we use it with example ?
how to convert vsam table into DB2 table?
I have the requirement to compare the two files and pick up the matching records. File 1. file2 23 32 32 13 34 15 35 36 36 35 43 Get the matching records from this 2 files to out file. how you will do this in cobol program?
15 Answers ADP, Broadridge, CTS, HSBC, L&T, RBS, TCS,
using redefine can you redefine lower variable size to higher variable size?
Under which scenario you would go for a static call as opposed to dynamic call?
What is Control Break processing ?
how the control comes back from subprogram to mainprogram