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
What is redefines clause in COBOL?
What are the cobol coding sheets?
Discuss about changing dataset name in proc.
can you please let me know if there is any walkins for COBOL/PLI/DB2/IMS/JCL in pune other than IBM and ITC infotech
I need to compare 3 variables(dates) and do some processing based on the earliest date. There could be more then 1 date record in any of the 3 fields. What is the best way to code this?
How you can characterize tables in cobol?
how do you reference the rrds file formats from cobol programs
What are different data types in cobol?
How do you get the data to code the BMS macro?
How do you define a variable of comp-1 and comp-2?
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 happens if parmparameter passes zero bytes to the program
Program A (Normal COBBAT) calling a B Program (DB2COBOL, COBBATDB which is using a VSAM file. its a dynamic call. How we will handle VSAM file decleration in our from JCL from where we are running A PGM. And should we have PLAN for A pGM also. if possible can some one post a sample JCL. Thanks for help in advance.
What is the Purpose of Pointer in the string?
) how do u code after getting data?