PxPlus User Forum

Twitter Twitter Twitter

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - keith.mcbride

Pages: [1]
1
Language / Memory file with alternate keys doesn't work
« on: October 30, 2018, 01:06:57 PM »
We upgraded over the weekend from Version 7.1 on SUSE to PVX 2017 (version 14) on Centos 7.
We have several programs using memory files to sort data.
Example: OPEN (cust_list)"*MEMORY*;KEYDEF=10,[""RANK"":2:1:14:""B.2D""]"

On these we write records to the memory file
FIN(cust_list,"NUMREC") would show the expected number of records (23,000) record is just 10 character customer Number + total amount
The file is at the end, a re positioning read (like READ (cust_list,kno="RANK",key="") ) does not re position the file
and using KEF, KEL or other type functions creates a segmentation fault. pvxtrace.log entry below

Any Ideas

Keith McBride
Halperns Steak and Seafood
keith.mcbride@halperns.com



Oct 30 12:26 [<sigterm>:0] Segmentation fault
Oct 30 12:26 [<sigterm>:0]  - ERR=11 CTL=0 RET=258 LFA=32762 LFO=32762
Oct 30 12:26 [<sigterm>:0]  - Last path used: *MEMORY*;KEYDEF=10,["RANK":2:1:14:"B.2D"]
Oct 30 12:26 [<sigterm>:0] --- Program stack ---
Oct 30 12:26 [<sigterm>:0]  - STK(0) = line 15100 in /home/prod/prog/COMRCA
Oct 30 12:26 [<sigterm>:0]    - GO SUB... 15075
Oct 30 12:26 [<sigterm>:0]    - FOR...... 15020
Oct 30 12:26 [<sigterm>:0]    - GO SUB... 01000
Oct 30 12:26 [<sigterm>:0] --- Files ---
Oct 30 12:26 [<sigterm>:0]  - PTH(0) = /dev/pts/147
Oct 30 12:26 [<sigterm>:0]  - PTH(1) = /home/prod/sysprog/ZZP
Oct 30 12:26 [<sigterm>:0]     - Keyed file.  KEY:'WR      '
Oct 30 12:26 [<sigterm>:0]  - PTH(2) = /home/prod/data/OPF002
Oct 30 12:26 [<sigterm>:0]  - PTH(3) = /home/prod/data/OPG002
Oct 30 12:26 [<sigterm>:0]  - PTH(4) = /home/prod/data/AR3002
Oct 30 12:26 [<sigterm>:0]     - Keyed file.  KEY:<Start of file>
Oct 30 12:26 [<sigterm>:0]  - PTH(5) = /home/prod/data/AR6002
Oct 30 12:26 [<sigterm>:0]     - Keyed file.  KEY:<Start of file>
Oct 30 12:26 [<sigterm>:0]  - PTH(6) = /home/prod/data/PE1002
Oct 30 12:26 [<sigterm>:0]  - PTH(7) = /home/prod/data/OPF002
Oct 30 12:26 [<sigterm>:0]  - PTH(8) = /home/prod/data/AR1002
Oct 30 12:26 [<sigterm>:0]     - Keyed file.  KEY:<Start of file>
Oct 30 12:26 [<sigterm>:0]  - PTH(13) = /home/prod/data/ZZPARM
Oct 30 12:26 [<sigterm>:0]     - Keyed file.  KEY:'osecKAM'
Oct 30 12:26 [<sigterm>:0]  - PTH(14) = /dev/pts/147
Oct 30 12:26 [<sigterm>:0]  - PTH(32762) = *MEMORY*;KEYDEF=10,["RANK":2:1:14:"B.2D"]
Oct 30 12:26 [<sigterm>:0]  - PTH(32763) = *MEMORY*
Oct 30 12:26 [<sigterm>:0]  - PTH(32764) = *MEMORY*
Oct 30 12:26 [<sigterm>:0]  - PTH(32765) = *MEMORY*
Oct 30 12:26 [<sigterm>:0]  - PTH(32766) = *Pdf*
Oct 30 12:26 [<sigterm>:0]  - PTH(32767) = *MEMORY*;KEYDEF=10,["SALES":1:79:11:"D"]
Oct 30 12:26 [<sigterm>:0]  - PTH(64999) = *memory*;keydef=[1:1:30:C]+[2:1:30:C]+[3:1:30:C]
Oct 30 12:26 [<sigterm>:0]  - PTH(65000) = /home/prod/sysdata/FID
Oct 30 12:26 [<sigterm>:0]  - PTH(65002) = /home/prod/data/PFX002
Oct 30 12:26 [<sigterm>:0]  - PTH(65003) = /home/prod/syslib/_msglib.en
Oct 30 12:26 [<sigterm>:0]     - Keyed file.  KEY:<Start of file>
Oct 30 12:26 [<sigterm>:0] --- Err() Info ---
Oct 30 12:26 [<sigterm>:0]        Current Err:66 Prog: /home/prod/prog/COMRCS Stno: 1820 LFA: 99 LastPath: ZZT (pvxsub.c@1433)
Oct 30 12:26 [<sigterm>:0] --- Stack dump ---
Oct 30 12:26 [<sigterm>:0] /lib64/libc.so.6(+0x362f0) [0x7fb949ce02f0]
Oct 30 12:26 [<sigterm>:0] /lib64/libc.so.6(+0x155e41) [0x7fb949dffe41]
Oct 30 12:26 [<sigterm>:0] /usr/lib/pvx/pxplus() [0x410c03]
Oct 30 12:26 [<sigterm>:0] /usr/lib/pvx/pxplus() [0x410a6d]
Oct 30 12:26 [<sigterm>:0] /usr/lib/pvx/pxplus() [0x41056b]
Oct 30 12:26 [<sigterm>:0] /usr/lib/pvx/pxplus() [0x470e06]
Oct 30 12:26 [<sigterm>:0] /usr/lib/pvx/pxplus() [0x406a07]
Oct 30 12:26 [<sigterm>:0] /usr/lib/pvx/pxplus() [0x405665]
Oct 30 12:26 [<sigterm>:0] /usr/lib/pvx/pxplus() [0x403fee]
Oct 30 12:26 [<sigterm>:0] /usr/lib/pvx/pxplus() [0x403bbe]
Oct 30 12:26 [<sigterm>:0] /usr/lib/pvx/pxplus() [0x403a56]
Oct 30 12:26 [<sigterm>:0] /usr/lib/pvx/pxplus() [0x403841]
Oct 30 12:26 [<sigterm>:0] /usr/lib/pvx/pxplus() [0x4e4401]
Oct 30 12:26 [<sigterm>:0] /usr/lib/pvx/pxplus() [0x4e4339]
Oct 30 12:26 [<sigterm>:0] /lib64/libc.so.6(__libc_start_main+0xf5) [0x7fb949ccc445]
Oct 30 12:26 [<sigterm>:0] /usr/lib/pvx/pxplus() [0x403641]






Pages: [1]