Go to LeighWeb Home Page            

Back To LeighWeb Mainframe Utilities Page

View the module associated with this documentation

 This CLIST takes 2 hexadecimal numbers as input, subtracts the 2nd from the 1st
 and displays the result in hexadecimal and decimal format.  An example is as
 follows :

 COMMAND ===> HEXSUB 789EF AAA

 The resulting message would be :

 HEX (789EF) - HEX (AAA) = DECIMAL (491333) HEX (77F45)

 Neither input number can be greated than 8 digits in length.