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 / guest
IF I-field-name EQUAL ZEROES
MOVE SPACES TO O-field-name
END-IF
Is This Answer Correct ? | 1 Yes | 5 No |
Post New Answer View All Answers
Explain the configuration section of a cobol program with examples of syntax.
What is the difference between PIC 9.99 and PIC9v99?
What are different data types in cobol?
For rewrite, why is it mandatory that file needs to be opened?
how we sort two input files based on a common column and giving one o/p file please send me the coding logic?
Discuss about changing dataset name in proc.
Name some of the examples of COBOl 11?
What is the default value(s) for an initialize? What keyword will allow for an override of the default?
here is my requirement A1 is alphanumeric with value 'A1B2C3D4' as defined below 05 A1 PIC X(8) VALUE IS 'A1B2C3D4' but i need to have A2,A3 as ABCD & 1234 repectively...... A2 = ABCD A3 = 1234 Can you please explain me what are the different ways to do it?
Which division and paragraphs are mandatory for a COBOL program?
What are the different open modes available in cobol?
What is rmode(24)
Name the divisions, which are available in a cobol program?
How to get the last record in vsam file in cluster? And how can you get the ksds file records into your cobol program?
What rules are to be followed while using the corresponding options?