What will happen if a variable is declared as below..
Explain with an example?
Working storage section:-
01 WS-VARX PIC X(9) VALUE SPACES.
01 WS-VARN REDEFINES WS-VARX PIC 9(9).
Answer Posted / ankur
after redefining we can also move alphabetic to numeric or
numeric to alphabetic field . mathematical operation is
different . if we go for that it will give s0c7.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What are different data types in cobol?
Can we redefine the field of x(200) to less than 200?
How you can characterize tables in cobol?
Explain about different table spaces.
How do you reference the fixed block file formats from cobol programs
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
What are declaratives and what are their uses in cobol?
What is the usage of comp fields in cobol?
how do you reference the fixed unblock file formats from cobol programs
How do you get the data to code the BMS macro?
What the difference is between continue and next sentence?
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
Are you comfortable in cobol or jcl?
how to access the file from prodution from changeman tool and to submit a file to production