IBCNSJ3 ;ALB/CPM - ADD NEW INSURANCE PLAN ; 11-JAN-95
Source file <IBCNSJ3.m>
action | A | extended action | Ea | event driver | Ed | subscriber | Su | protocol | O | limited protocol | LP | run routine | RR | broker | B | edit | E | server | Se | P | screenman | SM | inquire | I |
Name | Comments | DBIA/ICR reference |
---|---|---|
NEW(IBCNS,IBCPOL,IBFG,IBKEY,BYPASS) | ; Add a new insurance plan
; Input: IBCNS -- Pointer to an insurance company in file #36 ; IBFG -- [Optional] -> Set to 1 to force creation ; of a group plan ; IBKEY -- [Optional] -> Set to 1 to check for security key ; BYPASS -- Bypass new insurance plan ; Output: IBCPOL -- 0, if a new plan was not added, or ; >0 => pointer to the new plan in file #355.3 |
|
NEW1 | ;
; - collect plan characteristics |
|
MORE | ||
NEWQ | ||
CHECK(IBCNS,IBGNA,IBGNU) | ; Check for potential duplicate plans
; Input: IBCNS -- Pointer to an insurance company in file #36 ; IBGNA -- Plan Name for potential new plan ; IBGNU -- Plan Number for potential new plan ; Output: IBANS -- 1 -> Okay to add the new plan ; 0 -> Don't add the new plan. |
|
CHECKQ | ||
FIND(IBCNS,IBGN) | ; Check cross-references for duplicate plans
; Input: IBCNS -- Pointer to the insurance company in file #36 ; IBGN -- value to use to find duplicates |
|
GDATA | ; Place potential duplicate plan into an array.
|
|
LIST | ; List potential duplicates to screen and prompt to add plan.
|
Name | Line Occurrences |
---|---|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Routine Call |
|
Name | Line Occurrences (* Changed, ! Killed) |
---|---|
^DIC(36 - [#36] | CHECK+9 |
^IBA(355.3 - [#355.3] | CHECK+12, FIND+9, FIND+10, FIND+11, GDATA+2, GDATA+3 |
^IBCNH(367.1 - [#367.1] | MORE+10 |
^TMP($J | CHECK+10!, CHECK+19, CHECKQ, CHECKQ+1!, GDATA+2, GDATA+4*, LIST+3, LIST+4 |
^XUSEC("IB GROUP PLAN EDIT" | NEW+15 |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
BYPASS | NEW~, NEW+18 |
DA | NEW+9~ |
DIR | NEW+9~, NEW+21!, NEW1+4!, MORE+1!, MORE+2!, LIST+12! |
DIR("?" | NEW+20* |
DIR("A" | NEW+19*, NEW1+4*, MORE+1*, MORE+2*, LIST+9*, LIST+10* |
DIR("B" | NEW+19*, NEW1+4*, LIST+11* |
DIR(0 | NEW+19*, NEW1+4*, MORE+1*, MORE+2*, LIST+9* |
DIROUT | NEW+9~ |
DIRUT | NEW+9~, NEW+18, NEW1+5 |
DTOUT | NEW+9~, MORE+1, MORE+2 |
DUOUT | NEW+9~, MORE+1, MORE+2 |
DUZ | NEW+15 |
IBANS | CHECK+7~, CHECK+8*, CHECKQ+2, LIST+12* |
IBCNS | NEW~, NEW+11, MORE+5, MORE+8, MORE+10, CHECK~, CHECK+9, CHECK+12, CHECK+15, CHECK+16 , FIND~, FIND+9, FIND+10, FIND+11, GDATA+2 |
IBCNSD | CHECK+7~, CHECK+9*, CHECK+11 |
IBCPOL | NEW~, NEW+10*, MORE+5*, MORE+7 |
IBCT | CHECK+7~, CHECK+8*, GDATA+3*, GDATA+4, LIST+3*, LIST+4 |
IBFG | NEW~, NEW1+2 |
IBGN | FIND~, FIND+6*, FIND+7, FIND+8, FIND+10, FIND+11 |
IBGNA | NEW+9~, MORE+1*, MORE+5, CHECK~, CHECK+15, LIST+9 |
IBGNU | NEW+9~, MORE+2*, MORE+5, CHECK~, CHECK+16, LIST+10 |
IBGRP | NEW+9~, NEW1+2*, NEW1+4*, MORE, MORE+5 |
IBKEY | NEW~, NEW+15 |
>> IBST | LIST+4*, LIST+5, LIST+6 |
IBTL | NEW+9~, MORE*, MORE+1, MORE+2 |
INP | FIND+4~, FIND+7*, FIND+9, FIND+10*, FIND+11*, GDATA+2 |
LEN | FIND+4~, FIND+7*, FIND+10, FIND+11 |
SUB | FIND+4~, FIND+5*, FIND+6, FIND+9, FIND+10, FIND+11, GDATA+2 |
TYPE | FIND+4~, FIND+8*, FIND+10, FIND+11 |
U | GDATA+4 |
X | NEW+9~, GDATA+1~*, GDATA+2*, GDATA+3, GDATA+4 |
Y | NEW+9~, NEW+18, NEW1+4, MORE+1, MORE+2, GDATA+1~, GDATA+3*, GDATA+4, LIST+12 |
Y2 | GDATA+1~, GDATA+3*, GDATA+4 |