Explain about Redefines cluse?

Answer Posted / mallappa

Redfeines Clause allows you to use a same memory area.
Ex:
01 var.
02 ws-date pic x(10).
02 ws-date1 Redefines ws-date
03 ws-day pic x(2).
03 ws-month pic x(2).
03 ws-month pic x(8).

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

IF I mention stop run in CICS what happens?

1886


what happens if parmparameter passes zero bytes to the program

1650


Can you please let me know the centre name of INS certification in Kolkata.

1708


what are decleratives in cobol?

1818


What is rmode(any) ?

676






Name some of the examples of COBOl 11?

2671


Can we change the password using ALTER? anyone tried and changed?

1535


How do you reference the fixed block file formats from cobol programs

692


Which is the default, TEST BEFORE or TEST AFTER for a PERFORM statement?

806


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.

1770


here is my requirement A1 is alphanumeric with value 'A1B2C3D4' as defined below 05 A1 PIC X(8) VALUE IS 'A1B2C3D4' but i need to have A2,A3 as ABCD & 1234 repectively...... A2 = ABCD A3 = 1234 Can you please explain me what are the different ways to do it?

6787


2 input fles: 2 flat files, with different number of records. both are having unique key for each record and already sorted in ascending order . match these files using unique key and in output only matching key value has to be written. please procide cobol logic

2086


Have you used the sort in your project?for this type of questions any working on real time project give the eg. with real time scenario.

2045


Describe the cobol database components?

669


What is the difference between goback, stop run and exit program in cobol?

914