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
In COBOL programming, what is PERFORM? What is VARYING?
How to read the 2nd last record of a VSAM file? (The file size is huge and we don't know the key)
What is link edit in cobol?
I need to compare 3 variables(dates) and do some processing based on the earliest date. There could be more then 1 date record in any of the 3 fields. What is the best way to code this?
What is a report item?
What is the difference between perform … with test after and perform … with test before?
how to convert the recors form vsam file to db2 table tru file aid
In COBOL, what is the different between index and subscript?
Why did you choose to work with ibm mainframe cobol programming?
What is the difference between PIC 9.99 and PIC9v99?
Describe the cobol database components?
What is the difference between Structured COBOL Programming and Object Oriented COBOL programming?
How can we find that module can be called – whether DYNAMICALLY or STATICALLY?
Write a program to enter and display the names of students in a class using the occurs clause.
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?