Explain about Redefines cluse?

Answer Posted / avinanda mukherjee

If the example is-

01 WS-NUM1 PIC 9(1)

01 WS-NUM2 REDEFINES WS-NUM1 PIC X(2).

If you MOVE '10' to WS-NUM2,

DISPLAY WS-NUM1 will show 0 (Numeric) while

DISPLAY WS-NUM2 will show 10 (charecter).

Is This Answer Correct ?    5 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the different rules to perform a Search?

615


how do you reference the variable unblock file formats from cobol programs

748


Write a program that uses move corresponding.

673


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

645


1.give the details about WHEN OTHER. 2. how many form are available in evaluate.

1614






Differentiate between structured cobol programming and object-oriented cobol programming.

667


Write a program to explain size error.

676


how do you reference the printer file formats from cobol programs

661


what is difference bt COND, REGION & TIME parameters at JOB & EXEC. give an exp.

8160


I have a program with an Array of 5000 occurences which is being passed from 5 sub levels to the front end screen. Thess 5 programs using each 5*2 = 10 different arrays with size as 5000. This is causing the transaction to utilize more storage consupmtion. I am looking to reduce the storage consumption. As part of that initially i thought Dynamic array may solve my problem. After viewing the comments given i see its same as normal array. IS there any other way we can resolve this issue?

1230


i made it to stage 3 of an interview process wednessday they will quiz my knowledge again face to face for an analyst role recruiter said it will be based on Business requirements system is cobol and good ideas what they might ask etc

2105


Is it possible that the redefines clause has different picture clauses compared to the one it redefined?

674


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

644


Which mode is used to operate the sequential file?

666


EXPLAIN MAIN FRAME TESTING PROCESS...HOW TO FIX THE MAINFRAME BUGS?

2057