Can we move X(9) to 9(9). If yes what are the ways for
doing this?
Answer Posted / varun v
yes you can..use REDEFINES for the same purpose.
Working storage section:-
01 WS-VARX PIC X(9) VALUE SPACES.
01 WS-VARN REDEFINES WS-VARX PIC 9(9).
Now you can move X(9) variable to WS-VARX.Eventually it is
moved to the 9(9) variable WS-VARN.
| Is This Answer Correct ? | 12 Yes | 5 No |
Post New Answer View All Answers
What is the difference between Structured COBOL Programming and Object Oriented COBOL programming?
Write a program to enter and display the names of students in a class using the occurs clause.
What happens when we move a comp-3 field to an edited (say z (9). Zz-)?
State the various causes of s0c1, s0c5 and s0c7.
How to know whether the module is dynamical or statistical?
please..could u give an example about USAGE IS POINTER ..and explain why and when we use it ?
how do you reference the variable block file formats from cobol programs
What is the difference between comp and comp-3?
What is the LINKAGE SECTION used in COBOL?
How to traceback if I am getting SOC7 or SOC4 abend? List down the steps
Difference between array and sub-script ?
What is length is cobol?
can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there
System Testing for Mainframe Developers What is System Testing? integration testing ? what's the procedure ..
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