01 a pic x(4) value 'abcd'
01 b pic 9(3)
can we move from a to b.if possible what would be stored in
b.
Answer Posted / mime
No. You would encounter a data error - abend SOC7
Is This Answer Correct ? | 13 Yes | 12 No |
Post New Answer View All Answers
How to remove the spaces at the end of each record in the output file of variable length, via cobol program?
Whats the difference between search & search ALL?
Name the divisions, which are available in a cobol program?
how do you reference the fixed unblock file formats from cobol programs
I have one ps file in which there are 3 fileds emp_no,emp_name and leave_app.this ps file information give the detail of employee which is going to apply for leave.suppose emp_no=113430,emp_name=ajay,leave_app=1 that means he is going to apply for 1 day leave.and accordingling the table in db2 will be updated means if he has that no of leave in his account then he will get dat leave and updated acc. in table(leave_balance=previous leave present in table-leave_app).Now i want to check whther the updated result is correct or not by comparing the two ps file using IEBCOMPARE or icetool so what is going to be the two ps file and how its is going to be compare.
Which is the default, TEST BEFORE or TEST AFTER for a PERFORM statement?
) how do u code after getting data?
2 input fles: 2 flat files, with different number of records. both are having unique key for each record and already sorted in ascending order . match these files using unique key and in output only matching key value has to be written. please procide cobol logic
What is the difference between perform … with test after and perform … with test before?
What is the difference between Call and a Link?
Write the code implementing the perform … varying.
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?
Have you used comp and comp-3 in your project? And how?
What is the difference between PIC 9.99 and PIC9v99?
Can we redefine the field of x(200) to less than 200?