Can we move SPACES to numeric field and ZEROES to
alphabetic field? If yes what are the way doing this?
Answer Posted / chakri
Sriram we can move numeric data items to alphanumeric data
items and vice versa. But when we do arithmetic operations
then only it will throw error if we move alphanumeric data
items to numeric items.
Is This Answer Correct ? | 9 Yes | 5 No |
Post New Answer View All Answers
What are the different types of condition in cobol and write their forms.
What are the different rules to perform a Search?
How you can characterize tables in cobol?
State the various causes of s0c1, s0c5 and s0c7.
how do you reference the ksds vsam file formats from cobol programs
What is the use of intialize verb?
What is the difference between PIC 9.99 and 9v99 in COBOL?
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?
How do you reference the fixed block file formats from cobol programs
What are the pertinent COBOL commands?
What do you understand by psb and acb?
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?
if we display var1 then what will b displayed in below condition. 77 var1 pic s9(2) value -10. 77 var1 pic s9(2) value -11. " " " -12. " " " -13. -14 ... ... -19.
Write the code to count the sum of n natural numbers.
How to remove the spaces at the end of each record in the output file of variable length, via cobol program?