I encountered an error when I move spaces to a numeric
field?What should I do to move spaces on that field?help
please.
Answer Posted / ramesh
first numeric field rediffens alpha numeric field
then you check numeric and move spaces to redifened name
ex:
01 num pic 9(09).
01 num1 rediffens num.
02 num2 pic x(09).
if num is numeric
move spaces to num2
end-if.
| Is This Answer Correct ? | 20 Yes | 0 No |
Post New Answer View All Answers
Why occurs cannot be used in 01 level in COBOL?
What is the utilization of copybook in cobol? Could we utilize a similar copybook?
What guidelines should be followed to write a structured cobol prgm?
how to move the records from file to array table. give with code example
) what is the difference between AID and HANDLE AID?
Write a program that uses move corresponding.
Why would you use find and get rather than to obtain?
State the various causes of s0c1, s0c5 and s0c7.
how do you reference the fixed unblock file formats from cobol programs
How can we find that module can be called – whether DYNAMICALLY or STATICALLY?
What is the Purpose of Pointer in the string?
how can we apply for HSBC exam(Mainframe) in India??? i went to their site and was told to submit my CV ,. etc..( totally confusing...)
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.
Write a program to enter and display the names of students in a class using the occurs clause.
Which is not true about evaluate statement