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 / mahesh
Thing is that spaces can't be moved to numeric fields,
u can move only zeros and other numeric values to numeric
fields, spaces can be moved to alphanumeric and alphabetic
fields only.
| Is This Answer Correct ? | 7 Yes | 0 No |
Post New Answer View All Answers
Which is not true about evaluate statement
Which is the default, TEST BEFORE or TEST AFTER for a PERFORM statement?
How to read the 2nd last record of a VSAM file? (The file size is huge and we don't know the key)
What is the usage of comp fields in cobol?
How many bytes S(8) comp field occupy and its maximum value?
How do you get the data to code the BMS macro?
Which mode is used to operate the sequential file?
Have you used the sort in your project?for this type of questions any working on real time project give the eg. with real time scenario.
What is the utilization of copybook in cobol? Could we utilize a similar copybook?
What is the use of intialize verb?
Difference between cobol and cobol-ii?
How to fetch 1000 error records from VSAM file(Eg: 1000000 records present) while getting SOC7 abend ?
What is the difference between perform … with test after and perform … with test before?
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?
Name the sections present in data division.