i have the following varibles in the working storage
05 ws-A PIC X(30)
VALUE 'ABCDEFGHIJKLMNOPQRESTUVWXYZ '
05 WS-B REDEFINES WS-A
10 WS-B1 PIC X(10).
10 WS-B2 PIC 9(10).
10 WS-B3 PIC X(10).
If I Display B1, B2 and B3 respectively, what is the value
displayed in B2
Answer Posted / anand
isn't this a compilation error? A value clause cannot be
associated with a variable that is redefined.
Is This Answer Correct ? | 1 Yes | 6 No |
Post New Answer View All Answers
Write a cobol program making use of the redefine clause.
Discuss about changing dataset name in proc.
if we have " ibm mainframe ",in that how to remove first and last leading space eg:"ibm mainframe" like that the answer we need
What is difference between static and dynamic call in cobol?
how do you reference the rrds file formats from cobol programs
i was faced one question- i have value -00001234.56 Suppress the zeroes and the output should be -1234.56 But Not - 1234.56 spaces should not be available after suppressing the zeroes. logic in jcl and cobol?
What are the different data types in cobol?
What is the local-storage section?
What is a SSRANGE and NOSSRANGE?
How to fetch 1000 error records from VSAM file(Eg: 1000000 records present) while getting SOC7 abend ?
How to remove 2 duplicate records and copy only one using job control language?
Whats the difference between search & search ALL?
)If there are 10 steps in GDG, if I want to refer the step2 after step5 . what should I do?
What is amode(24), amode(31), rmode(24) and rmode(any) (applicable to only mvsesa enterprise server) ?
If you are current on the owner of a set, what is the difference between an obtain next and obtain first? Actually in which topic will we use dis???Plz explain it clearly