Answer Posted / amit barwa
REDEFINES Clause
Facilitates two or more data-names to point to the same
memory location
e.g.
01 WS-NUM1 PIC X(1)
01 WS-NUM2 REDEFINES WS-NUM1 PIC X(2).
If you MOVE '10' to WS-NUM2,
DISPLAY WS-NUM1 will show 1 while
DISPLAY WS-NUM2 will show 10.
| Is This Answer Correct ? | 7 Yes | 0 No |
Post New Answer View All Answers
How to use the same COBOL program in Batch and CICS on lines? explain with an example
How many sections are there in data division in COBOL?
Mention the guidelines to write a structured cobol program?
How to find out the closest prime number of an input number? I believe it has something to do with SEARCH and COBOL Linear Array.
What is the use of intialize verb?
What is inspect in cobol ?
What are the pertinent COBOL commands?
Difference between cobol and cobol-ii?
What is amode(24), amode(31), rmode(24) and rmode(any) (applicable to only mvsesa enterprise server) ?
In COBOL, what is the different between index and subscript?
What are INPUT PROCEDURE and OUTPUT PROCEDURE?
System Testing for Mainframe Developers What is System Testing? integration testing ? what's the procedure ..
How do you define a variable of comp-1 and comp-2?
Describe the cobol database components?
How you can characterize tables in cobol?