Sunteți pe pagina 1din 4

ML2WI Alternate feed testing Page 1 of 4

1 DESCRIPTION
As part of ML alternate feed creation to create interface file for WI (Data warehouse), existing ML huron transaction’s functionalities are converted into cobol programs

JCL Name QH112DN0


Program QHX112
Program Description Process daily wastage data from SR & MJ
Author Stalin.c
Date Written Apr 24 2017

2 TEST CASES

Test Description of Test Test Input Expected Result Actual Results Remarks
Case
No.
Execute the job QH112DN0

1 To ensure oos feed are MLL.SR.OOS.BKUP.G89 Filtered OOS feed should not contain As expected Pass
filtered for OOS-wstge-VL 68V00 any record with oos-wstge-vl=0.00
greater than 0.00

2 SR oos feed are processed XY73.QHL.SR.OOS.SO Processed records should be written As expected Pass
and written into base RTED to XY73.QHLV.BPL.UK
product loss file

3 To test whether SR early XY73.QHL.SORTED.SR4 Processed records should be written As expected Pass
wastage are processed and 68.EARLY.V0 into xy73.qhlv.bpl.uk
written into base product
loss file and rejected
records into rejections file
4 To test whether SR records XY73.QHL.SORTED.SR4 Rejected records should be written As expected Pass
are rejected when wastage 68.EARLY.V0 into XY73.QHL.WSTGE.REJ
value received as 0.00
ML2WI Alternate feed testing Page 2 of 4

5 To test whether SR late XY73.QHL.SORTED.SR4 Processed records should be written As expected Pass
wastage are processed and 68.V0 into xy73.qhlv.bpl.uk
written into base product
loss file and rejected
records into rejections file
6 To test whether SR records XY73.QHL.SORTED.SR4 Rejected records should be written As expected Pass
are rejected when wastage 68.V0 into XY73.QHL.WSTGE.REJ with
value received as 0.00 reason as “sr-zero val”

7 To test whether sr wastage XY73.QHL.SORTED.SR4 Wastage quantity in bpl As expected Pass


quantity gets 68.V0 file#xy73.qhlv.bpl.uk should reflect
updated/inserted with as 1.00
wastage quantity as 1.00
8 To test whether for an XY73.QHL.SORTED.SR4 Rejected record should be found in As expected Pass
existing sr wastage record 68.V0 rejection file# xy73.qhl.wstge.rej
in BPL file with wastage with reason as ‘sr-waste code
type code as 1 having mismatch’
wastage source code from
SR not equal to 1 or 3 gets
rejected with reason as ‘sr-
waste code mismatch’
9 To test whether for an XY73.QHL.SORTED.SR4 SR record record with wastage As expected Pass
existing record in bpl file 68.V0 status#’D’ should not be found in bpl
the wastage status received file
from sr as ‘D” gets deleted
from BPL file
10 To test whether sr record XY73.QHL.SORTED.SR4 Sysout of the job should display As expected Pass
received with wastage 68.V0 unapplied delete counter
status as ‘D” for which no
record exists in bpl file gets
accounted as unapplied
deletes in sysout
ML2WI Alternate feed testing Page 3 of 4

3 TEST LOGS

test1.JPG
1.

test2.JPG
2.

test3.JPG
3.

test4.JPG
4.

TEST5.JPG
5.

TEST6.JPG
6.
ML2WI Alternate feed testing Page 4 of 4

TEST7.JPG
7.

Test8a.JPG Test8b.JPG
8.

Test9a.JPG Test9b.JPG
9.

Test10a.JPG Test10b.JPG Test10c.JPG


10.

XDC OF TEST RUN

Xy73.qh111.xdc

S-ar putea să vă placă și