01 xxx pic 9(4).
01 yyy pic 9(6).
move 123456 into yyy.
move yyy to xxx.
display yyy.
what would be the value of yyy
Answer Posted / vishal
allways value & move display from rigt to left or accept
lalue left to riht ans 3456
| Is This Answer Correct ? | 4 Yes | 11 No |
Post New Answer View All Answers
What are different data types in cobol?
i have 10 names in an array and my name is one of them also array is not in sorted order i need to display my name using index how will i do this
What type of SDLC u followed? Why?
How are the next sentence and continue different from each other?
What is static and dynamic call in cobol?
If you are current on the owner of a set, what is the difference between obtain next and obtain first?
Explain the configuration section of a cobol program with examples of syntax.
how do you define single dimensional array and multidimensional array in your cobol?
I have File 1 occurs 5 times with Employee-ID,Employee-Name,Employee-Dept (EEE and MECH). I have File 2 occurs 10 times with Employee-ID,Employee-Name,Employee-Dept (EEE,CIVIL,CHEMICAL and MECH). In FIle 1 and FIle 2 , for matching Employee-DEPT (Only MECH) , we need to move entire records from file1 to file 2. We should not use 2D array. Your help is needed here.
Which mode is used to operate the sequential file?
What is an in line perform? When would you use it? Anything else you wish to say about it.
What is amode(24)?
How to traceback if I am getting SOC7 or SOC4 abend? List down the steps
Difference between cobol and cobol-ii?
can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there