Is this allowed?
01 WS-TABLE.
03 FILLER-X PIC X(5) VALUE 'AAAAA'.
03 WS-EX REDEFINES FILLER-X OCCURS 5 TIMES PIC X(1).
can redefines clause be used with occurs clause?
Answer Posted / bob
Yes we can use redefine under occurs clause but we cannot
use occurs under redefine
| Is This Answer Correct ? | 2 Yes | 1 No |
Post New Answer View All Answers
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 to use the same COBOL program in Batch and CICS on lines? explain with an example
How to find out the closest prime number of an input number? I believe it has something to do with SEARCH and COBOL Linear Array.
how do you reference the rrds file formats from cobol programs
What are INPUT PROCEDURE and OUTPUT PROCEDURE?
how to access the file from prodution from changeman tool and to submit a file to production
Discuss about changing dataset name in proc.
For rewrite, why is it mandatory that file needs to be opened?
Which division and paragraphs are mandatory for a COBOL program?
What is the Purpose of POINTER Phrase in STRING command in COBOL?
What is length is cobol?
How to get the last record in vsam file in cluster? And how can you get the ksds file records into cobol program?
Define static linking and dynamic linking.
Describe the cobol database components?
How to print 10 to 1 if the input have only 10 digit number?