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
what is search and searchall?what is the diffrence between them?give an best example?
What are declaratives and what are their uses in cobol?
I need to compare 3 variables(dates) and do some processing based on the earliest date. There could be more then 1 date record in any of the 3 fields. What is the best way to code this?
Discuss about changing dataset name in proc.
What is difference between static and dynamic call in cobol?
How to know whether the module is dynamical or statistical?
what is difference between cobol and cobol/400
Write a cobol program making use of the redefine clause.
how we sort two input files based on a common column and giving one o/p file please send me the coding logic?
How to remove the spaces at the end of each record in the output file of variable length, via cobol program?
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?
Write the code to count the sum of n natural numbers.
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.
What is the utilization of copybook in cobol? Could we utilize a similar copybook?
1.Is it possible to move the data from 99.99 to 99v99? 2.What is the CICS-vsam Compilation process? 3.In My GDG 5 generation will be there GDG3 got an abend what will happen? 4.In my GDG first generation is +1 And I want to add the new generation what will happen previous generation? 5.How can you give the PIC clause below conditions A). s9 (reddy), B). s9 (5) occurs 5 times? 6.How override the proc from a particular step? and what is symbolic and override Procs?