01 a pic 9(3) value is 123
01 b pic 9(6)
move a to b
wht will be the value ? and
01 a pic x(6) value is abc
01 b pic x(3)
move a to b
wht will be the value ?
Answer Posted / ravi
Answer to first question is -000123
and answer to second question is -abc
| Is This Answer Correct ? | 6 Yes | 4 No |
Post New Answer View All Answers
What is a report item?
For rewrite, why is it mandatory that file needs to be opened?
what is difference between cobol and cobol/400
what is difference bt COND, REGION & TIME parameters at JOB & EXEC. give an exp.
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...)
In COBOL programming, what is PERFORM? What is VARYING?
How can you get the ksds file records into your cobol program?
i want a program using by if, evaluate , string, unstring, perform, occurs?
Which is not true about evaluate statement
Differentiate between structured cobol programming and object-oriented cobol programming.
Name some of the examples of COBOl 11?
Our issue is there seems to be a disconnect, or no link, between our SELECT statement and our SD. We had SELECT SORT-FILE and SELECT SORT-FILE ASSIGN TO SORTWRK. ASSIGN TO SORTWRK1 SORTWRK2 SORTWRK3 SORTWRK4. with SD SORT_FILE RECORD CONTAINS 7833 CHARACTERS. In either case, at run time, the system ignored our SORTWRK# DD statements and allocated 16 sort works with the SORTWK## naming convention. Any ideas why the system does not recognize the connection? We do not even need the SORTWRK DD statements. Thanks
What is the difference between Structured COBOL Programming and Object Oriented COBOL programming?
How arrays can be defined in COBOL?
How to traceback if I am getting SOC7 or SOC4 abend? List down the steps