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...

77 a pic x(4) value '1234' -----> instead of this 'abcd'
77 b pic 9(4) value zeros.
move a to b
what is the answers for both cases?
IS it possible? Give me elementary move rules briefly......

Answer Posted / subra kondaveeti

Hello All, Move a alpha numeric field to Numeric fields doesn't necessarily gives a soc7 because it depends upon the what the alpha-numeric field contains.
for example value of 'ABCD' in teh alpha-numeric field ALSO MOVES 1234 to numeric field. if you look at the assembly instruction produced for the move statement is

moven which means ignore the zone portion of each byte and move the numeric value of the byte. but it can give soc7 if you move '----' to numeric field because it tries to move x'CACACACA' to numeric field. if you look at the numeric portion of every byte is 'A' and hence can't be moved

Is This Answer Correct ?    3 Yes 0 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?

1127


How to use the same COBOL program in Batch and CICS on lines? explain with an example

2395


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

9895


How can i load all the data from a file to Table (array) in cobol.How i manage the occurs clause with out reading the file.Any options avilable ? Please can any one help me it is urgent?

2586


How do get the result of your program directly on your pc?

2348


what is the difference between COBOL2 AND COBOL390?

3058


i need a small 3d program using inline and outline.

2213


Explain how will you differentiate between an internal and an external sort, the pros and cons, internal sort syntax etc

1256


what is difference between cobol and cobol/400

22929


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

1408


What is the default value(s) for an initialize and what keyword allows for an override of the default?

1213


What is the difference between Global and External Variables?

1377


Discuss about changing dataset name in proc.

1235


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

2376


what happens if parmparameter passes zero bytes to the program

2133