Answer Posted / krishna
Allowcation of more than one data items in a single memory
location.
Ex:
01 a pic x(9).
01 b redefines a pic x(7).
Rules for Redefines
1. Should be different datatype and size
2. Redefined item should not contain value clause
3. Redefing item cantain redefined item
4. Redefines can't write in 66 and 88 level numbers
Is This Answer Correct ? | 7 Yes | 2 No |
Post New Answer View All Answers
Our issue is there seems to be a disconnect, or no link, between our SELECT statement and our SD. We had SELECT SORT-FILE and SELECT SORT-FILE ASSIGN TO SORTWRK. ASSIGN TO SORTWRK1 SORTWRK2 SORTWRK3 SORTWRK4. with SD SORT_FILE RECORD CONTAINS 7833 CHARACTERS. In either case, at run time, the system ignored our SORTWRK# DD statements and allocated 16 sort works with the SORTWK## naming convention. Any ideas why the system does not recognize the connection? We do not even need the SORTWRK DD statements. Thanks
Write a cobol program making use of the redefine clause.
Have you used comp and comp-3 in your project? And how?
i want a program using by if, evaluate , string, unstring, perform, occurs?
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 guidelines should be followed to write a structured cobol prgm?
How to know whether the module is dynamical or statistical?
What is the difference between a binary search and a sequential search what are the pertinent cobol?
Why is it necessary that file needs to be opened in I-O mode for REWRITE?
When is inspect verb is used in cobol?
How do you get the data to code the BMS macro?
) How do u handle errors in BMS macro
What are declaratives and what are their uses in cobol?
What are the access modes of START statement?
What are literals?