[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference acadmy::tpas_notes

Title:Transfer Price Administration System
Notice:Conference has moved to ACADMY::TPAS_NOTES
Moderator:ACADMY::MAGNI
Created:Wed Jul 01 1992
Last Modified:Fri Mar 21 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:102
Total number of notes:459

51.0. "RDSBUGCHK in TPAS_CALC_TRNSFR_PRC call" by FUTURS::TON () Thu Dec 15 1994 07:15

Here's another problemette. Same setup as described in note 50.0

SKNEES::TON> run tpas_demosite_basic/NODEB
 
PART NUMBER ? VSXXX-AA
SHIP FROM   ? AY
SHIP From Type (S/P/T/B) ? P
SHIP TO     ? 2404
SHIP To Type (S/P/T/B) ? B
Order MLP or return    ? 100
Local Standard Cost or return    ? 12
Shipment Type (01,02,03,04)? 01
%APPIX-I-PARTREFORM, Part ID has been reformatted and found on file

%RDMS-I-BUGCHKDMP, generating bugcheck dump file USER1:[TON]RDSBUGCHK.DMP;2
Part ID:   VSXXX-AA
Ship/Bill FROM Data : AY      - GBS -    - 0002404 - SAL
Ship/Bill TO Data   : 0002404 - AYO - AY -  - MFG

TPAS Prodt Type   : OPT
STD Cost          : $      29.582000       STD Cost Type   : C
Corporate MLP     : $           175.00
Average Prodt NOR : $         0.000        Prevailing Rate :          0.000

Base Price        : $         0.000    Trnsfr Pricing Code :
CMM  : 0.00           CALCULATED MLP Dscnt Perct To Rebill : 0.00
MLP Discount Percent : 0.00        NOR Discount Percent    : 0.00
STD Cost Uplift      : 0.00        REBILL Discount Percent : 0.00
Transfer Price  :          0.000   Currency : USD
Transfer Price To Rebill  : $         0.000

TPAS TRANS STATUS:  FAC Code :             Status Code : F
     Error Message :  %SYSTEM-F-BREAK, breakpoint fault at PC=00000000, PSL=0000
0000

MORE PARTS, PRESS 'Y' OR 'N' ? N

The system I am using has
		VMS 5.5-2
		VAX BASIC V3.5
		VAX SQL V4.2-0
		CDO V2.1
		CDD/Plus CDD V5.1
		Rdb/VMS V4.2-0

The STD Cost and Corporate MLP have been accurately retrieved from AMPS2.
Let me know if you want to have a look at the DMP file (3000 blocks).

What am I doing wrong?

Regards


george


T.RTitleUserPersonal
Name
DateLines
51.1can't reproduce send dumpAWARD::MAGNIIM&T - 223-9837Thu Dec 15 1994 15:396
I can't reproduce this error, try as I might. Send the dump, maybe I can 
find something in it to give me a clue. 

In the mean time - change you to/from in the map in the TPAS_DEMOSITE_BASIC.
(see 50.1)
Lois
51.2More info on Bug CheckFUTURS::TONFri Dec 16 1994 07:1947
Lois,

I have changed the MAP, but the bug check still occurs. I have also compiled
and linked the TPAS_DEMOSITE.COB. It also generates the bug check. Here is 
what the COBOL program gave me...



                      TPAS LOGIC          RESULTS DISPLAY


PART NO           :VSXXX-AA            PARSED PART NO =
SHIPMENT  TYP CD  :01
FROM STOCKROOM    :AY   BILL_FROM TYP CD: P    LOCAL STD COST: 12
TO STOCKROOM      :RE   BILL_TO   TYP CD: P    ORDER MLP     : 100
FROM AREA CODE    :AYO  STD COST TYPE CD: C    STD COST      :       29.582000
TO AREA CODE      :CRE  PRODT TYPE CODE : OPT  CORP. MLP     :            175.00
FROM BUSNS TYPE CD:MFG  PRICE TYPE CODE :      BASE PRICE    :          0.000
TO BUSNS TYPE CD  :EIC  CURRENCY        : USD  TRANSFER PRC  :          0.000
                        XCHNG RATE      :      0.00000000
CMM               :0.00                    RBILL TRN PRC($)  :          0.000
STD_COST UPLIFT   : 0.00                   RBILL DISC% TO MLP:       .00
DISCOUNT PERCENT  : .00
NOR DISCOUNT %    : .00
RBILL DISCOUNT %  : .00
                                            MORE PARTS, PRESS 'Y' OR 'N'
TPAS TRANS STATUS : 000000000
       F %SYSTEM-F-BREAK, breakpoint fault at PC=00000000, PSL=00000000
          WARNING :
%APPIX-I-PARTREFORM, Part ID has been reformatted and found on file

%RDMS-I-BUGCHKDMP, generating bugcheck dump file USER1:[TON]RDSBUGCHK.DMP;1


I have placed the RDSBUGCHK.DMP file generated by the COBOL program in the 
SKNEES:: default decnet area. PLease let me know when you have taken a
copy.

By the way, we are running VAX COBOL V4.4-65.

The only successful calls I can currently make are where ship from = ship to.
All other calls with valid ship from and ship to generate a bugcheck.

Please let me know if there is any more info that you require.


george
51.3this is an RDB bugAWARD::MAGNIIM&T - 223-9837Wed Dec 21 1994 14:3213
George,

As I was re-reading 51 I noticed you are on RDB/SQL 4.2-0. We are on V4.0-2,
so at first it didn't hit me. But please read note 38.*. It seems that there
is a bug in RDB v4.1,4.2 and 5.1 using 'OR' logic. Which we use of course.

There is a patch. It used to be available through Colorado, but now with the 
RDB sale I am not sure how one goes about obtaining it. I would assume that
bug fixes are part of the normal licensing support, but we all know what
happens when one makes assumptions.

regards,
Lois
51.4Installed Patch, no more Bug ChecksFUTURS::TONTue Jan 03 1995 09:099
Lois,

Thanks for the tip about the patch. I have installed it on my test machine, and 
both the COBOL and Basic demo programs are now working (although the Basic
program needed a few changes). 

Thanks

george