What will happen if we move SPACES to numeric field and
ZEROES to alphabetic field?
Answer Posted / ram.g
ans to last ans
anything you can move to alpha...provided ..ur input is w/n
quotes...
ans to ur qn...
its quite possible by using redefine command...
the field will be sharing same memorylocation..
eg: 05 ws-num pic 99
10 ws-char redefines ws-num pic x(2)
move 12 to ws-num
move 'ab' to ws-char
| Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
how to convert the recors form vsam file to db2 table tru file aid
how do you reference the printer file formats from cobol programs
In COBOL, what is the different between index and subscript?
explain sorting techniques in cobol program?
How do you get the data to code the BMS macro?
Difference between cobol and cobol-ii?
Which Search verb is equivalent to PERFORM…VARYING?
How do define dynamic array in cobol.
What is a report item?
what is s000 u4087 error? please give the all error codes in cobol,jcl.
What are all the divisions of a COBOL program?
how to access the file from prodution from changeman tool and to submit a file to production
What are the different data types in cobol?
if we have " ibm mainframe ",in that how to remove first and last leading space eg:"ibm mainframe" like that the answer we need
What is a SSRANGE and NOSSRANGE?