Can a REDEFINES clause be used along with an OCCURS clause?
if yes,
01 WS-TABLE.

03 WS-TABLE-EL OCCURS 5 TIMES PIC X(1) VALUE 'A'.

03 WS-EX REDEFINES WS-TABLE-EL PIC X(5). What can you
expect?
if no,why?


Answer Posted / vikas sharma

This clause work as when u have define this another 01 level..
We can not define like this...

Is This Answer Correct ?    1 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

In COBOL, what is the different between index and subscript?

745


) how do u code after getting data?

1575


Write some characteristics of cobol as means of business language.

607


Can a Search can be done on a table with or without Index?

793


For rewrite, why is it mandatory that file needs to be opened?

610






What is the difference between comp and comp-3 usage?

667


What are the different rules of SORT operation?

686


What the difference is between continue and next sentence?

645


What is cobol?

728


State the various causes of s0c1, s0c5 and s0c7.

652


What is redefines clause in COBOL?

833


What are the various section in data division and briefly explain them.

679


How do you code cobol to access a parameter that has been defined in jcl? And do you code the parm parameter on the exec line in jcl?

685


What are all the divisions of a COBOL program?

652


What is link edit in cobol?

721