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
Which is not true about evaluate statement
Differentiate between structured cobol programming and object-oriented cobol programming.
What is comp-1 and comp-2?
What is an in line perform? When would you use it? Anything else you wish to say about it.
how we sort two input files based on a common column and giving one o/p file please send me the coding logic?
Name the divisions, which are available in a cobol program?
What kind of error is trapped by on size error option?
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?
If you are current on the owner of a set, what is the difference between an obtain next and obtain first? Actually in which topic will we use dis???Plz explain it clearly
I have program P1 which calls file F1 which has 100 records and following structure 001 .................. 002 .................. 003 .................. 098 .................... 099 ................... 100 .................... Now I want to read these files and write these records in file F2 in following manner. 001 ...... 051 ..... 002 ...... 052 ..... 003 ...... 053 ..... .......... ....... .......... ....... .......... ....... 048 ........ 098 ...... 049 .......... 099 ....... 050 .... 100 ......
What is a SSRANGE and NOSSRANGE?
Write the code to count the sum of n natural numbers.
) How do u handle errors in BMS macro?
How to use the same COBOL program in Batch and CICS on lines? explain with an example
How to change size of Initial number of records to *NOMAX for ALL PF files from perticular library, how can I do that