In [2]:
run n1_acbx


Before Adabasx call
cmd=OP op1/2= /  dbid=12 fnr=11 rsp=0
cid='\x00\x00\x00\x00' isn=0 isl=0 isq=0
ad1='' ad3='\x00\x00\x00\x00\x00\x00\x00\x00' 
ad4='\x00\x00\x00\x00\x00\x00\x00\x00', ad5='\x00\x00\x00\x00\x00\x00\x00\x00', cmdt=0
Control Block Extended
CB 0000 00004632 C0004F50 00000000 00000000 ..F2..OP........ .......&........
CB 0010 0C000000 0B000000 00000000 00000000 ................ ................
CB 0020 00000000 00000000 00000000 00000000 ................ ................
CB 0030 20200000 00000000 20202020 20202020   ......         ................
CB 0040 00000000 00000000 00000000 00000000 ................ ................
CB      7 identical line(s) suppressed

FB ABD<adabas.Cbuf object at 0x00000000051379C8>
FD1 0000 30004732 46004900 00000000 00000000 0.G2F.I......... ................
FD1 0010 40000000 00000000 40000000 00000000 @.......@.......  ....... .......
FD1 0020 00000000 00000000 00000000 40994803 ............@.H. ............ r..

Format Buffer 1 - 64/64/0 - 03489940
FB1 0000 00000000 00000000 00000000 00000000 ................ ................
FB1      3 identical line(s) suppressed

RB1 ABD<adabas.Cbuf object at 0x0000000005137AC8>
RD1 0000 30004732 52004900 00000000 00000000 0.G2R.I......... ................
RD1 0010 40000000 00000000 04000000 00000000 @...............  ...............
RD1 0020 00000000 00000000 00000000 20964803 ............ .H. .............o..

Record Buffer 1 - 64/4/0 - 03489620
RB1 0000 5550442E 00000000 00000000 00000000 UPD............. .&..............
RB1 0010 00000000 00000000 00000000 00000000 ................ ................
RB1      2 identical line(s) suppressed

---------------------------------------------------------------------------
WindowsError                              Traceback (most recent call last)
C:\Python\MyTools\Nat2PyBath\Adabas\demo\n1_acbx.py in <module>()
     38     c1.cb.fnr=FNR           # set control block fields
     39 
---> 40     c1.open(mode=UPD)       # issue OP
     41 
     42     c1.cb.cid='abcd'

C:\Python27\Lib\site-packages\adabas\api.pyc in open(self, mode, tnaa, tt, etid, arc, acode, wcode, wcharset)
   1382         self.rabd.send=len(_rb)+1    # set send size
   1383 
-> 1384         self.call() # Adabas call
   1385 
   1386         self.version = self.cb.isq>>24

C:\Python27\Lib\site-packages\adabas\api.pyc in call(self)
   1251 
   1252         # issue call
-> 1253         i = adalink.adabasx(self.acbx, len(self.abda), self.abda)
   1254 
   1255         totalCalls+=1

WindowsError: exception: access violation reading 0xFFFFFFFFFFFFFFFF

In [ ]: