What is the reference modification.

Answers were Sorted based on User's Feedback



What is the reference modification...

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

What is the reference modification...

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

Post New Answer

More COBOL Interview Questions

I encountered an error when I move spaces to a numeric field?What should I do to move spaces on that field?help please.

9 Answers  


What is "Call by content" and "call by reference"?

4 Answers   ADP, Syntel,


How to read records in reverse order in flat file? I know we can do it by reading all records into an array.... Then read records in reverse order by using subscript or index but can any body give me the exact code.

5 Answers   TCS,


What is the utilization of copybook in cobol?

0 Answers  


i friends greetings to the day...!!! I face a quation like"while runnig the programe every day i have to access the previous day updates only...!! Ex:- Let last day 100 customers took bank account i have to select those customers only.."

4 Answers   CSC,






What happens in the background of spool when we submit a job for compilation and execution... This is a recent question in ibm...Kindly help me.....

3 Answers   IBM,


Can we put move statement in COBOL copybook

3 Answers   Global Logic,


What will happen if a variable is declared as below.. Explain with an example? Working storage section:- 01 WS-VARX PIC X(9) VALUE SPACES. 01 WS-VARN REDEFINES WS-VARX PIC 9(9).

8 Answers  


What are the various section in data division and briefly explain them.

0 Answers  


How do you code Cobol to access a parameter that has been defined in JCL?

3 Answers  


hie everyone.i just completed my b.tech in electronics and joined mainframes course.am i doing right course for my better future?please help me with your suggestions.ill be very thankful to you guys.

2 Answers  


What is the difference between CONTINUE & NEXT SENTENCE ?

2 Answers  


Categories