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 / naidu sekhar yandrapu

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.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More COBOL Interview Questions

Can anyone explain me CALL procedure in COBOL.Does it carries similarities like call by reference in C.

1 Answers  


can we print comp 3 stmts how ?

3 Answers   Accenture, TCS,


Hi all, I have a following requirement to write the cobol program. I have to load the 129 variables from input sequential file which are in excel sheet to the cobol inernal table. and after loading into table i have to compare this data with the business file. here compare means controlling the data whether the format(numeric,alpha) is same in the business file and in the table??? i have the same data in input and business file. could anyone please give me any idea of the logic?// i have all the 129 different variables(129rows,1 column)is there .

4 Answers   IBM, Syntel, TCS,


how to pass 100 to s9(4) how r they inserted ?

3 Answers   TCS,


what is a zoned decimal data type and how it will be stored?

2 Answers   IBM,






what is lrec=f,what is difference between f,fb,v,vb?what is default value?how do we came to know that records are in f,fb,v,vb?

2 Answers   IBM, Wipro,


Which of the following paragraphs is compulsory in every COBOL program? (a) SPECIAL-NAMES (b) PROGRAM-ID (c) FILE-CONTROL (d) OBJECT-COMPUTER

4 Answers  


In CICS/VSAM every file that is accessed should be defined in FCT. we have CICS READ, WRITE, BROWSE commands for VSAM files. How does it work with DB2 tables. It know it has to do with the plan. Please expain with examples.

1 Answers  


Explain how will you differentiate between an internal and an external sort, the pros and cons, internal sort syntax etc

0 Answers  


Program A (Normal COBBAT) calling a B Program (DB2COBOL, COBBATDB which is using a VSAM file. its a dynamic call. How we will handle VSAM file decleration in our from JCL from where we are running A PGM. And should we have PLAN for A pGM also. if possible can some one post a sample JCL. Thanks for help in advance.

0 Answers   iNautix,


01 var1 pic s9(9)v99. 01 var2 pic x(30). procedure division. move 12345.99 to var1. move12345.99 to var2. display var1. display var2. what is the output?

2 Answers   IBM,


How many bytes do a s9 (7) comp-3 field occupy?

1 Answers  


Categories