what is redefines? where it can be effectively use for the
purpose of memory utilization? give an example?
Answer Posted / suman
Redifine is a clause which reuses the existing storage space
1)redifine must be coded immediate after orginal dataname.
2)level no must be same as orginal data name.
3)level no should be 01-49.
4)data tpye length must be same.
ex:
01 a pic 9(6).
01 b redifine a pic 9(6).
01 c redifine b pic 9(6).
| Is This Answer Correct ? | 4 Yes | 8 No |
Post New Answer View All Answers
can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there
Why is it necessary that file needs to be opened in I-O mode for REWRITE?
what is the difference between COBOL2 AND COBOL390?
how to refer the data field?
How to use the same COBOL program in Batch and CICS on lines? explain with an example
What are the different rules for performing sort operation?
IF I mention stop run in CICS what happens?
What are INPUT PROCEDURE and OUTPUT PROCEDURE?
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.
can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there
What is comp-1 and comp-2?
What is the difference between comp and comp-3?
A table has two indexes defined. Which one will be used by the SEARCH?
What the difference is between continue and next sentence?
What rules are to be followed while using the corresponding options?