What will happen if we move SPACES to numeric field and
ZEROES to alphabetic field?
Answer Posted / varun v
1) Move Spaces to Numeric field:
Here program would give compilation error saying Spaces
to Numeric integer did not follow the "MOVE" statement
compatibility rules.
2) Move Zeroes to Alphabetic field:
Would work fine with Movement of Zeroes to the
Alphabetic field.
| Is This Answer Correct ? | 20 Yes | 4 No |
Post New Answer View All Answers
i was faced one question- i have value -00001234.56 Suppress the zeroes and the output should be -1234.56 But Not - 1234.56 spaces should not be available after suppressing the zeroes. logic in jcl and cobol?
What are the pertinent COBOL
What is Pic 9v99 Indicates in COBOL?
What is the compute verb? How is it used?
How many sections are there in data division in COBOL?
Why would you use find and get rather than to obtain?
can you please let me know if there is any walkins for COBOL/PLI/DB2/IMS/JCL in pune other than IBM and ITC infotech
What guidelines should be followed to write a structured cobol prgm?
What is amode(31)
What is redefines clause in COBOL?
How do you differentiate between cobol and cobol-ii?
How can i load all the data from a file to Table (array) in cobol.How i manage the occurs clause with out reading the file.Any options avilable ? Please can any one help me it is urgent?
How to read the 2nd last record of a VSAM file? (The file size is huge and we don't know the key)
What the difference is between continue and next sentence?
What is the utilization of copybook in cobol? Could we utilize a similar copybook?