Can we move SPACES to numeric field and ZEROES to
alphabetic field? If yes what are the way doing this?
Answer Posted / guest
Chakri, you are wrong. Only Numeric data can be moved to
alphanumeric variable. The reverse is not possible.
One way of doing it is using Redefines clause.
| Is This Answer Correct ? | 6 Yes | 5 No |
Post New Answer View All Answers
What is the difference between goback, stop run and exit program in cobol?
Give some examples of command terminators?
What is the Purpose of Pointer in the string?
how do you define single dimensional array and multidimensional array in your cobol?
There are 5 fields and 1000 records in a file. Unload it into an array. Write the syntax for declaration and how will you unload it.
Discuss about changing dataset name in proc.
How to traceback if I am getting SOC7 or SOC4 abend? List down the steps
Mention the guidelines to write a structured cobol program?
Describe the cobol database components?
How many sections are there in data division in COBOL?
How do we get current date from system with century in COBOL?
A table has two indexes defined. Which one will be used by the SEARCH?
What are the different rules for performing sort operation?
What rules are to be followed while using the corresponding options?
How many bytes S(8) comp field occupy and its maximum value?