master - creation steps
TRANSCRIPT
-
7/25/2019 Master - Creation Steps
1/4
1. SYSTEM.CLEAR.FILES2. Routine to create account.closure records in nau file - MASTER.AC.CLOSE
MASTER.AC.CLOSE PROGRAM MASTER.AC.CLOSE* DEBUG OPEN "FMCU.ACCOUNT" TO F.AC ELSE PRINT 'CANNOT OPEN FMCU.ACCOUNT'
RETURN END* OPEN "FMCU.ACCOUNT.CLOSURE$NAU" TO F.AC.CLOSE ELSE PRINT 'CANNOT OPEN FMCU.ACCOUNT.CLOSURE$NAU' RETURN END* AC.CLOSE.REC = '' AC.CLOSE.REC = '90' AC.CLOSE.REC = ""* SELECT F.AC LOOP READNE!T AC.ID ELSE AC.ID = '' #ILE AC.ID NE '' PRINT "PROCESSING AC.ID = " AC.ID RITE AC.CLOSE.REC TO F.AC.CLOSE% AC.ID REPEAT STOPEND
3. ES.A!TO.F!"CTIO" to co##it and aut$orise account closure records
R&&CON0& EBS AUTO FUNCTION SEE FILE.NAME......... ACCOUNT.2(9( PGM)FILE TPE #)FIN &. & SELECTION...... IT# RECORD.STATUS E+ CLOSED &. 2 SELECTION...... IT# MNEMONIC NE '' 2 FUNCTION.......... I 3 SAMPLE.SI,E....... & 4. & INPUT.BUFFER... ID 4. 2 INPUT.BUFFER... F- ERSION........... %&/. & DATE.TIME...... 22 UN &2 &22&& AUT#ORISER........ 2(9(1INPUTTER&( CO.CODE........... AU002000&
22 UN 20&2 &2323 USER 0& SEP INPUTTER 2(9(%INPAGE &ACTION
AAITING PAGE INSTRUCTIONS
%. Ensure Internal Accounts are not closed. Re&ie' Internal Accounts and ensuret$e( are o)ened a*ain - t$e( are closed and $istor( restored to o)en a*ain toensure +alances are clear and 'e start off on a clean note.
R&&CON0& EBS AUTO FUNCTION SEE
FILE.NAME......... ACCOUNT.CLOSURE.92&3 PGM)FILE TPE U)FIN 2 FUNCTION.......... I 3 SAMPLE.SI,E....... & 4. & INPUT.BUFFER... ID 4. 2 INPUT.BUFFER... 4. 3 INPUT.BUFFER... F-
4. 4 INPUT.BUFFER... ERSION........... % &/. & DATE.TIME...... 22 UN &2 09&( & AUT#ORISER........ (4&1INPUTTER &( CO.CODE........... AU002000& 22 UN 20&2 &23333 USER 0& SEP INPUTTER 2(9(%INPAGE &ACTIONAAITING PAGE INSTRUCTIONS
,. Clear t$e ta+le AC.S!.ACCO!"T
567 RB81R&&1CON0& >SELECT FMCU.AC.SUB.ACCOUNT
49 R:;6 6:?:;@:
>DELETE FMCU.AC.SUB.ACCOUNT
-
7/25/2019 Master - Creation Steps
2/4
49 :;6 :?:@:.
. Ensure no custo#er accounts eist in t$e ACCO!"T ta+le.
LIST FMCU.ACCOUNT IT# CUSTOMER NE '' ONL PAGE & &&0&0 2- UN 20&2
ID................
N R:;6 L6@:
LIST FMCU.ACCOUNT$NAU IT# CUSTOMER NE '' ONL PAGE & &&090& 2- UN 20&2
ID................
N R:;6 L6@:
567 RB81R&&1CON0& >SELECT FMCU.ACCOUNT$#IS IT# CUSTOMER NE '' ONL
3/39/ R:;6 6:?:;@:
>DELETE FMCU.ACCOUNT$#IS3/39/ :;6 :?:@:.567 RB81R&&1CON0& >SELECT FMCU.ACCOUNT$#IS IT# CUSTOMER NE '' ONL
N R:;6 6:?:;@:
/. Ensure no 0e)osits eist in t$e A.ACCO!"T ta+le.
LIST FMCU.A,.ACCOUNT ONL PAGE & &&0-( 2- UN 20&2
ID.............
N R:;6 L6@:
LIST FMCU.A,.ACCOUNT$NAU ONL PAGE & &&0(&- 2- UN 20&2
ID.............
N R:;6 L6@:
LIST FMCU.A,.ACCOUNT$#IS ONL PAGE & &&0(30 2- UN 20&2
ID.............
N R:;6 L6@:
. Ensure no Li#its eist in t$e LIMIT ta+le.
567 RB81R&&1CON0& >SELECT FMCU.LIMIT
N R:;6 6:?:;@:
567 RB81R&&1CON0& >SELECT FMCU.LIMIT$NAU
N R:;6 6:?:;@:
567 RB81R&&1CON0& >SELECT FMCU.LIMIT$#IS
N R:;6 6:?:;@:
. Custo#er related ta+les to +e cleared net. Attac$ed +elo' is t$e list of ta+les$a&in* classification as 4C!S5 on t$e FILE.CO"TROL ta+le. T$e routine )ro#)ts forta+le to +e cleared6 care 'as ta7en to clean onl( rele&ant ta+les. "ot all ta+lesin t$e list 'ere cleared.
Customer Tables.txt
MASTER.CLR.C!S.TALES
8-----------------------------------------------------------------------------8 9Ratin*:%9;Ratin*:8----------------------------------------------------------------------------- S!RO!TI"E MASTER.CLR.C!S.TALES
-
7/25/2019 Master - Creation Steps
3/4
-
7/25/2019 Master - Creation Steps
4/4
13. Run a CO
1%. Re#o&e t$e ACCO!"T.CLOS!RE records
Qs$ R=R11=CO"N1 --:SELECT FMC!.ACCO!"T.CLOS!RE
/% Records selected
:0ELETE FMC!.ACCO!"T.CLOS!RE/% recordsD deleted.
1,. Re#o&e t$e FMC!.ALTER"ATE.ACCO!"T records.
Qs$ R=R11=CO"N1 --:SELECT FMC!.ALTER"ATE.ACCO!"T
13/3 Records selected
:0ELETE FMC!.ALTER"ATE.ACCO!"T13/3 recordsD deleted.
1. Re#o&e t$e FMC!.0E.A00RESS records )ertainin* to A!NN2NNN1.
Qs$ R=R11=CO"N1 --:SELECT F.0E.A00RESS ITG I0 LIE A!NN2...
//1, Records selected
:0ELETE F.0E.A00RESS//1, recordsD deleted.
1/. Re#o&e 0E.RO!TI"K records )ertainin* to A!NN2NNN1.
Qs$ R=R11=CO"N1 --:SELECT F.0E.RO!TI"K LIE A!NN2NNN1....
11 Records selected
:0ELETE F.0E.RO!TI"K11 recordsD deleted.