what is rediffine clause?in what situation it can use?give me
real time example?



what is rediffine clause?in what situation it can use?give me real time example?..

Answer / sukesh adhikary

When u want to use same working storage area for different
variables. u must ensure that the space must not use at same
time of program execution.For example perform xyz uses a
space ABCD pic x(9) and it will not be used .then other
part of the program can use that space ABCD.






sukesh
9831281032

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More COBOL Interview Questions

What are subroutines ? and how do we pass data to the sub routines?

2 Answers   Xansa,


How can you add a particular field in copybook?

2 Answers   L&T,


what is label record is standard or omitted in file description of data division?

3 Answers   IBM, TCS,


hi. This is Ram.i have one doubt.why can't we display comp-3 variables directly? let me answer quickly plez........

1 Answers  


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?

2 Answers   ADP,






i have mainprogram and subgram...if i compile mainprogram without stop run..what will u get in compilation time?

1 Answers   HCL,


hai friends ,i have HSBc exam on this sunday,my platform is Mainframe,i have 1 year exp,pls any one send me placement papers of Hsbc and technical questions on mainframe

6 Answers   Citi Bank, CitiGroup, HSBC, iNautix, Wipro,


how will u find out 3rd week's 2nd day using occurs ?

3 Answers   L&T,


What is SET TO TRUE all about, anyway?

5 Answers  


Can a REDEFINES clause be used along with an OCCURS clause? if yes, 01 WS-TABLE. 03 WS-TABLE-EL OCCURS 5 TIMES PIC X(1) VALUE 'A'. 03 WS-EX REDEFINES WS-TABLE-EL PIC X(5). What can you expect? if no,why?

6 Answers  


How to pass return codes from cobol to jcl?

5 Answers  


how many bytes does s9(7)COMP-3 field occupies?

6 Answers   ADP,


Categories