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
Explain how will you differentiate between an internal and an external sort, the pros and cons, internal sort syntax etc
Write a program to explain size error.
In COBOL programming, what is PERFORM? What is VARYING?
Why do we code s9 (4) comp. Inspite of knowing comp-3 will occupy less space?
how do you define single dimensional array and multidimensional array in your cobol?
What is the problem of ordered sequential files access?
how to convert the recors form vsam file to db2 table tru file aid
Write a program to enter and display the names of students in a class using the occurs clause.
What is redefines clause in COBOL?
I have a File that has duplicate records. I need only those records that occur more than thrice.?
How many sections are there in data division in COBOL?
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?
what is search and searchall?what is the diffrence between them?give an best example?
I have one ps file in which there are 3 fileds emp_no,emp_name and leave_app.this ps file information give the detail of employee which is going to apply for leave.suppose emp_no=113430,emp_name=ajay,leave_app=1 that means he is going to apply for 1 day leave.and accordingling the table in db2 will be updated means if he has that no of leave in his account then he will get dat leave and updated acc. in table(leave_balance=previous leave present in table-leave_app).Now i want to check whther the updated result is correct or not by comparing the two ps file using IEBCOMPARE or icetool so what is going to be the two ps file and how its is going to be compare.
When is inspect verb is used in cobol?