whn do i get soc7 abend while moving alphanumeric to
numeric or while moving numeric to aplhanumeric please
reply ASAP?
Answer Posted / b.rajesh
SOC7 abend error will occur when we pass ALPHANUMERIC to
NUMERIC
ex:-
01 a pic x(6) value 'rajesh'.
01 b pic 9(6).
procedure division.
move a to b.
it shows SOC7 error.
SOC7 abend error will NOT occur when we pass NUMERIC to
ALPHANUMERIC
ex:-
01 a pic 9(6) value '901090'.
01 b pic x(6).
procedure division.
move a to b.
| Is This Answer Correct ? | 14 Yes | 4 No |
Post New Answer View All Answers
here is my requirement A1 is alphanumeric with value 'A1B2C3D4' as defined below 05 A1 PIC X(8) VALUE IS 'A1B2C3D4' but i need to have A2,A3 as ABCD & 1234 repectively...... A2 = ABCD A3 = 1234 Can you please explain me what are the different ways to do it?
How to print 10 to 1 if the input have only 10 digit number?
What is link edit in cobol?
what happens if parmparameter passes zero bytes to the program
Write a program to explain size error.
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?
input 1 input2 ouput1 output2 output 3 1 re 300 1 re 200 1 re 300 3 rc 500 1 re 200 2 rr 400 1 re 300 2 rr 400 1 rc 400 3 rc 500 1 rc 400 2 rr 700 2 rr 700 5 tt 900 5 tt 900 2 inputs r in flat file and output 1 is matched records,ouptput2 is unmatched of input1,output3 is unmatched of input2! how vl u get the output files using sequential order and to check with each and every records! let me know the procedure division ?
What are the different rules to perform a Search?
I have a File that has duplicate records. I need only those records that occur more than thrice.?
What happens when we move a comp-3 field to an edited (say z (9). Zz-)?
Write a cobol program making use of the redefine clause.
How to change size of Initial number of records to *NOMAX for ALL PF files from perticular library, how can I do that
How to get the last record in vsam file in cluster? And how can you get the kids file records into your cobol program?
1.give the details about WHEN OTHER. 2. how many form are available in evaluate.
Is it possible that the redefines clause has different picture clauses compared to the one it redefined?