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 / nitesh sethi
Use option BLANK WHEN ZERO for that field and initialize
that field.
Initalize will move zeroes to that field and declarion of
that field with BLANK WHEN ZERO will not have zeroes in
that field.
Directly moving spaces to a numeric field is not possible
as it will result in SOC7 Abend
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
how do you reference the ksds vsam file formats from cobol programs
If you are current on the owner of a set, what is the difference between an obtain next and obtain first? Actually in which topic will we use dis???Plz explain it clearly
What is a SSRANGE and NOSSRANGE?
What is the difference between perform … with test after and perform … with test before?
How to use the same COBOL program in Batch and CICS on lines? explain with an example
How are the next sentence and continue different from each other?
What is the Purpose of Pointer in the string?
What is rmode(24)
if we have " ibm mainframe ",in that how to remove first and last leading space eg:"ibm mainframe" like that the answer we need
Explain the configuration section of a cobol program with examples of syntax.
example for sub strings ? and refernce modifications whit output pls
what is s000 u4087 error? please give the all error codes in cobol,jcl.
How to print 10 to 1 if the input have only 10 digit number?
Explain about different table spaces.
What are different data types in cobol?