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 / mithlesh

It is not possible to move alphanumaric to numaric data type
it will throw soc7 error at runtime.

Sco7 is the abend . which come when mismatch problem
occured.

Is This Answer Correct ?    4 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is it possible that the redefines clause has different picture clauses compared to the one it redefined?

885


What is the difference between goback, stop run and exit program in cobol?

1214


can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there

2108


What is the LINKAGE SECTION used in COBOL?

1170


how can we apply for HSBC exam(Mainframe) in India??? i went to their site and was told to submit my CV ,. etc..( totally confusing...)

2131






Difference between cobol and cobol-ii?

927


what is the difference between COBOL2 AND COBOL390?

2702


I have File 1 occurs 5 times with Employee-ID,Employee-Name,Employee-Dept (EEE and MECH). I have File 2 occurs 10 times with Employee-ID,Employee-Name,Employee-Dept (EEE,CIVIL,CHEMICAL and MECH). In FIle 1 and FIle 2 , for matching Employee-DEPT (Only MECH) , we need to move entire records from file1 to file 2. We should not use 2D array. Your help is needed here.

1339


Which division and paragraphs are mandatory for a COBOL program?

905


What are the different data types in cobol?

1024


What is inspect in cobol ?

988


) what is the difference between AID and HANDLE AID?

1874


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 ?

2081


Write a program to enter and display the names of students in a class using the occurs clause.

906


What is comp-1 and comp-2?

922