Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

What is the difference between Structured COBOL Programming and Object Oriented COBOL programming?

1142


Write a program to enter and display the names of students in a class using the occurs clause.

1223


What happens when we move a comp-3 field to an edited (say z (9). Zz-)?

1414


State the various causes of s0c1, s0c5 and s0c7.

1098


How to know whether the module is dynamical or statistical?

1159


please..could u give an example about USAGE IS POINTER ..and explain why and when we use it ?

2482


how do you reference the variable block file formats from cobol programs

1270


What is the difference between comp and comp-3?

1197


What is the LINKAGE SECTION used in COBOL?

1542


How to traceback if I am getting SOC7 or SOC4 abend? List down the steps

5381


Difference between array and sub-script ?

1671


What is length is cobol?

1111


can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there

2485


System Testing for Mainframe Developers What is System Testing? integration testing ? what's the procedure ..

2089


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

2975