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
I have a File that has duplicate records. I need only those records that occur more than thrice.?
How to find out the closest prime number of an input number? I believe it has something to do with SEARCH and COBOL Linear Array.
What are the different data types in cobol?
What is an in line perform? When would you use it? Anything else you wish to say about it.
please..could u give an example about USAGE IS POINTER ..and explain why and when we use it ?
What is the LINKAGE SECTION used in COBOL?
What are 77 levels used for?
What is the difference between a binary search and a sequential search what are the pertinent cobol?
how to convert the recors form vsam file to db2 table tru file aid
Explain sorting techniques in cobol program? Provide the sort file definition, the sort statement, its syntax and meaning
What is the Purpose of POINTER Phrase in STRING command in COBOL?
i was faced one question- i have value -00001234.56 Suppress the zeroes and the output should be -1234.56 But Not - 1234.56 spaces should not be available after suppressing the zeroes. logic in jcl and cobol?
i want to learn mainframe..any websites and material to learn from basic..? my mail id : rajeswaribe2010@gmail.com
write a cobol logic. i have file that has 10 records .1 record go to first output file and second record goes to 2 output and etc
What are the different rules for performing sort operation?