Please enable JavaScript to view this site.

APS System Documents

Navigation: » No topics above this level «

Standards and Security

Scroll Prev Top Next More

 

Contents

 

Page                Section
 1        Encoding a system using GIVLOK and PWN970 for users.
 2        Development / programming folders
 2        Pawn jurisdictions by State, County, and Country
 5        Programming standards and File naming
 7        Display / Print Standards
 

 

===================================

 

Encoding a system using GIVLOK and PWN970 for users.

 

First, on a SBC computer, run the program GIVLOK. The operator will be asked for the pawn shop name, the store phone number, the maximum number of users, the major and minor release levels, and how many months that the software is to be active. If the number of months is not to be a controlling factor then enter zero for the month value. The GIVLOK program will then display and print the numbers to encode a user’s APS system.

 

Second, the store parameter fields: name, address, and phone information needs to be entered on the user’s computer. On the user’s system run the program PWN970 in the master ppn MPPN. The program will display a list of numbers on the screen. Enter those numbers where requested from the GIVLOK program. It will then display a new set of numbers, enter the new numbers back into the user’s computer.

 

Note, if the daily override file (see next paragraph) exists for the current day, when PWN970 is run the current lock parameters will be displayed. In order to enter new values the daily override file must be erased.

 

The daily override file:

 

The program PWNOVR will display the name of a daily override file that can be manually created. The program is not installed on users’ systems. It in stored in [101,64] and run from that PPn. If the file exists for the day the security encoding system will be bypassed for that one day. PWNOVR also displays a bypass password for the security (RUN PWN061) system. This bypass password will only be valid for one day.

 

The command DT (day and time) will display the daily override file names for the next 20 days.

 

 

Log to the MPPN and enter the following with the numbers displayed when PWNOVR is run.

 

CREATE P#####.TMP,1

 

 

Development / programming folders:
 
 Folders that are common to the development system and the end user system:
DSK0:[27,0]        APSLOD: loaded programs
DSK0:[27,1]        Sample data ONLY for new installs.
DSK0:[27,2]        Commands and Do, user account
DSK0:[27,4]        ERSATZ.APS
DSK0:[27,7]        Printer PQIs, (old name INI)
 
 Folders that are only on the development system
DSK6:[101,62]        Test programs and samples
DSK6:[101,64]        Security and PWNF00.TXT / DAT table.
DSK6:[101,0]        RUN programs that are compiled and being tested.
DSK6:[101,101]        Source code, BAS, MAP, SUB files.
DSK6:[101,102]        Old versions of BAS files, extension is old edit number
DSK6:[101,103]        Old versions of MAP files, extension is old edit number
DSK6:[101,104]        Old versions of SUB files, extension is old edit number
DSK6:[101,106]        Old not used programs and conversion from release to release.
DSK6:[101,107]        Utility programs
DSK6:[101,111]        Future development, enhancements, some started never finished
DSK6:[101,121]        Tractor software from N.Dakota, map of inventory fields
DSK6:[101,2??]        APS samples of various jurisdictions / states
DSK6:[101,3??]        Actual store data that was downloaded to use for testing
DSK0:[7,6]        Standard source MAP and SUB files included for both APS and AJC
 

Security Installation PIC code
 
Normally all the programs that are stored in [101, 64] are not to be released or installed on a user’s system. The only program that may need to be transmitted to the user site is PWN062. Transmit it, run it to authorize the site and then erase it. The following programs and files are used with the installation and security menu system. By logging into [101,64] the start CMD will explain all the programs and files.

 

Pawn jurisdictions: by State, County, and Country

 

Each pawn jurisdiction has it’s unique rules on pawn shop transactions. Usually a jurisdiction is a state, but can be a county or another country Mexico. In the store parameters E > A > A > field 27 is the Version number of the jurisdiction. There are multiple copies of the same program. Most programs are named in the format PWN###, but for versions the abbreviation of the jurisdiction is inserted in the 2nd and 3rd position. The most common duplication of a program is the program that prints pawn tickets. It is named PWN215 for the common program that various jurisdictions use. But, if the rules are complicated, a unique program was created so that one program would not have to have multiple decision trees by jurisdiction. Texas is version 101, Oklahoma is version 102. When the menu selection says run the pawn ticket program, it looks at the version and RUNs the program PTX215 for Texas, and POK215 for Oklahoma. Note, Alabama as of this writing has three versions numbers. That is because there are three different pawn tickets used in Alabama. But the same program PAL215 is executed when the pawn program is selected on a menu. The program has three different ticket formats that it will print based on the version number.

 

 

101        Texas, Burrell Ticket

 

102        Oklahoma

 1.        Service charge is calculated on a graduated scale.

 2.        No extensions

 3.        Purchase Ticket

 

103        Tennessee

1.        Main difference is the service charge tables and the use of extension payments on loans.

 2.        Reminders are different from Texas

 3.        Preprinted pawn numbers are not required.
 4.        Same as Missouri, except for preprinted tickets

 

104        Georgia

1.        Main difference is the service charge tables and the use of extension payments on loans.

 2.        Reminders are different

 3.        Months are computed in 30 day increments not month to month.

 4.        Service charge drops after 90 days.

 

105        Kansas

 

106Louisiana
1.        Jewelry holds are for 1 year, the rest are for 60 days the file PWNF11.TBL has a "LOAN'TYPE" field that is a "1" for all loans except for jewelry which are "2". PWN870 & PWN875 use this field to distinguish when to send reminders and when to drop.

 

107        Arkansas

 

108        Alabama, different tickets

 

109        Alabama, different tickets

 

