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 can I get the negative sign while deduct high value from low value
What is the LINKAGE SECTION used in COBOL?
What is the difference between comp and comp-3 usage?
What are the different open modes available in cobol?
I have a program with an Array of 5000 occurences which is being passed from 5 sub levels to the front end screen. Thess 5 programs using each 5*2 = 10 different arrays with size as 5000. This is causing the transaction to utilize more storage consupmtion. I am looking to reduce the storage consumption. As part of that initially i thought Dynamic array may solve my problem. After viewing the comments given i see its same as normal array. IS there any other way we can resolve this issue?
I have a File that has duplicate records. I need only those records that occur more than thrice.?
What is the difference between a binary search and a sequential search? What are the pertinent cobol commands?
Which is the default, TEST BEFORE or TEST AFTER for a PERFORM statement?
What is comp-1 and comp-2?
What is the Purpose of POINTER Phrase in STRING command in COBOL?
System Testing for Mainframe Developers What is System Testing? integration testing ? what's the procedure ..
how do you reference the printer file formats from cobol programs
How do we get current date from system with century in COBOL?
Define cobol?
How are the next sentence and continue different from each other?