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
Yes, We Can.
In this question, When we display WS-EX we will get the
answer 5 times A. Like this AAAAA .
| Is This Answer Correct ? | 0 Yes | 2 No |
Post New Answer View All Answers
How do define dynamic array in cobol.
What is comp-1 and comp-2?
how do you define single dimensional array and multidimensional array in your cobol?
Describe the cobol database components?
How to know whether the module is dynamical or statistical?
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.
) how do u code after getting data?
Is it possible that the redefines clause has different picture clauses compared to the one it redefined?
How do you reference the following file formats from cobol programs?
How can i load all the data from a file to Table (array) in cobol.How i manage the occurs clause with out reading the file.Any options avilable ? Please can any one help me it is urgent?
In COBOL programming, what is PERFORM? What is VARYING?
What are declaratives and what are their uses in cobol?
What are the pertinent COBOL
What is the default value(s) for an initialize? What keyword will allow for an override of the default?
what is difference bt COND, REGION & TIME parameters at JOB & EXEC. give an exp.