def __init__(self, **kw): Datamap.__init__( self, 'URBI', String('urbieye', 4), # URBI eye-catcher 'URBI' Int4('urbilen'), # Length of URBI + selection data + filler Int4('urbilenh'), # Length of URBI proper (>= URBIL) Int4('urbilend'), # Length of selection data (may be zero) String('urbirtok', 8), # Request ID token (returned in response) String('urbirnam', 8), # Destination name for response String('urbirt', 4, ppfunc=urbirt_str), # Request type: STAT/INST/TRAN Uint2('urbidbid'), # Database ID (INST request) Uint2('urbifnr'), # File number (INST request) String('urbiinam', 8), # Initial-state name (INST request) String('urbisnam', 8), # Subscription name or blank (STAT/TRAN req) String('urbidnam', 8), # Destination name or blank (STAT/TRAN req) Uint4('urbiacod'), # alpha field encoding in selection data Uint4('urbiwcod'), # wide field encoding in selection data Bytes('urbiarc', 1), # architecture flags for selection data String('urbires1', 3, opt=T_NONE), # Reserved area1 Uint4('urbitsnr'), # Transaction seq.no. within # subscription/destination (TRAN req) String('urbires2', 16, opt=T_NONE), # Reserved area2 # Optional selection data (INST request) **kw)
def __init__(self, **kw): Datamap.__init__( self, 'URBD', String('urbdeye', 4), # URBD eye-catcher 'URBD' Int4('urbdlen'), # Length of URBD + related data + filler Int4('urbdlenh'), # Length of URBD Int4('urbdlend'), # Length of related data (at URBDDATA) Uint4('urbddsnr'), # Data sequence number for record String('urbdtyp', 1, ppfunc=urbdtyp_str), # Type of data String('filler1', 11, opt=T_NONE), # Reserved area # Payload data following (before or after image) **kw)
def __init__(self, **kw): Datamap.__init__( self, 'URBS', String('urbseye', 4), # URBS eye-catcher 'URBS' # Int4('urbslen'), # Length of URBS + data (C5DA) + filler String('urbsrtok', 8), # Request ID token (from original request), String('urbsrt', 4), # Request type (blank if no request): String('urbsst', 4, ppfunc=urbsst_str), # Reptor status/response information: Uint8('urbstime', opt=T_STCK), # Time (STCK) when this URBS was created Uint4('urbsrsp'), # Response code for request Uint4('urbssubc', ppfunc=self.urbssubc_str), # Subcode for request String('urbserri', 8), # Other pertinent error information String('urbsinam', 8), # Initial-state name (INIT/CMPL/ERRO message) String('urbssnam', 8), # Subscription name (ASEC/C5DA/DCMP/DEAC/ # LOST/REAC/REFR/RPLE/RPLS/SUBS/TRSP msg) String( 'urbsdnam', 8 ), # Destination name (DEAC/DERR/FULL/REAC/REFR/SLOF/SLON message) Uint8('urbsptim', opt=T_STCK), # Time (STCK) transaction processed # for subscription (SUBS) Uint8('urbsttim', opt=T_STCK), # Time (STCK) transaction commit # (ASEC/AUTI/C5DA/SUBS) Uint4('urbstsnr'), # Transaction sequence number within # subscription/destination (SUBS/TRSP message) Uint2('urbsdbid' ), # Database ID //(ASEC/CMPL/DCMP/DEAC/ERRO/INIT/LODS/ Uint2('urbsfnr' ), # File number // LODE/LOST/REAC/SAVS/SAVE/UPDS/UPDE msg) Int4('urbslenh'), # Length of URBS Int4('urbslend'), # Length of related data (at URBSDATA) Uint2('urbsutok' ), # Utility token (CMPL/ERRO/INIT/LODS/LODE/RPLS/RPLE/ # SAVS/SAVE/UPDS/UPDE message) String('urbsorig', 1, ppfunc=urborig_str), # Origin of status (C5DA/RPLS/RPLE) String('filler1', 5, opt=T_NONE), # Reserved area String('urbsiqnm', 8), # Input Queue name (IQCL/IQOP/REFR msg) String('filler2', 8, opt=T_NONE), # Reserved area #urbsdata following here. Add URBSL to the URBS start # For the RPLS/RPLE message, URBSDATA contains a list of 2-byte # file numbers of the file(s) associated with the replay process # for the subscription given in URBSSNAM **kw)
def __init__(self, **kw): Datamap.__init__( self, 'URBSU41', String('fieldname', 2), # field name Int4('newlength'), # new field length **kw)
def __init__(self, **kw): Datamap.__init__( self, 'URBII', Uint4('urbiisn'), # ISN # or alternatively: Int4('urbiirange', repos=-4), # Range indicator Uint4('urbiisn1'), # from ISN Uint4('urbiisn2'), # to ISN **kw)
def __init__(self, **kw): Datamap.__init__( self, 'URBE', String('urbeeye', 4), # URBE eye-catcher 'URBE' Int4('urbelen'), # Length of URBE String('urbesnam', 8), # Subscription name Uint4('urbetsnr'), # Transaction sequence number # within subscription/destination String('filler1', 12, opt=T_NONE), # Reserved area **kw)
def __init__(self, **kw): Datamap.__init__( self, 'URBU', String('urbueye', 4), # URBU eye-catcher 'URBU' Int4('urbulen'), # Length of URBU String('urbuvers', 2), # Version indicator String('urbuname', 8), # Extract name (ADARPE parameter NAME) Uint8('urbutime', opt=T_STCK), # Time (STCK) of ADARPE execution String('urbudist', 22, opt=T_NONE), # Local time displayable of ADARPE exec String('filler1', 32, opt=T_NONE), # Reserved area **kw)
def __init__(self, **kw): Datamap.__init__( self, 'URBC', String('urbceye', 4), # URBC eye-catcher 'URBC' Int4('urbclen'), # Length of URBC String('urbcsnam', 8), # Subscription name Uint4('urbctsnr'), # Current transaction sequence number # within subscription/destination Uint4('urbcrsnr'), # Current record sequence number Uint4('urbcdsnr'), # Current data sequence number for record String('urbccont', 1, ppfunc=urbcont_str), # Indicator transaction continuation String('filler1', 19, opt=T_NONE), # Reserved area **kw)
def __init__(self, **kw): Datamap.__init__( self, 'URBH', String('urbheye', 4), # URBH eye-catcher 'URBH' (in EBCDIC) Int4('urbhlen'), # Length of URBH String('urbhvers', 2), # Version indicator for URB* DSECTs: Int2('urbhbord', opt=T_HEX), # Const 1 to indicate the byte order Uint4('urbhlent'), # Total message length (including URBH) Uint4('urbhmsnr'), # Message sequence number per destination Uint8('urbhtime', opt=T_STCK), # Time (STCK) when message was sent Uint2('urbhrpid'), # Target ID of originating Reptor Uint2('urbhrpni'), # Nucleus ID of originating Reptor String('urbhname', 8), # Sender name ('REPTOR' if sent by Reptor) String('filler1', 24, opt=T_NONE), # Reserved area **kw)
def __init__(self, **kw): Datamap.__init__( self, 'URBT', String('urbteye', 4), # URBT eye-catcher 'URBT' # Int4('urbtlen'), # Length of URBT String('urbtsnam', 8), # Subscription name Uint4('urbttsnr'), # Transaction sequence number # within subscription/destination Uint4('urbtrcnt'), # Count of records (URBRs) in transaction Uint8('urbtttim', opt=T_STCK), # Time (STCK) transaction commit Uint8('urbtptim', opt=T_STCK), # Time (STCK) end of subscription Uint2('urbtdbid'), # Originating Adabas database ID Uint2('urbtnuci'), # Originating Adabas nucleus ID Bytes('urbtguid', 28), # Originating 28-byte user ID Uint2('urbtrpid'), # Reptor target ID (DBID parameter) Uint2('urbtrpni'), # Reptor nucleus ID (not yet used) => zero String('urbtusrv', 2), # User subscription version indicator, String('urbtrsnd', 1, ppfunc=urbrsnd_str), # Ind. possible double delivery String('urbtinst', 1, ppfunc=urbtinst_str), # Ind. for initial state String('urbtrtok', 8), # Request ID token (if initial state) String( 'urbtcont', 1, ppfunc=urbcont_str), # Indicator for transaction continuation: Bytes('urbtarc', 1), # Architecture flags for selection data String('urbtptrn', 1, ppfunc=urbtptrn_str), # Prior-transaction request indicator String('urbtsort', 1, ppfunc=urbtsort_str), # Transaction records sorted Uint4('urbtacod'), # alpha field encoding in selection data Uint4('urbtwcod'), # wide field encoding in selection data Uint2( 'urbtutok' ), # utility token if data comes from Replay or Adalod Load/Update String('urbtorig', 1, ppfunc=urborig_str), # Origin of transaction String('filler1', 1, opt=T_NONE), # Reserved area String('urbtsuid', 8), # Security system user id String('filler2', 16, opt=T_NONE), # Reserved area **kw)
def __init__(self, **kw): Datamap.__init__( self, 'URBR', String('urbreye', 4), # URBR eye-catcher 'URBR' Int4('urbrlen'), # Length of URBR Uint4('urbrrsnr'), # Record sequence number within transaction Int2('urbrdcnt'), # Count of data elements (URBDs) Uint2('urbrfnr'), # Original Adabas file number Uint4('urbrisn'), # Original Adabas ISN Uint8('urbrtime', opt=T_STCK), # Time (STCK) of last modification String('urbrtyp', 1, ppfunc=urbrtyp_str), # Type of update String('urbrrsnd', 1, ppfunc=urbrsnd_str), # Ind. possible double delivery Uint2('urbrrsp'), # Response code Uint4('urbrsubc'), # Subcode information String('urbrerrc', 8), # Other error code information String('urbrdcu', 1, ppfunc=urbrdcu_str ), # Indicator for delete to update conversion String('urbruc', 1, ppfunc=urbruc_str ), # Indicator for update conversion to delete or insert String('filler1', 18, opt=T_NONE), # Reserved area **kw)
def __init__(self, **kw): Datamap.__init__( self, 'URBSU78', Int4('mupex'), # Count=1 or 2 **kw)
def __init__(self, **kw): Datamap.__init__( self, 'URBSU69', Int4('mixdsdev', 4), # 0=ON, 1=OFF **kw)
def __init__(self, **kw): Datamap.__init__( self, 'URBSU68', Int4('userisn', 4), # 0=ON, 1=OFF **kw)