Thank You

---------- Original Message ----------
From: Chuck Arney <ch...@arneycomputer.com>
To: ASSEMBLER-LIST@LISTSERV.UGA.EDU
Subject: Re: Curosity Question
Date: Thu, 1 Nov 2012 09:08:42 -0500

It divides by 36 and uses the remainder as a character digit because there
are 36 possible characters in it's translate table.  A-Z + 0-9 = 36 possible
characters.

Chuck Arney
Arney Computer Systems

-----Original Message-----
From: IBM Mainframe Assembler List [mailto:ASSEMBLER-LIST@LISTSERV.UGA.EDU]
On Behalf Of esst...@juno.com
Sent: Thursday, November 01, 2012 8:49 AM
To: ASSEMBLER-LIST@LISTSERV.UGA.EDU
Subject: Curosity Question

Im providing some snipets of code which is used to derive a CICS Terminal ID
from an address in storage. The Starting address resides above the line
(31-bit).

In the CALCID Routine below:
The code snipet derives the Termid from the lower order 3 bytes of the
storage address by dividing a F'36' (BASENUM). This value is further divided
by F'36'  (BASENUM) and then again (3Times in Total) This calcualtion
produces the last three characters of the 4 Character Terminal ID.

Im not sure I understand the significance of the F'36' (BASENUM).
Can someone explain the significance of using a F'36' bsing used to divide
into a 31 Bit Address ?
I suspect it has to do with 24 Bit Addresses.
Its not clear to me what that vaule is used.
What is the significance of F'36' in the CALCID routine below.

Reply via email to