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

Explain how you can characterize tables in cobol?

1010


What is amode(31)

1110


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

1057


I have a File that has duplicate records. I need only those records that occur more than thrice.?

9749


How to remove the spaces at the end of each record in the output file of variable length, via cobol program?

1110


Why is it necessary that file needs to be opened in I-O mode for REWRITE?

1260


How do you reference the following file formats from cobol programs?

1123


what is s000 u4087 error? please give the all error codes in cobol,jcl.

17798


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

2915


Explain about different table spaces.

1049


What is the difference between structured cobol programming and object alternativelyiented cobol?

1189


IF I mention stop run in CICS what happens?

2305


what happens if parmparameter passes zero bytes to the program

2084


if we display var1 then what will b displayed in below condition. 77 var1 pic s9(2) value -10. 77 var1 pic s9(2) value -11. " " " -12. " " " -13. -14 ... ... -19.

6452


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

2015