77 a pic x(4) value '1234' -----> instead of this 'abcd'
77 b pic 9(4) value zeros.
move a to b
what is the answers for both cases?
IS it possible? Give me elementary move rules briefly......
Answer Posted / amarnath reddy
Hi,
That is wrong answer. we can get that result when we MOVE A
TO B. result is 1234.
because A is declared as alphanumeric and B is declared as
numeric but here A is intialized all numeric values(1234)
only and move to the B is also numeric So not possible to
get any abend.
Is This Answer Correct ? | 5 Yes | 0 No |
Post New Answer View All Answers
Write a program that uses move corresponding.
Can a Search can be done on a table with or without Index?
Which Search verb is equivalent to PERFORM…VARYING?
What is the difference between a binary search and a sequential search what are the pertinent cobol?
What do you understand by psb and acb?
What is a SSRANGE and NOSSRANGE?
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 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?
What is the Purpose of Pointer in the string?
Difference between array and sub-script ?
What are the pertinent COBOL
Explain about different table spaces.
What is report-item in COBOL?
IF I mention stop run in CICS what happens?
What is comp-1 and comp-2?