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
Is it possible that the redefines clause has different picture clauses compared to the one it redefined?
What is the difference between goback, stop run and exit program in cobol?
can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there
What is the LINKAGE SECTION used in COBOL?
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...)
Difference between cobol and cobol-ii?
what is the difference between COBOL2 AND COBOL390?
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.
Which division and paragraphs are mandatory for a COBOL program?
What are the different data types in cobol?
What is inspect in cobol ?
) what is the difference between AID and HANDLE AID?
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 ?
Write a program to enter and display the names of students in a class using the occurs clause.
What is comp-1 and comp-2?