What is Redefines clause?

Answer Posted / sudhakar koppavarapu

Redefines clause allows a programmer to give different data
descriptions to the same area of storage.



syntax:

LevelNumeber Identifier1 REDEFINES identifier2.


01 A PIC X(7).
01 B REDEFINES A PIC 9(5)V9(2).

Is This Answer Correct ?    24 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Name the divisions, which are available in a cobol program?

799


What are declaratives and what are their uses in cobol?

797


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.

5230


explain sorting techniques in cobol program?

784


What is an in line perform? When would you use it? Anything else you wish to say about it.

739






How do define dynamic array in cobol.

771


In COBOL programming, what is PERFORM? What is VARYING?

755


How did the release of cobol/370 version 1.3 improve the performance of release 1.1?

754


Give some examples of command terminators?

849


What is the default value(s) for an initialize? What keyword will allow for an override of the default?

752


How do you code cobol to access a parameter that has been defined in jcl? And do you code the parm parameter on the exec line in jcl?

806


Can we redefine the field of x(200) to less than 200?

955


How do you get the data to code the BMS macro?

1569


) How do u handle errors in BMS macro

1588


Difference between array and sub-script ?

1251