01 a pic 9(6) value is 123456
01 b pic 9(3)
move a to b
wht will be the value ?
Answer Posted / pradip
ravi is right
Is This Answer Correct ? | 2 Yes | 1 No |
Post New Answer View All Answers
How can we find that module can be called – whether DYNAMICALLY or STATICALLY?
what is the difference between COBOL2 AND COBOL390?
How can i load all the data from a file to Table (array) in cobol.How i manage the occurs clause with out reading the file.Any options avilable ? Please can any one help me it is urgent?
1.Is it possible to move the data from 99.99 to 99v99? 2.What is the CICS-vsam Compilation process? 3.In My GDG 5 generation will be there GDG3 got an abend what will happen? 4.In my GDG first generation is +1 And I want to add the new generation what will happen previous generation? 5.How can you give the PIC clause below conditions A). s9 (reddy), B). s9 (5) occurs 5 times? 6.How override the proc from a particular step? and what is symbolic and override Procs?
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 are the different data types in cobol?
What is the difference between Call and a Link?
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?
Write a program to enter and display the names of students in a class using the occurs clause.
What is the difference between comp and comp-3 usage?
I have a File that has duplicate records. I need only those records that occur more than thrice.?
Explain how you can characterize tables in cobol?
In COBOL programming, what is PERFORM? What is VARYING?
Program A (Normal COBBAT) calling a B Program (DB2COBOL, COBBATDB which is using a VSAM file. its a dynamic call. How we will handle VSAM file decleration in our from JCL from where we are running A PGM. And should we have PLAN for A pGM also. if possible can some one post a sample JCL. Thanks for help in advance.
What is the difference between binary search and sequential search?