Can we move X(9) to 9(9). If yes what are the ways for
doing this?
Answer Posted / varun v
yes you can..use REDEFINES for the same purpose.
Working storage section:-
01 WS-VARX PIC X(9) VALUE SPACES.
01 WS-VARN REDEFINES WS-VARX PIC 9(9).
Now you can move X(9) variable to WS-VARX.Eventually it is
moved to the 9(9) variable WS-VARN.
| Is This Answer Correct ? | 12 Yes | 5 No |
Post New Answer View All Answers
Write a cobol program making use of the redefine clause.
what is s000 u4087 error? please give the all error codes in cobol,jcl.
i want to learn mainframe..any websites and material to learn from basic..? my mail id : rajeswaribe2010@gmail.com
Name some of the examples of COBOl 11?
What are the different data types in cobol?
Difference between cobol and cobol-ii?
What the difference is between continue and next sentence?
how to move the records from file to array table. give with code example
EXPLAIN MAIN FRAME TESTING PROCESS...HOW TO FIX THE MAINFRAME BUGS?
What are declaratives and what are their uses in cobol?
If you are current on the owner of a set, what is the difference between obtain next and obtain first?
if we have " ibm mainframe ",in that how to remove first and last leading space eg:"ibm mainframe" like that the answer we need
i want a program using by if, evaluate , string, unstring, perform, occurs?
How many sections are there in data division in COBOL?
What is inspect in cobol ?