Monika,

Personally I would use "XGR   Rx,Rx" and then a sequence of "AGF   Rx,field" 
instructions

At the end, just use "CVDG" and "ED" to make it pretty     

Rob Scott
Lead Developer
Rocket Software
275 Grove Street * Newton, MA 02466-2272 * USA
Tel: +1.617.614.2305
Email: [email protected]
Web: www.rocketsoftware.com 


-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf Of 
Monika Amiss
Sent: 29 March 2011 18:07
To: [email protected]
Subject: binary add

Dear group,

  I'm reading some SMF30 records and want to accumulate several 4 byte binary 
values (like CPU SU, IO SU, ...) for jobs which achieve the same criteria. But 
the summation grows over the 4 byte capacity (I use AR in Amode31). Is there a 
way to use 2 register for the summation. Or can I use Amode64-Code only for the 
addition. I fear to consume to much resources if I convert the data to decimal 
each time.

  Hope somebody could help me. Any hint appreciated.
  With best regards
  Monika    

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to