Can we use redefine clause in occurs clause?

Answer Posted / john

All fine but, Nikhitha's Question has to be confirmed
first;
1. Whether a redefines can be used within an occurs (OR)
2. Whether an occurs can be redefined?

Looks like Nikhita's Question is 1, but all of your answers
were for Question 2.

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

I have File 1 occurs 5 times with Employee-ID,Employee-Name,Employee-Dept (EEE and MECH). I have File 2 occurs 10 times with Employee-ID,Employee-Name,Employee-Dept (EEE,CIVIL,CHEMICAL and MECH). In FIle 1 and FIle 2 , for matching Employee-DEPT (Only MECH) , we need to move entire records from file1 to file 2. We should not use 2D array. Your help is needed here.

1117


Explain what you understand by passing by value.

702


What is difference between static and dynamic call in cobol?

777


How many sections are there in data division in COBOL?

679


Which is not true about evaluate statement

1586






I need to compare 3 variables(dates) and do some processing based on the earliest date. There could be more then 1 date record in any of the 3 fields. What is the best way to code this?

1807


What is the Purpose of Pointer in the string?

643


What is the utilization of copybook in cobol? Could we utilize a similar copybook?

720


how do you define single dimensional array and multidimensional array in your cobol?

678


input= ,,,, mainframe training ,,, hyderabad .... location.... output1=$ mainframe training in hyderabad location$ output2=**** mainframe training in hyderabad location ****. In this pgn when we give input considering the spaces the output is displayed in this format.Like in the place of ,,,, $ should be displayed likewise.So please helpmeout.

1783


What is cobol?

748


What is rmode(any) ?

686


How do we get current date from system with century in COBOL?

807


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

712


How to traceback if I am getting SOC7 or SOC4 abend? List down the steps

959