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
What is a report item?
What is a SSRANGE and NOSSRANGE?
How to use the same COBOL program in Batch and CICS on lines? explain with an example
How can you get the ksds file records into your cobol program?
What is the difference between structured cobol programming and object alternativelyiented cobol programming?
Write a cobol program making use of the redefine clause.
What is the compute verb? How is it used?
What is the difference between next sentence and continue in cobol programing language?
Explain the configuration section of a cobol program with examples of syntax.
What are the different rules of SORT operation?
Name the divisions, which are available in a cobol program?
Differentiate cobol and cobol-ii. (Most of our programs are written in cobolii, so, it is good to know, how, this is different from cobol)?
Are you comfortable in cobol or jcl?
Which mode is used to operate the sequential file?
Write a program to explain size error.