110        Missouri -Gunsmoke Pawn, Springfield Mo.

 

111        Texas, NBG ticket

 

112North Dakota

 

113        Mississippi

 

114        Colorado

 

115        Alabama, different tickets
 1.        Minimum age is 19 to make a loan.
       2.        Preprinted numbers are not required.

 

116        Idaho
 1.        
 

117Missouri
1.        Missouri and Tennessee are the same except that Tenn. does not have preprinted numbers.
 
118Indiana

 

120New Mexico
1.        Initial and extended loans are for 30 day periods
2.        The hold period is 90 after the initial maturity date
3.        Loans are extended by periods of 30 days at a time
4.        If a person pays an initial loan within the “store’s grace days about 4 days”, then most stores do not charge a 2nd month to redeem.

 

TX – Texas uses versions: 101, 111
AL – Alabama 108, 109, 115
MO – Missouri 110, 117
 

State Version Rules

 

State        Ver.        Aff.        Aff.        Memo        Refund        Stg.        Due        Drop        Unique
 No.        Yes        $        of        If        Chg        Date        Days        Ticket
               /No        Chg.        Ext.        Paid                                Numbers
                                       Early
 
Texas        101        Yes        Yes        Yes        Yes        No        1        Mth+30        Yes
 
Oklahoma        102        No        No        No        No        No        1        Mth+60        Yes
 
Tennessee June 1994        103        Yes        Yes        Yes        No        Yes        1        Mth+60        No
 
Georgia        104        ___        ___        Yes        No        Yes        1        Mth ___        Yes
 
Kansas        105        Yes        ___        Yes        No        No        1        Mth+60        Yes
 
Louisiana        106        Yes        ___        Yes        No        Yes        1        Mth+60        No
 
Arkansas        107        Yes        ___        Yes        No        Yes        ___        ___        No
 
Alabama        108        ___        ___        ___        No        Yes        30 d        30+90        ___
 
Alabama        109        
 
Missouri Gunsmoke Pawn        110        ___        ___        Yes        ___        Yes        ___        Mth+60        ___
 
Texas NBG        111        Yes        Yes        Yes        Yes        No        1        Mth+30        Yes
 
North Dakota        112        ___        ___        ___        ___        ___        ___        ___        ___
 
Mississippi        113        ___        ___        No        No        No        1        Mth        ___
 
Mexico        114        ___        ___        Yes        ___        No        ___        ___        Yes
 
Alabama        115                        Yes        30 days        Yes        ___        30+30        No
 
Idaho        116                        Yes        ?        Yes
 
Missouri        117        ___        ___        Yes        ___        Yes        __        Mth+60        ___
 
Indiana        118        ___        No        No        Yes                ____        30+120        No
 

 

Programming standards and File naming standards

 

Note, following are intended guidelines for programming. However, there are programs that deviate, but, most of the programs do follow these guidelines. The programs, try to in a standard layout. After the “main” , there is a section of included SUB files that are source for included standard subroutines code. Then the subroutines that are called from the main section. They are in alphabetical order, with the primary subroutines listed first and named with letters that come at alphabetically in order. This leads to some, weird names but it does keep them in order.

 

 

PWNF##        Pawn files
PWNYyy.mmm        Year and month summaries of F09 on same disk as F09
PWNS##        Summary file related to PWNF##, on same disk as F##
TAyymm.dd        Transfer Accounting files from G/L
 
The following files are erased when the Utilities menu selection “Integrity Reports” is run
 
REPppp.jjx        Reports
WK        Work temporary files
SI        Sort input files
SO        Sort output files
 
Characters used in file naming examples
dd        day of month
jj        job number in a string format
mmm        month name
mm        month number
ppp        program number
yy        year
x        unique character, 0-9 and A-Z
##        file number

 

 

Channel numbers for files

 

This table of file channels is supposed to show what number is used for each file type. Because there wasn't any control over numbering conventions, some of the numbers have been assigned without any forethought. The first section is a list of good channels and their file number.

 

Channel        File        Description
 
#81 - #89                cmd, sort, temporary files
#94                jewelry labels
#95                pawn tickets
#97        PWNF17.SEQ        Stock Labels, PWN150, PWN310, PWN588
#98                Memos and text files
#99        REP*.*        Print report files
#100        PWNF00.DAT
#101        PWNF01.DAT
#102        PWNF02
#103        PWNF03
#104        PWNF04
#106        PWNF06
#107        PWNF07
#108        PWNF08
#109        PWNF09
#110        PWNF10
#111        PWNF11
#112        PWNF12
#113        PWNF13.DAT
#114        PWNF14
#115        PWNF15
#116        PWNF16
#118        PWNF18
#119        PWNF19
#120        PWNF20.DAT
 
#401        PWNS01.DAT        Generic pawn ticket parameters
 
#30001        ERRORS.LOG        OUTPUT from SYSERR.SUB

 

 

Display / Print Standards

 

The following codes are suggested "standards" for Display / Print routines.

 

Format

       B = Brief
 C = Complete
 R = Raw, blank as delimiters (titles / no titles)
 S = Subtotals
 T = Total
 V=CSV

 

Sequence
       A = Alphabetical
 N = Numerical or Name, this dual option causes a conflict but syntax will dictate
 
APS Verbs
       A = Add
 B = Backup
 C = Change
 D = Delete or Drop
 E = Extend
 H = Hold / Police, OCCC term is Seize
 I = Inquire
 L = Loan
 R = Renew
 P = Pay
 T = Total
 V = Void
 W = Write
 ? = Help

 

.********  End of APS System 01 APS Standards and Security *******