Can we MOVE X(9) to 9(9) OR 9(9) to X(9)? If yes what are
the ways for doing this?
Answer Posted / jawaad
yes you can do both , but wait....
1) 9(9) to x(9) will be fine
2) x(9) to 9(9) may have problem in some cases:-
a) Suppose :x(9) has value "5"
when you move to 9(9) it will be
"5 " ,Yes 9(9) will have spaces
instead of
"000000005"
b)you will get soc7 when you perform arithemetic on x(9)
above
| Is This Answer Correct ? | 10 Yes | 3 No |
Post New Answer View All Answers
Mention the guidelines to write a structured cobol program?
What is the usage of comp fields in cobol?
i want a program using by if, evaluate , string, unstring, perform, occurs?
Why would you use find and get rather than to obtain?
What is rmode(any) ?
How can we find that module can be called – whether DYNAMICALLY or STATICALLY?
what is difference between cobol and cobol/400
What is the difference between Structured COBOL Programming and Object Oriented COBOL programming?
how to convert the recors form vsam file to db2 table tru file aid
How do define dynamic array in cobol. how do you define single dimensional array and multidimensional array in your cobol?
What is amode(31)
What is the difference between PIC 9.99 and 9v99 in COBOL?
What is a SSRANGE and NOSSRANGE?
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 link edit in cobol?