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
What is the difference between PIC 9.99 and 9v99 in COBOL?
EXPLAIN MAIN FRAME TESTING PROCESS...HOW TO FIX THE MAINFRAME BUGS?
Name the divisions, which are available in a cobol program?
What are different data types in cobol?
In which area will you utilize 88 level items in cobol?
what happens if parmparameter passes zero bytes to the program
Is it possible that the redefines clause has different picture clauses compared to the one it redefined?
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
How do define dynamic array in cobol. how do you define single dimensional array and multidimensional array in your cobol?
What is Pic 9v99 Indicates in COBOL?
What is the local-storage section?
Hi pls anybody tell me about " ANALYSIS DOCUMENT PREPARATION AND ESTIMATION OF TASK " (in real time project)."I want to update a sequential file in my project" for that purpose i need both structures i mean analysis document and estimation of task.
HOw can I get the negative sign while deduct high value from low value
For rewrite, why is it mandatory that file needs to be opened?
What is rmode(24)